How to recover bad encripted directory

Posted by Fato Alessandro on Ask Ubuntu See other posts from Ask Ubuntu or by Fato Alessandro
Published on 2012-06-28T08:14:30Z Indexed on 2012/06/28 9:23 UTC
Read the original article Hit count: 293

Filed under:

I had a problem while formatting Ubuntu.

I tried to reinstall without formatting the home directory and with the same username. The home directory of the new installation was set to be encrypted. Then the installation went wrong because of the cd. So it really never started (stopped at coping stage). How ever Ubuntu did encrypted the home directory but probably the procedure went wrong.

By now I installed Ubuntu in another partition, tried to mount with encrypted-recovery but the mounted directory in tmp wasn't the directory I had before. There were just strange directories with coded name.

Strange fact is that the file system is not damaged: it continues to know how much data is actually stored in it. If I look with gparted or even nautilus I see 45 Gb of data present on the partition. This let me think that my data are not erased but maybe hidden.

Moreover when I tried to mount the encrypted home directory with encrypted-recovery-personal it asked me the encryption secret. I insert nothing, just pressed enter, and the password was accepted.

Is thre a method for removing my data? Maybe trying to rencrypt the directory? How could I get back to the previous documents.

Thanks to everyone

© Ask Ubuntu or respective owner

Related posts about encrypted-home