i just finished to install ubuntu 13.10 on my computer, is the first time that i use ubuntu, i tried to installing this operating system in the best way, i mean, i have installed ubuntu carefully (this because im a nob and i wanted to prevent any errors) i think that my ubuntu was installed properly but i still have a question, when i start my computer, and after that the ubuntu's logo fades away appears this message: "the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present" then appears the login screen and when i enter my password i go to my desktop, the question i have is: this is normal? what is what i have to do to solve this? i have to reinstall my operating system (i dont want to do that =S)?

marked as duplicate by Maythux, Mitch Mar 10 '14 at 11:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


This error comes up when your swap partition cannot be mounted for some reason.

To solve the error:

Turns off swap:

sudo swapoff -a 

comment existing swap configuration in /etc/crypttab

cryptswap1 /dev/sdXX /dev/urandom swap,cipher=aes-cbc-essiv:sha256

comment existing swap configuration in /etc/fstab

/dev/mapper/cryptswap1 none swap sw 0 0

re-format swap partition with gparted as linux-swap

sudo mkswap /dev/sdXX 

mark somewhere the UUID value that the previous command returns

Setting up swapspace version 1, size = 4208636 KiB no label, UUID=06a9be15-d05b-466d-bfe3-a086bb9cdba0 update /etc/initramfs-tools/conf.d/resume with the new UUID

Check your new UUID

sudo update-initramfs -u (update initramfs)
sudo swapon /dev/sdXX (enable swap, XX depends on your setup)
sudo ecryptfs-setup-swap (encrypt swap)

source and more information

Not the answer you're looking for? Browse other questions tagged or ask your own question.