On Tue, Nov 09, 2010 at 03:45:52PM +0200, Andriy Gapon wrote: > on 09/11/2010 07:26 Lars Engels said the following: > > Maybe we should also import PCBSD's patches to the beastie menu? > > In PCBSD's beastie menu you can toggle some settings like "safe mode", > > and "ACPI", so the kernel is not loaded as soon as select an option. > > > > See > > http://trac.pcbsd.org/browser/pcbsd/current/system-overlay/boot/beastie.4th > > Lars, > > not sure if I got your suggestion correctly, this is what I have in my local tree: > diff --git a/sys/boot/i386/loader/loader.rc b/sys/boot/i386/loader/loader.rc > index 6443f3f..cb2f723 100644 > --- a/sys/boot/i386/loader/loader.rc > +++ b/sys/boot/i386/loader/loader.rc > _at__at_ -5,7 +5,7 _at__at_ > include /boot/loader.4th > > \ Reads and processes loader.conf variables > -start > +initialize > > \ Tests for password -- executes autoboot first if a password was defined > check-password > > With this kernel and modules are _not_ loaded before presenting the menu. That's also an appreciated improvement, but what PCBSD does is that you can toggle several options, so when you select an option, the kernel is not loaded immediately after but you are still in the menu and can select / toggle another option. That way you have a multi-selection, e.g. select safe mode but enable acpi. Maybe we could also add a menu entry to boot without any modules, so loaders.conf gets overridden?
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC