Date: Sat, 30 Jan 1999 10:47:09 +0200 (SAT) From: Robert Nordier <rnordier@nordier.com> To: dcs@newsguy.com (Daniel C. Sobral) Cc: freebsd-current@FreeBSD.ORG Subject: Re: Reading a text file with BTX Message-ID: <199901300847.KAA00258@ceia.nordier.com> In-Reply-To: <36B19501.B55A19D0@newsguy.com> from "Daniel C. Sobral" at "Jan 29, 99 08:01:21 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901300847.KAA00258>
