From: Thomas Veerman Date: Fri, 13 Apr 2012 13:54:31 +0000 (+0000) Subject: Provide boot option to boot into single user mode X-Git-Tag: v3.2.1~588 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch09.html?a=commitdiff_plain;h=7daa6a60548f6cdbec1f2c1a6d1f1ad95e6fa1d0;p=minix.git Provide boot option to boot into single user mode --- diff --git a/docs/UPDATING b/docs/UPDATING index 7861a08a3..3378358ed 100644 --- a/docs/UPDATING +++ b/docs/UPDATING @@ -1,3 +1,10 @@ +20120413: + Boot loader menu now has an option to boot into single user mode. To + get the menu option do: + + # cp /usr/src/etc/boot.cfg.default /etc + # update_bootcfg + 20120402: an installed genassym is required to build the kernel: # make -C usr.bin/genassym install diff --git a/etc/boot.cfg.default b/etc/boot.cfg.default index c913dc0a8..25113d6ca 100644 --- a/etc/boot.cfg.default +++ b/etc/boot.cfg.default @@ -3,4 +3,5 @@ timeout=5 default=2 menu=Start MINIX 3:load_mods /boot/minix_default/mod*;multiboot /boot/minix_default/kernel rootdevname=$rootdevname menu=Start latest MINIX 3:load_mods /boot/minix_latest/mod*;multiboot /boot/minix_latest/kernel rootdevname=$rootdevname +menu=Start latest MINIX 3 in single user mode:load_mods /boot/minix_latest/mod*;multiboot /boot/minix_latest/kernel rootdevname=$rootdevname bootopts=-s menu=Drop to boot prompt:prompt