Public bug reported:

I created an encrypted swap partition (as I've done many times), but
cryptsetup, when called from /etc/init.d/cryptdisks-early fails and
stalls.

The only way to boot is to press ctrl-alt-dell at that point and it
resumes booting (without adding the swap partition).

I added a "set -x" to check where the boot process stalls and it does
after issuing:

cryptsetup -c aes-cbc-essiv:sha256 -s 256 -h sha256 --key-
file/dev/urandom create cryptoswap /dev/sda4


I tried to issue the command manually and it simply says:
"command failed"

I disabled the encrypted swap on my other machine, removed the device
from device mapper, run the same command and it run OK.

I don't know why it's not working on my notebook...


$ lsb_release -rd
Description:    Ubuntu 9.04
Release:        9.04

$ apt-cache policy cryptsetup
cryptsetup:
  Installed: 2:1.0.6-7ubuntu7
  Candidate: 2:1.0.6-7ubuntu7
  Version table:
 *** 2:1.0.6-7ubuntu7 0
        500 http://br.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

** Affects: ubuntu
     Importance: Undecided
         Status: New

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

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

Reply via email to