On Sun, 22 Dec 2013 22:47:05 +0100 Michael Schwendt <mschwendt@xxxxxxxxx> wrote: > 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 $? OK, thanks! I am not sure I understood this correctly, but here is what I did: sudo yum update -y (this brings back the new kernel and installs it). 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 $? So, this appears to match whatever you have written above. Now what should I do? > > 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. So, add this resume=/dev/sda2 to the stuff on GRUB_CMDLINE_LINUX ? Any way to do this without the hardcoding for resume? Thanks again! This perhaps needs also to be added onto the heplful bug report in: https://bugzilla.redhat.com/show_bug.cgi?id=948177 ? Thanks again! Ranjan > # file /etc/grub2.cfg > /etc/grub2.cfg: symbolic link to `../boot/grub2/grub.cfg' > -- > 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 -- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses. ____________________________________________________________ GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails -- 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