Bug 692365

Summary: Order of the grub not respected after a kernel update
Product: [Fedora] Fedora Reporter: Fabien Archambault <marbolangos>
Component: grubAssignee: Peter Jones <pjones>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: jonathan, lkundrak, madhu.chinakonda, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 18:03:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Fabien Archambault 2011-03-31 06:58:01 UTC
Description of problem: after each kernel update the order in my grub is not respected. I have a triple boot using Seven, F14 and F15.

Version-Release number of selected component (if applicable): grub-0.97-71.fc15.x86_64


How reproducible: always


Steps to Reproduce:
1. Update kernel
2. cat /etc/grub.conf
3.
  
Actual results:
Before update. I had 3 kernels for my Rawhide entry but I did not saved the exact state:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,5)
#          kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-LogVol00
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.11-83.fc14.x86_64)
	root (hd0,2)
	kernel /vmlinuz-2.6.35.11-83.fc14.x86_64 ro root=/dev/mapper/vg_fedoraport-LogVol01 rd_LVM_LV=vg_fedoraport/LogVol01 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rhgb quiet nouveau.modeset=0 rdblacklist=nouveau
	initrd /initramfs-2.6.35.11-83.fc14.x86_64.img
title Fedora (2.6.35.6-45.fc14.x86_64)
	root (hd0,2)
	kernel /vmlinuz-2.6.35.6-45.fc14.x86_64 ro root=/dev/mapper/vg_fedoraport-LogVol01 rd_LVM_LV=vg_fedoraport/LogVol01 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.35.6-45.fc14.x86_64.img
title Rawhide (2.6.38.2-8.fc15.x86_64)
	root (hd0,5)
	kernel /vmlinuz-2.6.38.2-8.fc15.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_LVM_LV=VolGroup/LogVol00 rd_LVM_LV=VolGroup/LogVol02 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.38.2-8.fc15.x86_64.img
title Rawhide (2.6.38.1-6.fc15.x86_64)
	root (hd0,5)
	kernel /vmlinuz-2.6.38.1-6.fc15.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_LVM_LV=VolGroup/LogVol00 rd_LVM_LV=VolGroup/LogVol02 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.38.1-6.fc15.x86_64.img
title Rawhide (xxx)
	root (hd0,5)
	kernel /vmlinuz-xxx.fc15.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_LVM_LV=VolGroup/LogVol00 rd_LVM_LV=VolGroup/LogVol02 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-xxx.fc15.x86_64.img
title Seven
	rootnoverify (hd0,0)
	chainloader +1

After update kernel of F15:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,5)
#          kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-LogVol00
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.38.2-9.fc15.x86_64)
	root (hd0,5)
	kernel /vmlinuz-2.6.38.2-9.fc15.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_LVM_LV=VolGroup/LogVol00 rd_LVM_LV=VolGroup/LogVol02 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.38.2-9.fc15.x86_64.img
title Fedora (2.6.35.11-83.fc14.x86_64)
	root (hd0,2)
	kernel /vmlinuz-2.6.35.11-83.fc14.x86_64 ro root=/dev/mapper/vg_fedoraport-LogVol01 rd_LVM_LV=vg_fedoraport/LogVol01 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rhgb quiet nouveau.modeset=0 rdblacklist=nouveau
	initrd /initramfs-2.6.35.11-83.fc14.x86_64.img
title Fedora (2.6.35.6-45.fc14.x86_64)
	root (hd0,2)
	kernel /vmlinuz-2.6.35.6-45.fc14.x86_64 ro root=/dev/mapper/vg_fedoraport-LogVol01 rd_LVM_LV=vg_fedoraport/LogVol01 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.35.6-45.fc14.x86_64.img
title Rawhide (2.6.38.2-8.fc15.x86_64)
	root (hd0,5)
	kernel /vmlinuz-2.6.38.2-8.fc15.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_LVM_LV=VolGroup/LogVol00 rd_LVM_LV=VolGroup/LogVol02 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.38.2-8.fc15.x86_64.img
title Rawhide (2.6.38.1-6.fc15.x86_64)
	root (hd0,5)
	kernel /vmlinuz-2.6.38.1-6.fc15.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_LVM_LV=VolGroup/LogVol00 rd_LVM_LV=VolGroup/LogVol02 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.38.1-6.fc15.x86_64.img
title Seven
	rootnoverify (hd0,0)
	chainloader +1


Expected results:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,5)
#          kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-LogVol00
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.11-83.fc14.x86_64)
	root (hd0,2)
	kernel /vmlinuz-2.6.35.11-83.fc14.x86_64 ro root=/dev/mapper/vg_fedoraport-LogVol01 rd_LVM_LV=vg_fedoraport/LogVol01 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rhgb quiet nouveau.modeset=0 rdblacklist=nouveau
	initrd /initramfs-2.6.35.11-83.fc14.x86_64.img
title Fedora (2.6.35.6-45.fc14.x86_64)
	root (hd0,2)
	kernel /vmlinuz-2.6.35.6-45.fc14.x86_64 ro root=/dev/mapper/vg_fedoraport-LogVol01 rd_LVM_LV=vg_fedoraport/LogVol01 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.35.6-45.fc14.x86_64.img
title Rawhide (2.6.38.2-9.fc15.x86_64)
	root (hd0,5)
	kernel /vmlinuz-2.6.38.2-9.fc15.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_LVM_LV=VolGroup/LogVol00 rd_LVM_LV=VolGroup/LogVol02 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.38.2-9.fc15.x86_64.img
title Rawhide (2.6.38.2-8.fc15.x86_64)
	root (hd0,5)
	kernel /vmlinuz-2.6.38.2-8.fc15.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_LVM_LV=VolGroup/LogVol00 rd_LVM_LV=VolGroup/LogVol02 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.38.2-8.fc15.x86_64.img
title Rawhide (2.6.38.1-6.fc15.x86_64)
	root (hd0,5)
	kernel /vmlinuz-2.6.38.1-6.fc15.x86_64 ro root=/dev/mapper/VolGroup-LogVol00 rd_LVM_LV=VolGroup/LogVol00 rd_LVM_LV=VolGroup/LogVol02 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
	initrd /initramfs-2.6.38.1-6.fc15.x86_64.img
title Seven
	rootnoverify (hd0,0)
	chainloader +1


Additional info: Perhaps this is due to the processes of kernel update?
I have to manually change the order. Also you can see that the name for the Rawhide is not conserved. Also perhaps an automated change as it is Fedora.

Comment 1 Fedora End Of Life 2012-08-07 18:03:03 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping