Re: F20: yum update does not automatically update grub2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 23 Dec 2013 13:01:46 -0600, Ranjan Maitra wrote:

> sudo /bin/kernel-install add
> 3.12.5-302.fc20.x86_64 /boot/vmlinuz-3.12.5-302.fc20.x86_64 || exit $?
> grubby fatal error: unable to find a suitable template

Great! As expected. 

Save a backup of the current grub.cfg file. It may make sense to publish
it somewhere for others to take a look. Next would be to figure out
why "grubby" (from package "grubby") fails as above.

The C source file grubby.c says:

  /* Find a good template to use for the new kernel. An entry is
   * good if the kernel and mkinitrd exist (even if the entry
   * is going to be removed). Try and use the default entry, but
   * if that doesn't work just take the first. If we can't find one,
   * bail. */

Verify that there is an initramfs image for your installed kernels.
If not, recreate the image file. Which kernel packages are installed?
Did any of the previous kernel packages add a working entry to grub.cfg?
Do all of the entries in grub.cfg work for you except for the latest?

What happens if you return to the previous kernel by uninstalling the
latest kernel package, then run grub2-mkconfig -o /boot/grub2/grub.cfg,
then "yum update kernel"? Does it fail again?
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux