Date: Tue, 5 Jan 1999 22:19:24 +0200 (SAT) From: Robert Nordier <rnordier@nordier.com> To: garbanzo@hooked.net (Alex Zepeda) Cc: mike@smith.net.au, asmodai@wxs.nl, rnordier@nordier.com, current@FreeBSD.ORG Subject: Re: Bootblocks / Bootloader Message-ID: <199901052019.WAA10760@ceia.nordier.com> In-Reply-To: <Pine.BSF.4.05.9901041430300.317-100000@zippy.dyn.ml.org> from Alex Zepeda at "Jan 4, 99 02:31:17 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Alex Zepeda wrote:
> On Sun, 3 Jan 1999, Mike Smith wrote:
>
> > That's normal; the "old" help is only displayed in "compatibility"
> > mode. Without a /boot.config, the bootblocks try to be as quiet as
> > possible. You may notice the spinner stop for a couple of seconds; if
> > you hit a key at that point, you'll drop back into "compatibility" mode
> > again.
>
> Oh cool! I was wondering about that for a while, and thought perhaps I
> still had the old boot blocks installed. How can I reduce the time that
> it stops the spinner, as I've got little or no use for compat. mode?
If you want to patch the code:
Index: boot2.c
===================================================================
RCS file: /home/ncvs/src/sys/boot/i386/boot2/boot2.c,v
retrieving revision 1.16
diff -u -r1.16 boot2.c
--- boot2.c 1998/11/08 18:37:28 1.16
+++ boot2.c 1999/01/05 20:14:59
@@ -165,7 +165,7 @@
if (autoboot && !*kname) {
if (autoboot == 2) {
memcpy(kname, PATH_BOOT3, sizeof(PATH_BOOT3));
- if (!keyhit(0x37)) {
+ if (!keyhit(0x1)) {
load(kname);
autoboot = 1;
}
but I'm looking at adding a non-interactive build option which
should invoke /boot/loader immediately, (though it would still
fall back to compat. mode if /boot/loader doesn't exist).
--
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?199901052019.WAA10760>
