Alternate and Server CD installer fails to create encrypted swap parition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-crypto (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
I'm running Ubuntu 8.10 and I used the Alternate Install CD for my installation on a dell e1505 laptop. I also used the server install CD for installation onto an old PC. In both cases, I chose manual partitioning and chose to create a swap partition as a physical partition. I chose to have that partition be an encrypted volume, using a random key. In both cases, the installation seemed to work without any errors. However, when looking at the amount of memory I had available after the system was running, I noticed that there was no swap being reported. I checked /etc/crypttab and it had this entry:
sda3_crypt /dev/disk/by-uuid/ /dev/urandom cipher=
As you can see, there isn't actually a uuid listed after the /dev/disk/by-uuid field. I replaced that field with /dev/sda3 in /etc/crypttab and that seems to work.
I haven't tried the desktop installer, but this at least happens with both the alternate and server install cds.
Could you please attach /var/log/ installer/ syslog and /var/log/ installer/ partman, so that I can see what the installer thought it was doing?