Bug 249392 - Swap partition not correctly identified during upgrade install
Swap partition not correctly identified during upgrade install
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
low Severity high
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-07-24 06:42 EDT by Ralf Kleineisel
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-24 07:03:39 EDT
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 Ralf Kleineisel 2007-07-24 06:42:42 EDT
Description of problem:

I try to upgrade a FC6 box to F7 with the DVD. I boot from DVD, and after
choosing "Upgrade existing installation" (which is correctly found with root
filesystem on /dev/md3) I get the error message:

Error enabling swap device hda5: No such file or directory
The /etc/fstab on your upgrade partition does not reference a valid swap partition.
Press OK to reboot your system.

Changing to a shell with CTRL-ALT-F2 and doing "grep swap
/mnt/sysimage/etc/fstab" gives this:

LABEL=swapa    swap    swap    defaults   0 0
LABEL=swapb    swap    swap    defaults   0 0

/proc/swaps is empty.

The hard disks where the RAID partitions reside on are /dev/sda and /dev/sdb. On
FC6 they were hda and hdb. All paretition are mounted via labels.

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

How reproducible:

Steps to Reproduce:
1. Boot from installation DVD
2. Choose upgrade install
Actual results:
Doens't install.

Expected results:
Swap partitions should be detected using their labels.

Additional info:
Comment 1 Ralf Kleineisel 2007-07-24 07:03:39 EDT
OK, seems I got it.

The root filesystem was NOT detected correctly though it looked like that. It
had md2 and md3 as possible upgrade canditates. md3 was just a data partition,
no idea how that can be detected. The mounted sysimage was correct, though.

When choosing md2 for upgrading it works.

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