Re: F20: yum update does not automatically update grub2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 24 Dec 2013 11:52:11 -0700 Chris Murphy
<lists@xxxxxxxxxxxxxxxxx> wrote:

> 
> On Dec 24, 2013, at 9:28 AM, Ranjan Maitra <maitra.mbox.ignored@xxxxxxxxx> wrote:
> 
> >> 
> >> 
> >> grub2-install --debug /dev/sda
> 
> 
> Looks good.
> 
> > 
> >> bash -x grub2-mkconfig -o /boot/grub2/grub.cfg
> 
> FYI:
> Line 79, I do not see resume= having been added to /etc/default/grub, therefore it won't be in the grub.cfg.

Thanks! I made a mistake in the /boot/grub2/grub.cfg entry. (Forgot to
actually put in resume= ... I have now fixed that and it shows in there.

> Line 127/128, it found kernel 3.12.5-302 and its initramfs.
> Line 129 only kernel 3.11.10-301 is found, this probably isn't a bootable kernel option.
> Line 130/131 is the rescue kernel and initramfs, it should work and chances are it's 3.11.10-301.
> 
> 
> > 
> >> /boot/grub2/grub.cfg  #from the above command
> 
> This looks better than the original one, the root=UUID=<uuid> is present instead of referring to root with /dev/sd3. As expected, contains working 3.12 and rescue kernel boot options. The 3.11.10 option probably ends in a kernel panic, because line 91 lacks an initrd command for this kernel entry.
> 
> I suggest you do not yum erase the 3.11.10 kernel, because that will remove all of its modules, which the rescue kernel depends on. To remove this from the grub menu, just rm -f the vmlinuz-3.11.10 kernel from the /boot directory. If you want you can also remove its config file. Then you can rerun: grub2-mkconfig -o /boot/grub2/grub.cfg and it will no longer have the 3.11.10 option, just the working 3.12.5 and rescue options.
> 
> When the next kernel update comes out, it ought to update this grub.cfg now. If not report back and we'll try to figure out what's going on.

Thanks very much! This has been an enormous help!

Booting into the 3.12.5 kernel now.

Best wishes,
Ranjan

> 
> Chris Murphy
> -- 
> 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 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!


-- 
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux