Bug 741847 - Installing older kernel causes grub menu to list wrong kernel versions
Summary: Installing older kernel causes grub menu to list wrong kernel versions
Keywords:
Status: CLOSED DUPLICATE of bug 732654
Alias: None
Product: Fedora
Classification: Fedora
Component: grubby
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-28 06:35 UTC by William Brown
Modified: 2011-11-25 16:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-11-25 16:14:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description William Brown 2011-09-28 06:35:56 UTC
Description of problem:

Installation of an older kernel causes grubby to generate a menu item like such

menuentry 'Fedora (2.6.38.6-26.rc1.fc15.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt2)'
	search --no-floppy --fs-uuid --set=root 1aff1091-9965-4c8d-9a57-12f0e36d1c98
	echo 'Loading Fedora (3.1.0-0.rc6.git0.3.fc16.x86_64)'
	linux	/vmlinuz-2.6.38.6-26.rc1.fc15.x86_64 root=UUID=dec6864b-e480-4901-898d-0c02f4eb5db4 ro  KEYTABLE=dvorak rd.md=0 rd.lvm=0 rd.dm=0 quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
	echo 'Loading initial ramdisk ...'
	initrd /initramfs-2.6.38.6-26.rc1.fc15.x86_64.img
}


Specifically note that the echo lines are incorrect. This misleads the user into believing the wrong kernel is being booted.


Steps to Reproduce:
1. Install an older kernel (rpm -ivh --force kernel-older-version)
2. View grub menu

  
Actual results:

Wrong version in echo line

Expected results:

Correct version is listed.

Comment 1 Mads Kiilerich 2011-11-25 16:14:43 UTC

*** This bug has been marked as a duplicate of bug 732654 ***


Note You need to log in before you can comment on or make changes to this bug.