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

I declined to encrypt to my home drive whilst installing ubuntu.

  • Is it possible to encrypt it after installation?

  • if so, how?

share|improve this question
up vote 10 down vote accepted

Nanne post is a quite OLD :

install sudo apt-get install ecryptfs-utils

Read This How To

It's quite easy :

sudo ecryptfs-migrate-home -u USER

and follow the process.

From the link:
"This will setup the encrypted home directory for the USER and use rsync to do the migration. Critically important, USER must login before the next reboot to complete the migration. USER's randomly generated mount key is temporarily stored in memory until they login, and eCryptfs picks up the key and encrypts it with their mount passphrase."

share|improve this answer
Thanks for the link. im almost tempted just to wait for 11.04 to come out and do it then, ill be doing a fresh install anyway. – richzilla Feb 24 '11 at 16:43

It is probably something like this

  • make an encrypted filesystem
  • move your old ~user
  • copy files to encrypted system
  • mount encrypted system as ~user

Here's a manual:

share|improve this answer
who needs solutions that start with probably? – Floyd Jun 16 '12 at 8:51
people who just need a pointer in the right direction, and can find out stuff for themselves. Also, as not all system information is enclosed, it is impossible to be sure this is what the user needs. – Nanne Jun 16 '12 at 13:41

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.