I have an image of a linux machine with an encryptedfs (/home/.private, etc). Is it possible to export the file structure and mount it from a different linux box/VM?

link|improve this question
feedback

2 Answers

The short answer is yes.

The long answer is you need more information on what distro/version the image is of, as there are a number of different ways to create an encrypted filesystem on linux.

If it's an ubuntu system, boot it up and man ecryptfs if you get a page, then the ecryptfs-utils package is installed, in which case it's very likely that that is what was used, and you can mount the private share with mount as described on the ecryptfs manpage.

link|improve this answer
and you'll have to have the appropriate "encryption keys" – tkrabec Aug 18 '11 at 17:07
1  
tkrabec is right, if you don't have the passwords/keys, then the answer is actually a resounding NO. but the question was how to mount, not how to crack. – dgandhi360 Aug 18 '11 at 17:26
feedback

Take a look at eMount which this artice suggests will do this kind of thing.

  • Mount system partitions and virtual disks from the GUI or command line. The source can be plain or encrypted. List of supported file systems is O/S dependent. ISO images are widely supported.
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.