Bug 1025561 - "root (hd1,0)" written to grub.conf during kickstart
Summary: "root (hd1,0)" written to grub.conf during kickstart
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda
Version: 5.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-31 22:05 UTC by Thomas Spear
Modified: 2014-01-29 14:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-29 14:24:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thomas Spear 2013-10-31 22:05:41 UTC
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:
100%

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 Program Management 2014-01-29 10:33:56 UTC
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 11:46:24 UTC
Abort. We managed to fix this by changing flags in the kickstart file. Please resolve as notabug.

Comment 3 David Shea 2014-01-29 14:24:53 UTC
Closing per comment 2.


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