[F19] More than 2 kernel entries in grub2.cfg?

Kashyap Chamarthy kashyapc at fedoraproject.org
Thu Jun 20 05:42:57 UTC 2013


Heya,

I've been using F19 for a while. For the past couple of days, I don't see grub picking up
latest kernel.

-> Kernel in use (despite rebooting, after installing newer kernels):
------
$ uname -r
3.10.0-0.rc2.git1.2.fc20.x86_64
------


-> Available kernels:
------
$ rpm -q kernel
kernel-3.10.0-0.rc2.git1.2.fc20.x86_64
kernel-3.10.0-0.rc5.git0.1.fc20.x86_64
kernel-3.10.0-0.rc6.git0.4.fc20.x86_64
------

-> I only notice 2 Kernel entries in grub2.conf: (shouldn't it be 3?)
------
$ grep menuentry /etc/grub2.cfg
if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
  menuentry_id_option=""
export menuentry_id_option
menuentry 'Fedora (3.10.0-0.rc2.git1.2.fc20.x86_64) 19 (Schrödinger’s Cat)' --class fedora
--class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-simple-21a75476-6f84-4f1b-ab92-be7c42d5b8c2' {
menuentry 'Fedora 19 Rescue 988414e5ab3a40bf886d07aa5bcf8b4b
(3.9.0-0.rc5.git1.301.fc19.x86_64)' --class fedora --class gnu-linux --class gnu --class
os $menuentry_id_option 'gnulinux-simple-21a75476-6f84-4f1b-ab92-be7c42d5b8c2' {
submenu 'Advanced options for Fedora' $menuentry_id_option
'gnulinux-advanced-21a75476-6f84-4f1b-ab92-be7c42d5b8c2' {
------


-> Version info of grub, kernel:
------
$ rpm -qa | grep -i grub
grubby-8.26-2.fc19.x86_64
grub2-tools-2.00-20.fc19.x86_64
grub2-2.00-20.fc19.x86_64
------

$ cat /etc/redhat-release
Fedora release 19 (Schrödinger’s Cat)
------


Any hints?

Meantime, I just edited grub2.cfg, added

  default="5"

and rebooted to see if it boots into latest kernels again.

--
/kashyap


More information about the test mailing list