On Sun, 22 Dec 2013 20:14:27 +0100 Michael Schwendt mschwendt@gmail.com wrote:
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. ;-)
OK, I have downdated the kernel, run grub2-mkconfig so we should be back on the same plane as before. So how do I debug this? Thanks!
An important thing to note is that the resume=/dev/sda? parameter that I had installed previously to get my system to come back from hibernation is not updated with grub2-mkconfig. So fixing this feature is also very important.
Many thanks again!
Best wishes, Ranjan