Daniel C. Sobral wrote:
> Robert Nordier wrote:
> > 
> > The boot manager menu, for example
> > 
> >     F1   FreeBSD
> >     F2   UNIX
> >     F5   Drive 1
> > 
> >     Default: F1
> 
> Y'know, in my computer that F5 is "Drive 0", and the system will not
> boot unless I select it first. Selecting it, makes the OSes boot and
> F5 disappear.

Try the following patch.  You can use the utility

    http://www.freebsd.org/~rnordier/boot0inst-1.0.2.tar.gz

to install it.

Index: boot0.s
===================================================================
RCS file: /home/ncvs/src/sys/boot/i386/boot0/boot0.s,v
retrieving revision 1.6
diff -u -r1.6 boot0.s
--- boot0.s     1998/12/05 11:58:33     1.6
+++ boot0.s     1999/01/30 08:45:58
@@ -60,7 +60,8 @@
                incb1(-0xe,_di_)                # Sector number
                jmpnwi(main-LOAD+ORIGIN)        # To relocated code
 
-main:          movbr1(_dl,_FAKE,_bp_)          # Save drive number
+main:          movb $0x80,%dl                  # Set drive number
+               movbr1(_dl,_FAKE,_bp_)          # Save drive number
                callwi(putn)                    # To new line
                movwir(partbl,_bx)              # Partition table
                xorl %edx,%edx                  # Item

-- 
Robert Nordier

To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to