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

Is there a way to do full disk encryption after the install?

I have Ubuntu 11.10 installed with /home encrypted but really need the whole drive encrypted. I would really like to do that with out a re-install. Is there anyway to do that?

share|improve this question
Possible duplicate of Enable disk encryption after installation – amc Jul 12 at 18:15

No. Part of full disk encryption, Truecrypt or otherwise, is writing random data to the hard drive.

Best you could do (without a re-install) would be to migrate your home to encryption or make a encrypted data partition. You could use Truecrypt or LUKS (I personally use LUKS).

share|improve this answer
"writing random data to the hard drive" - this is totally optional and not the root cause for marking this not possible. One could change the initramfs configuration, crypttab, fstab, make a separate /boot partition, copy everything over to a new encrypted volume. It's hard, though. I would re-install everything copy data back as well. – gertvdijk Dec 18 '12 at 12:16

LUKS in-place encryption exists. But you need to set up your environment a little as per the pictures:

enter image description here

enter image description here

enter image description here

(Also see this question)

share|improve this answer

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.