F20: yum update does not automatically update grub2

Michael Schwendt mschwendt at gmail.com
Sun Dec 22 19:14:27 UTC 2013


On Sun, 22 Dec 2013 08:54:54 -0600, Ranjan Maitra wrote:

> Hi,
> 
> I updated using yum last night and while the new 3.12.5 kernel was
> installed, it does not show up on grub. So, I did the following:
> 
> sudo grub2-mkconfig -o /boot/grub2/grub.cfg
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-3.12.5-302.fc20.x86_64
> Found initrd image: /boot/initramfs-3.12.5-302.fc20.x86_64.img
> Found linux image: /boot/vmlinuz-3.11.10-301.fc20.x86_64
> Found linux
> image: /boot/vmlinuz-0-rescue-26b05c2e8b5144b4b396c604c823681b Found
> initrd
> image: /boot/initramfs-0-rescue-26b05c2e8b5144b4b396c604c823681b.img
> done
> 
> What is causing this not to happen automatically when yum updates the
> kernel? What do I fix to get this issue taken care of?

Only somebody who is aware of the problem could answer that. You might
want to do some trouble-shooting to figure out what has gone wrong.
You may examine the "kernel" package scriptlets: rpm -q --scripts kernel
You may run the commands found there in an attempt at reproducing the
problem. Some are shell scripts. However, since you've overwritten your
grub.cfg file already, it could be that the problem will not be reproducible
anymore. ;-)


More information about the users mailing list