OK, how do you really update the grub2 config file?

Tom H tomh0665 at gmail.com
Mon Oct 10 17:21:42 UTC 2011


On Mon, Oct 10, 2011 at 12:50 PM, Tom Horsley <horsley1953 at gmail.com> wrote:
> On Mon, 10 Oct 2011 12:28:45 -0400 Tom H wrote:
>
>> Anaconda seems to run grub2-mkconfig, whereas new kernels run grubby -
>> and they have different menu entry formats.
>>
> And does grubby pay attention to changes made in /etc/default/grub
> I wonder? (The fact that I can't find anything like that name
> in the "strings" output for grubby probably means "nope").
>
> This seems to be begging for inconsistency and confusion.
>
> What doesn't grubby just run grub2-mkconfig when it detects
> grub2?

AFAIK/AFAICT grubby doesn't take "/etc/default/grub" into account.

Although it'd probably make more sense, I hope that grubby won't be
modified to run grub2-mkconfig because I prefer grubby menu entries
and because I like the fact that I can edit "/boot/grub2/grub.cfg" and
not have me changed over-written when a new kernel package is
installed.


More information about the test mailing list