I'm interested how you can setup disk-encryption for Ubuntu, with as few hassle as possible.
feedback
|
|
I just did this last week. It is really easy if you're not dual booting or anything. I went with all default settings, and my hibernate/suspend work properly with my LUKS If you don't mind reinstalling the OS, then it's super easy from the alternate install CD. You'll have to download the alternate install CD for whatever architecture (i386 or amd64, e.g. 32 bit or 64 bit) you want to install. BEGIN ASIDE If you haven't already, make sure you do so because you're about to wipe your hard drive completely. Obviously you will want to back up your home folder, and if you want a handy list of programs, you can run the command
If you want to output it to a file in your home folder, you can run
Where filename is the name of your text file. I usually call it "installed packages 20090901" or something like that. Then make sure you include that in your backup. When you restore it'll be easy to reinstall all your previously installed packages, especially if you're not changing versions. END ASIDE Anyway, here's an easy method to get full disk encryption with LUKS using the alternate install CD. 1. Download the alternate install iso for your architecture. 2. Burn the alternate CD and boot from it. 3. Choose the first menu item, "install ubuntu" and you will enter the text-based installer. It's not too different from the graphical installer - you will be prompted to give your time zone data, language/keyboard settings, etc. 4. When it comes to the part where you need to set up your partitions, you can choose the option "use entire disk with encrypted LVM" and then go with a passphrase. 5. Continue installing, setting user names, hostname, etc. 6. After you install the system and restart, the boot screen will prompt for a passphrase to decrypt. 7. Enter the correct passphrase and your system will boot normally with very little performance cost. I have been intentionally vague with this answer because I think it's very important to understand exactly what you're aiming for, why, and how you're going to accomplish your goal if you're going to be doing full disk encryption. If you need something different (keyfile instead of passphrase, dual boot, customized partitions, etc.), we can discuss that, too. | |||||||
feedback
|
|
Ubuntu offers something potentially more convenient than home-partition encryption: per-user home directory encryption. You have the option during a normal install to set up an encrypted home directory for each user, which is decrypted upon login. | |||
|
feedback
|
|
| |||
|
feedback
|
|
If you don't need a full-blown entire-disk encryption and even a per-user encryption would be too much, Cryptkeeper allows you to encrypt stuff on per-directory basis. It is very easy to setup at least in Ubuntu 10.04. Just install the Cryptkeeper package (make sure you have Universe repository enabled). Then you just launch Applications -> System Tools -> Cryptkeeper and click the keys icon which just appeared in your task bar. There you can create new encrypted folders just by clicking with your mouse. Mounting your encrypted folder happens just by again clicking on the keys icon, choosing the folder you want and entering your password. After you have finished your work, porn surfing or whatever you want to encrypt for, you can just as easily unmount your encrypted folder. | |||
|
feedback
|
