Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After a bit of googling I still haven't managed to find a clear answer to this. If you use the guided encrypted LVM install option from the Ubuntu 11.10 Alternate cd (I think it's option 3), does it encrypt the swap partition automatically, as well as home? Leaving only the boot loader unencrypted? Or do I have to follow the various guides for older versions of Ubuntu for manually creating and encrypting swap and home partitions?

Thanks a lot!

share|improve this question

If you use the guided option , everything but /boot will be encrypted.

How it works is that you have a series of containers. First is a physical partition. Within the partition is a crypt (LUKS) container. Within the LUKS you use LVM to divide the crypt into / and swap.

If you manually partition , make sure /home is also within the LUKS crypt / LVM.

So if you manually partition, you first make a LUKS crypt. Then within the crypt you use LVM to make / , swap, and if you so desire /home, but, with LUKS it makes less sense to have a separate /home as you can not as easily preserve an encrypted /home if you re-install. It is not impossible to do, just a few steps more difficult.

share|improve this answer
Thanks a lot for the quick answer! I'll go with the guided option. – Henrik Mar 17 '12 at 15:42

Your Answer


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

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