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 have a HDD with Linux Ubuntu partition but with no Linux only Win7. I found a solution how to access and save my ext2 Linux files in Windows. I downloaded DiskInternals Linux reader. It accesses my Home folder but encrypted with Private 'ecryptfs'. I don't really know what it is? I cannot see my files. My questions: If I save this home folder under Windows. Will I be able to mount and access it under a new installed Ubuntu?

share|improve this question
    
    
@bodhi.zazen That's about accessing it from Windows... –  gertvdijk Jul 8 '13 at 18:46
    
OK, thanks. I guess I mis-read the question. Why not simply access the data with a live desktop CD ? Why are we using windows here ? –  bodhi.zazen Jul 8 '13 at 18:51
1  
When you say Ubuntu Live Cd. Is it when you boot Ubuntu and click "Try Ubuntu", because I tried that way but it says I don't have permission to access Home folder. –  Janos Fejos Jul 9 '13 at 1:25
add comment

1 Answer 1

With ecryptfs your files are not actually in /home/janos but in subdirectories under /home/.ecryptfs/janos (assuming your username is janos).

Make sure you safe anything in this subdirectory! Those files are also visible under Windows (though the filenames are garbled because of the encryption).

Considering this detail the answer is positive: You will be able to use these files in a newly installed Ubuntu.

It might become necessary to adjust the userid and permissions after replaying the backup (as Windows cannot store those natively) but the encrypted content is not damaged by backing up the encrypted files in Windows. Also no files outside of the /home/.ecryptfs directory are vital to the encryption.

Just make sure you configure your newly installed Ubuntu for using encrypted homes and just to be sure see to it, that the user in the new installation uses the same password as in the previous one.

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.