Instead of explicitly specifying a kernel name, ommit to allow the bootloader to iterate

through the list of kernel names it is configured to try. This way there is
fallback if /netbsd is not present. netbsd is the first name to be tried anyway.
Issue brought up on tech-kern@ by Patrick Welche <prlw1 AT cam ac uk> where a system
without /netbsd hung on boot.
Suggestion by rudolf <netbsd AT eq cz>
https://mail-index.netbsd.org/tech-kern/2018/02/16/msg023122.html
This commit is contained in:
sevan 2018-03-02 00:25:26 +00:00
parent e552812a73
commit 4696d4d244
2 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
menu=Boot normally:rndseed /var/db/entropy-file;boot netbsd
menu=Boot single user:rndseed /var/db/entropy-file;boot netbsd -s
menu=Disable ACPI:rndseed /var/db/entropy-file;boot netbsd -2
menu=Disable ACPI and SMP:rndseed /var/db/entropy-file;boot netbsd -12
menu=Boot normally:rndseed /var/db/entropy-file;boot
menu=Boot single user:rndseed /var/db/entropy-file;boot -s
menu=Disable ACPI:rndseed /var/db/entropy-file;boot -2
menu=Disable ACPI and SMP:rndseed /var/db/entropy-file;boot -12
menu=Drop to boot prompt:prompt
default=1
timeout=5

View File

@ -1,7 +1,7 @@
menu=Boot normally:rndseed /var/db/entropy-file;boot netbsd
menu=Boot single user:rndseed /var/db/entropy-file;boot netbsd -s
menu=Disable ACPI:rndseed /var/db/entropy-file;boot netbsd -2
menu=Disable ACPI and SMP:rndseed /var/db/entropy-file;boot netbsd -12
menu=Boot normally:rndseed /var/db/entropy-file;boot
menu=Boot single user:rndseed /var/db/entropy-file;boot -s
menu=Disable ACPI:rndseed /var/db/entropy-file;boot -2
menu=Disable ACPI and SMP:rndseed /var/db/entropy-file;boot -12
menu=Drop to boot prompt:prompt
default=1
timeout=5