Bug 225054 - Drive re-ordering breaks swap space partitions and screws up the initrd file.
Drive re-ordering breaks swap space partitions and screws up the initrd file.
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Jones
Depends On:
  Show dependency treegraph
Reported: 2007-01-28 02:18 EST by Michael White
Modified: 2008-02-14 08:20 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-14 08:20:53 EST
Type: ---
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 Michael White 2007-01-28 02:18:06 EST
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 08:20:53 EST
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.

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