NetBSD-Bugs archive

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

Re: bin/56862: boot.cfg bug with userconf



The following reply was made to PR bin/56862; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/56862: boot.cfg bug with userconf
Date: Sun, 5 Jun 2022 20:41:03 +0300

 On Sun, Jun 05, 2022 at 13:20:00 +0000, Thomas Klausner wrote:
 
 > Looks like a bug when a bare `boot' is encountered. Work around it
 > by forcing a kernel filename:
 
 This is not a bug, this is a (mis)feature.  See PR 53128 that RVP also
 mentioned.  To quote my comment from that PR:
 
  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