why is gurb-menu hidden as default?

Adam Williamson awilliam at redhat.com
Fri May 25 16:38:01 UTC 2012


On Fri, 2012-05-25 at 11:35 -0400, Peter Jones wrote:
> Matthew said:
> > Add a byte to the grub config block (wherever setdefault gets written) 
> > indicating whether a boot was clean or not. Have grub set clear that at 
> > kernel load, and then have a userspace app that sets it at the 
> > completion of boot. Check whether it's set or not on next boot and use 
> > that to run a different config stanza.
> 
> With this in mind, I'm sending the following patch for grub2 upstream.  It
> implements something analogous to this for UEFI systems.  With this, a
> change to how we generate grub2 configuration files (just adding a call),
> and small amount of userland hacking, we can effectively cause the bootloader
> to use a large timeout when the previous boot has failed.

Since this is an old thread I forget who's said what, but I'm guessing
you know Ubuntu implements something similar for BIOS boots? I don't
know if they've submitted it upstream.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net



More information about the devel mailing list