Step 9: Enable swap and setup key unlocking of /home
Now after the system has finished installed, start it. You will be prompted to enter the crypto password twice. Once for the root partition and then a bit later for the /home partition. Once the computer has booted up run the commands
Code:
df -l
sudo fdisk -l
You should get an output similar to this one:
Enabling swap is pretty simple. You first need to edit the crypttab:
Code:
sudo nano /etc/crypttab
and there you need to add a line like this:
Code:
cswap /dev/sda2 /dev/urandom swap
Save and close it with ctrl-x (follow the instructions) and then open
Code:
sudo nano /etc/fstab
and add this line:
Code:
/dev/mapper/cswap none swap sw 0 0
So, if you don't want to enter the password twice for unlocking the root and the home partition, follow this guide here: http://ubuntuforums.org/showthread.php?t=837416
After you set that up accordingly, you can reboot and then you will have to enter the password only once and you will also have an encrypted swap at your disposal. Enjoy!
Bookmarks