Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Ubuntu 12.04 on a fresh partition and my old Ubuntu 10.10 has my home directory encrypted. I was wondering if I can mount this home directory as /home/myoldhome in to new install whenever I use it in RW mode.

I already referred Trying to mount old encrypted home and was able to use ecryptfs-recover-private utility to mount my home directory to /tmp/ecryptfs.xxxx. But this would not help me to access the data in R/w mode and to mount in subsequent boots to 12.04 automatically. Moving the data to new home directory is not an option since I do not have enough hard disk space in the new partition.

By following, the answer 1 from rausch, I could mount the filesystem, but all the files/directories are shown as ECRYPTFS_FNEK_ENCRYPTED.xxxx.xxxx.

So is it possible to mount the encrypted home directory in read/write mode and make an entry to /etc/fstab to automatically mount it every time I boot in to 12.04 ?

share|improve this question
add comment

1 Answer

I checked the man page on ecrypt-recover-private and it has two optional arguments, one of which is --rw which allows you to read and write.

share|improve this answer
add comment

Your Answer

 
discard

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.