This also affected my custom encrypted configuration. I see the prompt
twice, once for each encrypted volume. I can use the (M)anual option to
drop to the busybox shell, manually unlock the volumes with cryptsetup,
then exit the shell, after which mountall carries on successfully.

After remaining on Lucid until now I installed Oneiric into empty LVs,
one for "/" and another encrypted for "/var". In addition I added the
encrypted "/home".

/etc/crypttab has:

Oneiric_var /dev/mapper/Ubuntu-Oneiric_var_encrypted /media/USB/somefile.key 
luks
home /dev/mapper/Ubuntu-home /media/USB/somefile.key luks

and lvm2 and cryptsetup are installed into the new volumes and have updated the 
initrd.img.
 
/etc/fstab has:

proc            /proc           proc    nodev,noexec,nosuid 0       0
/dev/mapper/Ubuntu-Oneiric /               ext4    errors=remount-ro 0       1
/dev/mapper/Oneiric_var /var            ext4    defaults        0       2
/dev/mapper/Ubuntu-swap none            swap    sw              0       0
# /boot was on /dev/sda3 during installation
UUID=af296c2f-a6f5-4cdb-b74c-66310f169677 /boot           ext3    defaults      
  0       2
/dev/mapper/Ubuntu-usr_local /usr/local      ext3    defaults        0       2
/dev/mapper/home /home           ext3    defaults        0       2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/874774

Title:
  could not mount /dev/mapper/cryptswap1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/874774/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to