Bug 249392 - Swap partition not correctly identified during upgrade install
Summary: Swap partition not correctly identified during upgrade install
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda   
(Show other bugs)
Version: 7
Hardware: All Linux
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-07-24 10:42 UTC by Ralf Kleineisel
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-24 11:03:39 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Ralf Kleineisel 2007-07-24 10:42:42 UTC
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 11:03:39 UTC
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.