F20: yum update does not automatically update grub2
Ranjan Maitra
maitra.mbox.ignored at inbox.com
Tue Dec 24 04:32:39 UTC 2013
On Mon, 23 Dec 2013 18:52:45 -0700 Chris Murphy
<lists at colorremedies.com> wrote:
>
> On Dec 22, 2013, at 3:04 PM, Ranjan Maitra <maitra.mbox.ignored at inbox.com> wrote:
> >
> > So, add this resume=/dev/sda2 to the stuff on GRUB_CMDLINE_LINUX ? Any
> > way to do this without the hardcoding for resume?
>
> /etc/sysconfig/grub is a link to /etc/default/grub. You should use resume=uuid=<swapuuid> and insert the blkid uuid for swap instead as /dev/sdX can change between boots and is not reliable. It's strange that your root= in grub.cfg is not using UUID as well.
Thanks very much! So I will add resume=uuid="...." (gigantic
alphanumeric number) to the GRUB_CMDLINE_LINUX? Here is what
/etc/default/grub reads currently:
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="vconsole.font=latarcyrheb-sun16
$([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param
|| :) nomodeset rhgb quiet" GRUB_DISABLE_RECOVERY="true"
Should I put this before the nomodeset?
>
> >> grubby fatal error: unable to find a suitable template
>
> This is a generic message indicating that it doesn't understand the existing grub.cfg. Can you look in /boot/grub2 and see if there is only grub.cfg or if there is also a grub.cfg.new?
No, there is not. Here is what i have in /boot/grub2:
~$ ll /boot/grub2/
total 25K
drwxrwxr-x. 2 root root 1.0K Dec 18 19:05 fonts/
drwxrwxr-x. 2 root root 9.0K Dec 22 08:51 i386-pc/
drwxrwxr-x. 2 root root 1.0K Dec 22 08:51 locale/
drwxr-xr-x. 3 root root 1.0K May 9 2012 themes/
-rw-rw-r--. 1 root root 84 Dec 18 19:05 device.map
-rw-------. 1 root root 3.6K Dec 23 13:01 grub.cfg
-rw-rw-r--. 1 root root 1.0K Dec 19 01:17 grubenv
(Not sure why I have a i386-pc..but this is an x86_64 machine.)
> If you have a grub.cfg.new with a more recent date/time than grub.cfg then this means grub2-mkconfig is failing. To get more information you can use:
>
> bash -x grub2-mkconfig
> And post those results somewhere like fpaste.
$ fpaste
bash -x grub2-mkconfig
Uploading (0.1KiB)...
http://ur1.ca/g90la -> http://paste.fedoraproject.org/64141/87859483
Thanks very much again!
Best wishes,
Ranjan
> Chris Murphy
> --
> users mailing list
> users at lists.fedoraproject.org
> 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.
____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!
More information about the users
mailing list