F20: yum update does not automatically update grub2

Chris Murphy lists at colorremedies.com
Tue Dec 24 01:52:45 UTC 2013


On Dec 22, 2013, at 3:04 PM, Ranjan Maitra <maitra.mbox.ignored at inbox.com> wrote:
> 
> So, add this resume=/dev/sda2 to the stuff on  GRUB_CMDLINE_LINUX ? Any
> way to do this without the hardcoding for resume?

/etc/sysconfig/grub is a link to /etc/default/grub. You should use resume=uuid=<swapuuid> and insert the blkid uuid for swap instead as /dev/sdX can change between boots and is not reliable. It's strange that your root= in grub.cfg is not using UUID as well.

>> grubby fatal error: unable to find a suitable template

This is a generic message indicating that it doesn't understand the existing grub.cfg. Can you look in /boot/grub2 and see if there is only grub.cfg or if there is also a grub.cfg.new? 

If you have a grub.cfg.new with a more recent date/time than grub.cfg then this means grub2-mkconfig is failing. To get more information you can use:

bash -x grub2-mkconfig

And post those results somewhere like fpaste.

Chris Murphy


More information about the users mailing list