Re: F20: yum update does not automatically update grub2

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

 



On Mon, 23 Dec 2013 18:52:45 -0700 Chris Murphy
<lists@xxxxxxxxxxxxxxxxx> wrote:

> 
> On Dec 22, 2013, at 3:04 PM, Ranjan Maitra <maitra.mbox.ignored@xxxxxxxxx> 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@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.

____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing 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