On 21 June 2011 11:17, Bruce Dubbs <bruce.du...@gmail.com> wrote: > I have updated the book for grub-1.99. I rewrote the section > > http://www.linuxfromscratch.org/lfs/view/development/chapter08/grub.html > > with fairly extensive changes. I'd appreciate feedback. I'm leaving > the ticket open for now. > > -- Bruce
Probably beyond the scope of LFS but this bit There is a command, grub-mkconfig that can write a configuration file automatically. It uses a set of scripts in /etc/grub.d/ and will destroy any customizations that you make. is not strictly true and misses highlighting a useful finesse when using the newer GRUB and might thus be worth mentioning in BLFS. You can put a file into /etc/grub.d, which has a low number, eg 06_known_good, into which you can then put static menu entries that will then appear at the top of the dynamically created boot menu list. If you use commercial distros that re-run grub-mkconfig when they add new kernels, this is one way to make sure you keep the one you last used as the default until you're happy with any new one. If you considered using grub-mkconfig in LFS, this methodology might be a good way to instruct folk as to where to put a basic LFS boot stanza somewhere so that it will always appear, if they do want to run grub-mkconfig. Kevin -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page