NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/53128: Boot says "default boot twice, skipping..."



The following reply was made to PR port-i386/53128; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: sevan%netbsd.org@localhost, Andreas Gustafsson <gson%gson.org@localhost>
Subject: Re: port-i386/53128: Boot says "default boot twice, skipping..."
Date: Sun, 21 Jun 2020 01:44:59 +0300

 On Mon, Aug 19, 2019 at 09:15:02 +0000, Andreas Gustafsson wrote:
 
 >  Clearly having the boot default defined recursively in terms of
 >  itself doesn't make sense, but I'm not sure what the correct
 >  behavior is - is it specified anywhere?
 
 This seems to have been introduced in:
 
 sys/arch/i386/stand/boot/boot2.c
 
 revision 1.59
 date: 2013-07-28 12:50:09 +0400;  author: he;  state: Exp;  lines: +29 -1;
 Two changes for the i386 boot loader related to the boot menu which
 can be defined in boot.cfg:
 
  * Add a "menu" command which re-displays the menu and initiates
    the timed countdown
  * Use any default command defined in boot.cfg as default args
    if the user runs "boot" with no arguments
 
 This is useful in circumstances where you e.g. need to interrupt
 the normal boot process to switch to serial console, and where
 simply "boot netbsd" is no longer sufficient (e.g. as with install
 media which needs the miniroot kernel module loaded).
 
 -uwe
 


Home | Main Index | Thread Index | Old Index