Re: F20: yum update does not automatically update grub2

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

 



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