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

How do I encrypt all my hard disk and not only the home directory, so it would ask me for a password when it boots and try to mount the hard disk to start Ubuntu?

I just wanna my system be 100% secure.

share|improve this question
have you read this Q&A?… – fossfreedom Mar 2 '12 at 21:52
up vote 3 down vote accepted

You need to perform the installation with the alternate CD.

You can then perform installation into an encrypted root partition (LUKS) with or without LVM.

It is easier to use LVM as you can then use LVM to create multiple partitions (/home , swap) , but only enter a password once when you boot.

There is a full graphical walk-through here :

Would be nice if someone made such a graphical walk through on the Ubuntu wiki.

share|improve this answer
Yes i know about lvm in fact this was the reason i liked sabayon so much it helps me a lot ! – digitalcrow Mar 3 '12 at 9:13

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.