Red Hat Bugzilla – Bug 249392
Swap partition not correctly identified during upgrade install
Last modified: 2007-11-30 17:12:11 EST
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):
Steps to Reproduce:
1. Boot from installation DVD
2. Choose upgrade install
Swap partitions should be detected using their labels.
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.