Installing Ubuntu 14.04LTS, I’ve gotten the following error:
the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present
The message is annoying, but worse, the swap partition is not encrypted.
I was able to get around this by editing the
/dev/crypttab to list the
/dev/ path to the drive instead of the UUID in the cryptswap1 entry:
# cryptswap1 UUID=2f36a43f-0d3e-4c2e-92ad-ac12603c1ff0 /dev/urandom swap,cipher=aes-cbc-essiv:sha256
was changed to:
# cryptswap1 /dev/mapper/cerf--vg-swap_1 /dev/urandom swap,cipher=aes-cbc-essiv:sha256
I still get the message, but the swap space is encrypted now.
cerf:~> sudo swapon --summary Filename Type Size Used Priority /dev/mapper/cryptswap1 partition 8314876 0 -1