I opted to encrypt my Home during install, and now I would like to access my data from a LiveCD, unfortunately I'm having trouble following these instructions. I get the error "mounting eCryptfs: [-2] No such file or directory"
I opted to encrypt my Home during install, and now I would like to access my data from a LiveCD, unfortunately I'm having trouble following these instructions. I get the error "mounting eCryptfs: [-2] No such file or directory"
Here is how you recover data from an encrypted home: (sdx should be your SATA drive)
Remember, don't close the terminal until you are done with the data if you bind it. Once you bind it you should be able to access the folder
/data-recovery
(from the LiveCD root) and pull all the data using a GUI. If the last bind does not work, you can remove the last bind and simply cp -avr everything from/home/username
to the chroot/data-recovery
and it show up in the liveCD/data-recovery
.Or you can use the
ecryptfs-recover-private
tool now included in Ubuntu 11.04:Recover your Encrypted Private Directory