HOWTO: Encrypt The System Manually Upon Installation (Ubuntu 8.04) - Page 4
Step 7: Set the encrypted devices upAfterwards we end in the main partitioning menu again. You can see that we have two new devices there. We need to set those up now and start with the root partition: Set the properties according to this. Make sure to select "/" as mount point. We end up again in the main partition menu and select now the home partition: Set the properties according to this. Make sure to select "/home" as mount point.
Step 8: Finish the partitionerFor the last time we are now in the partitioner main menu. Select finish partitioning and write changes to disk: You will get then a warning about swap. Just ignore it and go on: Write changes to disk and the let install continue:
Step 9: Enable swap and setup key unlocking of /homeNow 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
df -l You should get an output similar to this one: Enabling swap is pretty simple. You first need to edit the crypttab: sudo nano /etc/crypttab and there you need to add a line like this: cswap /dev/sda2 /dev/urandom swap Save and close it with ctrl-x (follow the instructions) and then open sudo nano /etc/fstab and add this line: /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://www.howtoforge.com/automatically-unlock-luks-encrypted-drives-with-a-keyfile 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!
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com













print: 
Recent comments
57 min 42 sec ago
2 hours 40 min ago
5 hours 5 min ago
5 hours 12 min ago
9 hours 46 min ago
11 hours 46 min ago
15 hours 10 min ago
17 hours 16 min ago
17 hours 27 min ago
19 hours 54 min ago