Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So I used this link http://punygeek.blogspot.com/2012/10/ubuntu-1204-how-to-solve-disk-drive-for.html and followed it to a "T" and it worked fine until I restarted. I will explain a little more now.

Upon reboot after doing all that, and seemingly successfully I get a message almost identical but its cryptswap2 is not ready....

This is my crypttab file:

#cryptswap1 /dev/sda5 /dev/urandom swap,cipher=aes-cbc-essiv:sha256
cryptswap2 /dev/sda3 /dev/urandom swap,cipher=aes-cbc-essiv:sha256

I commented out the original, like suggested(that was cryptswap1) but couldn't format the original sda5 to linux-swap because it said it was mounted(even though its inaccessible because it isnt formatted). So I took some unallocated space and made another partition(5gb) and made it linux-swap.

Here is my fstap file: cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # #proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sda1 during installation #UUID=e4433331-484b-4639-8dec-9c631c22f3fd / ext4 errors=remou # swap was on /dev/sda5 during installation #UUID=70d80505-2ca5-4683-b4c9-1a9db85e3e76 none swap sw #/dev/mapper/cryptswap1 none swap sw 0 0 /dev/mapper/cryptswap2 none swap sw 0 0

Here is my free -m:

             total       used       free     shared    buffers     cached
Mem:          5895       1437       4457          0         39        665
-/+ buffers/cache:        733       5162
Swap:         5122          0       5122

So its showing there is swap space, but there is nothing listed in gparted for swap, and im still getting the boot message saying its not ready...

What am I doing wrong, or what can I do to fix this.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.