Nathan Coulson conathan at
Mon Jul 18 21:00:15 PDT 2011

On Mon, Jul 18, 2011 at 8:03 PM, Kevin Buckley
<kevin.m.buckley at> wrote:
> On 21 June 2011 11:17, Bruce Dubbs <bruce.dubbs at> wrote:
>> I have updated the book for grub-1.99.  I rewrote the section
>> 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

There was a recent thread about moving away from grub-mkconfig (which
is what we did).

Nathan Coulson (conathan)
Location: British Columbia, Canada
Timezone: PST (-8)

More information about the lfs-dev mailing list