Bug 1025561 - "root (hd1,0)" written to grub.conf during kickstart
"root (hd1,0)" written to grub.conf during kickstart
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Anaconda Maintenance Team
Release Test Team
Depends On:
  Show dependency treegraph
Reported: 2013-10-31 18:05 EDT by Thomas Spear
Modified: 2014-01-29 09:24 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-01-29 09:24:53 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Thomas Spear 2013-10-31 18:05:41 EDT
Description of problem:
During kickstart from a USB stick, if we do not remove the USB stick before the grub portion of the install takes place, the grub.conf is populated with "root (hd1,0)" instead of "root (hd0,0)" for boot entries. If we leave the USB stick inserted all the way through the install until reboot, then the superblock of the USB stick is overwritten with the GRUB install from the kickstart.

Version-Release number of selected component (if applicable):
RHEL 5.8 -- How to determine anaconda/kickstart version?

How reproducible:

Steps to Reproduce:
1. Setup a USB stick to kickstart a machine and boot the machine to the installer.
2. Remove the USB stick once the graphical installer is loaded.
3. Complete the install and reboot, and you see it boots.
4. Reinsert USB stick and reboot, re-running the kickstart.
5. Proceed through the kickstart without removing the stick and then remove it during reboot.
6. See it starts to load grub but fails.

Actual results:
Overwrites USB stick superblock, or at the very least writes to hard disk superblock, but uses incorrect root line in grub.conf if not USB stick is not removed in the early stages of configuration (IP configuration etc)

Expected results:
Should always ignore USB stick and write to superblock of hard disk, and use correct root line in grub.conf

Additional info:
I can send an image of my USB stick if necessary, and any config files needed from kickstart -- just let me know which ones are needed.
Comment 1 RHEL Product and Program Management 2014-01-29 05:33:56 EST
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.
Comment 2 Thomas Spear 2014-01-29 06:46:24 EST
Abort. We managed to fix this by changing flags in the kickstart file. Please resolve as notabug.
Comment 3 David Shea 2014-01-29 09:24:53 EST
Closing per comment 2.

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