Hardy Installer: 'Attempt to mount a file system with type swap...' fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubiquity
Using the Hardy desktop live CD installer (x86) results in the message:
"The attempt to mount a file system with type swap in LVM VG raid1, LV swap at none failed"
Surely it shouldn't try to mount a swap partition?
The system is configured with four 61GB PATA disks (sda, sdb, sdc, sdd). Each is configured identically from a terminal in the Live CD environment:
/dev/sdX1 3,256MB, Linux raid autodetect (fd)
/dev/sdX2, remainder, Linux raid autodetect (fd)
mdadm is used to create two arrays:
/dev/md0, RAID-1, sda1, sdb1 sdc1, sdd1
/dev/md1, RAID-5, sda2, sdb2, sdc2, sdd2
cryptsetup is used to encrypt /dev/md1 to /dev/mapper/
LVM is used to create two physical volumes and volume groups:
VG raid1 on /dev/md0
VG raid5 on /dev/mapper/
LVM is used to create five logical volumes:
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
33GB in VG raid5 is unallocated.
Using Manual partitioning each logical volume is partitioned with a single primary partition and the appropriate file-system and mount-point is set.
When the installer beings formatting the disks, it stops with the message above and then returns to the partitioning menu of the installer.
I thought this might be related to bug #126328 "swap volume fails to mount" but that is marked as Fix Released. The issue may be caused by partman but it occurs in the context of the installer, thus I've assigned it to ubiquity until it has been triaged (Colin Watson probably knows this issue best).
It could also be related to bug #44609 " RAID not implemented (use alternate CD instead)"
I also get this message.
I have an already partitionized harddisk.
The reason was that the swap-partition was a logical and not a primary partition!
After repartitionizing the swap to primary it works.