setting up encrypted swap partition fails

Bug #545356 reported by hvoss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: debian-installer

Installing (K)Ubuntu 10.04 (Lucid Lynx) Beta 1 from Alternate CD, you can not set up an encrypted swap partition.

To reproduce this bug:
- boot from Lucid Alternate CD
- at "Partition disks", choose "Partitioning method:" "Manual"
- setup your /-Partition
- select your swap partition
- select for your swap-partition: "Use as:" "physical volume for encryption"
- change "Encryption key" from "Passphrase" to "Random key"
- select "Done setting up the partition"
- select "Configure encrypted volumes" and confirm "Write the changes to disk" with "Yes"
- select "Finish"
- select your "Encrypted Volume" and check that it is set to be "Swap"
- select "Finish partitioning and write changes to disk"
- when you are asked "Write the changes to disk?", select "Yes"

The installer ("Partition disks") will tell you something like: "The attempt to mount a file system with type swap in Encrypted volume (sda6_crypt) at none failed.
You may resume partitioning from the partitioning menu.
Do you want to resume partitioning?".

After you select "No", the following error message occurs:
"[!!] Partition disks
Installation step failed
An installation step failed. You can try to run the failing item
again from the menu, or skip it and choose something else. The
failing step is: Partition disks.
<Continue>"

This error did occur in Lucid Beta 1 for the first time, as far as I remember it did not occur in Lucid Alpha 3.

I think that this bug is not a dublicate of https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/539324 because #539324 affects logical LVM volumes only.

Revision history for this message
Colin Watson (cjwatson) wrote :

I think it's almost certainly the same bug, actually. We can keep it separate if you insist but the cause looks the same to me.

Revision history for this message
hvoss (hvoss) wrote :

I don't insist.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.