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

Tom H tomh0665 at gmail.com
Mon Oct 10 16:28:45 UTC 2011


On Sun, Oct 9, 2011 at 9:43 AM, Tom Horsley <horsley1953 at gmail.com> wrote:
>
> The comment in /boot/grub2/grub.cfg says it was generated
> by grub2-mkconfig, but if you run grub2-mkconfig, you
> get a file radically different than the one just created
> by (for instance) installing a new kernel.
>
> Could the comment perhaps be made a little more explicit?
> Give the full command line perhaps?
>
> Differences I see are in things like the definition of the
> load_video function, in the titles for the menu entries, etc.

Anaconda seems to run grub2-mkconfig, whereas new kernels run grubby -
and they have different menu entry formats.

I noticed a few weeks a go that load_video was just "true" but the
next time that I checked it was back to the default four insmods.


More information about the test mailing list