Bug 70844

Summary: install generated invalid grub.conf
Product: [Retired] Red Hat Public Beta Reporter: Jay Berkenbilt <ejb>
Component: anacondaAssignee: Michael Fulbright <msf>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: limboCC: ejb
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-06 01:17:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jay Berkenbilt 2002-08-06 01:17:44 UTC
Note: I did a search for this and was astonished not to find any bugs reported
on anaconda in limbo.  I hope I did the correct search.

Description of Problem:

I did a from-scratch install with root /dev/hda7.  I have regular RedHat 7.3
also installed on this machine with root on /dev/hda2, and /dev/hda2 already has
the label /.  /dev/hda7 was labelled /1 (which is fine).  I told the installer
to install grub on /dev/hda7 (rather than /dev/hda) which it did correctly.  The
/boot/grub/grub.conf that it generated contains this line:

	kernel /boot/vmlinuz-2.4.18-7.80 ro hdd=ide-scsi root=LABEL=/1

which is wrong.  The kernel doesn't like root=LABEL=/1.  root=/dev/hda7 would
correct.  Presumably this string came from the same source that was used for
generating /etc/fstab, but I should refrain from idle speculation in this bug
report.

I am otherwise able to boot fine by editing this line to change root=LABEL=/1 to
root=/dev/hda7.

Version-Release number of selected component (if applicable):

limbo 7.3.93
grub-0.92.4

How Reproducible:

unknown

Steps to Reproduce:

I don't really know, but I described my configuration above: from scratch
install onto an unused partition with another partition on the system already
labelled as /, instruct grub (using advanced options in the installer) to
install grub on the root device instead of the master boot record.

Actual Results:

grub.conf generated the invalid root=LABEL=/1 kernel parameter.

Expected Results:

grub.conf should have had root=/dev/hda7 as an argument rather than root=LABEL=/1.

Comment 1 Jay Berkenbilt 2002-08-06 01:21:52 UTC
Oops -- sorry about this.  The booting problem I had was not related to this. 
This bug report is wrong.  Just ignore it.