Red Hat Bugzilla – Bug 167249
"error enabling swap device" on install (w/no swap configured)
Last modified: 2008-08-02 19:40:35 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5
Description of problem:
Running stock FC4 install on Thinkpad R40. 4 Primary paritions: ntfs (winxp), fat32 (scratch), Solaris, Linux ext3. The Linux partition has no prior installation, it was created with System Commander. Solaris Nevada build 20 is installed in the Solaris paritition - ID 0xBF.
Disk druid sees the Solaris partition as swap, regardless of its ID. I have tried BF, C, 7, and of course 82.
I tell the installer to format the existing 83 partition as root, ext3, and _do not_ select the "swap" partition for formatting. I do not get a warning about no swap file. When installation begins, it immediately stops with "error enabling swap device hda3".
It seems insane that the installer identifies the Solaris partition as swap regardless of its ID. Also insane that it tries to format/enable (???) it when it is not selected for formatting.
I have built _many_ of these multiboot machines and never run into this before. It is just possible that I have always installed RedHat/Fedore before Solaris, though.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Could you please attach the output of:
parted /dev/hda p
Substitute your device in place of /dev/hda, of course.
Created attachment 118618 [details]
parted & fdisk output
Hmmm, my comments didn't go w/the attachment...
Thanks for following up on this. As you can see, the Solaris ID isn't 82, but
parted (and anaconda/disk druid) still see it as swap. IIRC, AF is the "hidden"
version of BF - the new Solaris ID. System Commander is trying to hide other
partitions when booting Linux. Disk druid also saw it as swap when the ID was
BF, and 07, and 0C, and ...
As I said earlier, IMNSO, it shouldn't have tried to enable it regardless of ID
since I had not selected it for formatting.
Looks to me like parted needs to be taught about the 0xaf partition type. I'll
do some testing on this.
Fair enough, but why does disk druid see the partition as swap when I change the
ID to 07? For that matter, why does it try to use it when I don't enable swap
This report targets the FC3 or FC4 products, which have now been EOL'd.
Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?