Replacing grubby with grub2-mkconfig in kernel install process
h.reindl at thelounge.net
Sun Jun 17 07:31:50 UTC 2012
Am 17.06.2012 06:08, schrieb Ben Rosser:
> In Fedora 17, when you install grub2 and generate a fresh config file, that config is produced by grub2-mkconfig.
> However, when you install a kernel update, the kernel's entry is added to the grub2 boot menu by grubby.
> This produces messy grub boot menus. The entries added by grubby read something like "Fedora (%kernel_version)".
> grub2-mkconfig, on the other hand, only displays one "Fedora Linux" boot option and places the other kernels and
> their recovery mode environments in a submenu called "Advanced Options".
please do not, grubby is a stable piece of software over many years and
respects manual changes in the kernel line perfectly on updates and does
NOT TOUCH older kernel entries
"grub2-mkconfig" is bloatware (as grub2 at all) and does
way too much which can and will be broken sooner or later
one nice example F17:
/etc/grub.d/10_linux.save: line 25: /usr/lib/grub/grub-mkconfig_lib: file or directory not found
have fun if something is going wrong by creating the config since "grub2-mkconfig"
is re-creating the whole config file including the older entries
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the devel