update grub2

Chris Murphy lists at colorremedies.com
Sun May 18 20:19:57 UTC 2014


On May 18, 2014, at 10:14 AM, Tom Horsley <horsley1953 at gmail.com> wrote:

> On Sun, 18 May 2014 18:09:32 +0200
> Patrick Dupre wrote:
> 
>> How does it get this information?
> 
> I always thought grubby just copied the entry for the
> current kernel and replaced the vmlinuz and initrd
> with the new names it just installed, but it may be
> more complicated than that.

Check the grubby source code if you're brave. It has a bunch of test cases built into it. But I don't at all understand the reason why Red Hat / Fedora depend on it and no other distribution does, they just regenerate the grub.cfg after a kernel update. Grubby's fussiness came up a lot during the grub2 transition because the syntax was constantly changing in the grub.cfg format, and this would trip up grubby. And it also is presently incompatible with Btrfs subvolumes (Gene Czarcinski has patches submitted to upstream and there are test builds of this version of grubby somewhere in the Fedora build system).


Chris Murphy


More information about the users mailing list