On Sun, 22 Dec 2013 15:26:32 -0600, Ranjan Maitra wrote:
I removed the new kernel, updated grub2-mkconfig and rebooted into the old kernel. Does this not bring it back to the old setup (before installation of the new kernel). Or if your question was if the problem is reproducible in the sense that grub does not automatically update after a yum update (or downdate) of the kernel, then the answer is yes.
Great! Then you can try running the kernel package's %posttrans scriptlet commands manually and try to determine which part fails. Here it calls the kernel-install shell script:
# rpm -q --scripts kernel|tail -2 posttrans scriptlet (using /bin/sh): /bin/kernel-install add 3.12.5-302.fc20.x86_64 /boot/vmlinuz-3.12.5-302.fc20.x86_64 || exit $?
In /etc/grub2.cfg as in:
linux /vmlinuz-3.11.10-301.fc20.x86_64 resume=/dev/sda2 root=/dev/sda3 ro vconsole.font=latarcyrheb-sun16 nomodeset rhgb quiet
Is this not the right place to have done it?
/etc/sysconfig/grub is the file to edit, since grub.cfg may be overwritten (e.g. when running grub2-mkconfig), and if you are not careful when editing the symlink, it will be replaced with a file and disconnected from its target.
# file /etc/grub2.cfg /etc/grub2.cfg: symbolic link to `../boot/grub2/grub.cfg'