F20: yum update does not automatically update grub2
Michael Schwendt
mschwendt at gmail.com
Tue Dec 24 17:53:26 UTC 2013
On Tue, 24 Dec 2013 10:28:37 -0600, Ranjan Maitra wrote:
> > bash -x grub2-mkconfig -o /boot/grub2/grub.cfg
>
> Uploading (8.6KiB)...
> http://ur1.ca/g93u5 -> http://paste.fedoraproject.org/64214/02391138
So, the initrd for the F20 release kernel 3.11.10-301.fc20 is missing
here, too:
+ echo '### BEGIN /etc/grub.d/10_linux ###'
+ /etc/grub.d/10_linux
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
+ echo '### END /etc/grub.d/10_linux ###'
Have you ever booted with that kernel after installing F20?
Probably not. ;)
Everything related to updating grub.cfg should work normally for the
next kernel update.
Once you've booted to the latest kernel, you could erase the previous
kernel with "yum remove kernel-3.11.10-301.fc20" or generate the missing
initrd for it as a fallback:
$ su -
# dracut /boot/initramfs-3.11.10-301.fc20.x86_64.img 3.11.10-301.fc20.x86_64
More information about the users
mailing list