Bug 225054

Summary: Drive re-ordering breaks swap space partitions and screws up the initrd file.
Product: [Fedora] Fedora Reporter: Michael White <michael.white>
Component: anacondaAssignee: Peter Jones <pjones>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-14 13:20:53 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 Michael White 2007-01-28 07:18:06 UTC
Description of problem:
My system has four hard drives: 3 SCSI drives and a single SATA drive.  When FC6
is identifying drives, it labels the 3 SCSI drives hda, hdb, and hdc, and labels
the SATA drive hdd.  My boot drive and my install drive is the SATA drive.  The
SCSI drives are data backup drives.

During the install of the bootloader, I must shuffle the drive order. 
Otherwise,the bootloader is loaded onto the SCSI drive (which is never booted
from).  So now, hda is the SATA, while hdb, hdc, and hdd are the SCSI drives.

Unfortunately, the installer does not propogate this data into all areas.

The installation goes off without a hitch, but upon booting up I notice I have
zero swap space.  Examining /etc/fstab, I noticed that both of my swap space
partitions are still on hdd (which, fortunately, is not automounted and only has
a single partition).  I change the partition to hda, re-boot, and now I have
swap space. I am still seeing an error, however, on each boot:

Unable to access resume device (/dev/sdd11)

Version-Release number of selected component (if applicable):
Whatever is run on the Fedora Core 6 DVD for x86_64.

How reproducible:
A system is needed that has two or more drives, with the install drive
(including swap space install) being the last drive.

Steps to Reproduce:
1. Install as normal until the bootloader screens come up.

2. Re-order the drives so the last drive is now the first drive and the install
drive for GRUB.

3. Continue on with installation.

4. On boot up, you will not have any swap space, and you will see the error I
mentioned above, even after fixing the swap space problem.
  
Actual results:
No swap space, error on bootup.

Expected results:
Swap space, no error no bootup.

Additional info:

Comment 1 Joel Andres Granados 2008-02-14 13:20:53 UTC
It been a while since hda has been used.  Please reopen the bug this behaviour
is still relevant with f8 or later versions of fedora.