How to recover my encrypted Home directory
Ok - I have created a serious train wreck with my kubuntu installation and I'm hoping someone can give me some insight on how to fix it. I performed the upgrade to Lucid Beta 1, which failed. In the end, I had to do a fresh reinstall. I still have my encrypted partitions, and I know the password, but I can not get them to mount. My home directory only has a few files in it plus a .Private directory and the rest of my stuff gives me "No key available with this passphrase." when I try to mount it. Any suggestions on where to start?
pazzport, check out this thread I think the last post from the OP might solve your problem
if that did not do it this link from that thread may help at least recover your data. good luck
try puppy linux and boot the live cd and use TrueCrypt 6.3 if not installed it should be. Use the program if you have the password.
or install the same program with puppy linux and use the password.
Let's start by detemining the type of file you have. If it is a LUKS partition then you can use cryptsetup to attach a loop device.
Enter: file <filename>
and post the results
If it is an encrypted partition, then use: sudo file -s /dev/sd##
with your device, e.g. sudo file -s /dev/sda6.
ok - for jschiwal:
file -s /dev/mapper/server-home returns:
/dev/mapper/server-home: Linux rev 1.0 ext4 filesystem data, UUID=.... (needs journal recovery)(extends)(large files)(huge files)
I'll give it a try but I don't think it will help since I didn't use truecrypt to create the encryption....
I tried both of those before I posted here. The commaand
ERROR: Encrypted private directory is not setup properly
Thanks to all for the input and help......
I wanted you to use the file command on the partition itself and not how it was mapped. However, it looks like your encrypted partition was detected and mapped to /dev/mapper/server-home. Is there a corresponding /dev/dm-# device as well? Can you mount /dev/mapper/server-home?
Did you keep the partition untouched, create a backup or reformat it when you reinstalled?
Running "sudo /sbin/fdisk -l" and posting the results would help paint a fuller picture of your situation. Also the contents of the /etc/fstab file.
Ok - file -s /dev/sda results in:
/dev/sda: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200; partition 1: ID=0x8e, active, starthead 1, startsector 63,976269987 sectors; partition2: ID=0x5, starthead 254, startsector 976270112, 497953 sectors, code offset 0x63
I did a fresh install, choosing to not use the former /home partition. I can see that the home directory is there with Access-Your-Private-Data.desktop. README.txt, and other hidden files, including .ecryptfs -> /var/lib/ecryptfs/pazzport. What worries me is that the /var/lib/ecryptfs/pazzport file was wiped out with the reload, but I know the encrypted home directory is still present and intact.
I am having exactly this issue.
Installed 12.04 over 11.04, the errors are the same, the files are the same. Only difference is my user is draco not pazzport.
Please Help :( I choose to use /dev/sdb6 as /home while installing but didnt format the partition as it has personal data on it.
I do know the password but have no idea how to access the data. Trying to run ecryptfs-private-mount (as suggested in README.txt) yields the same error pazzport had.
|All times are GMT -5. The time now is 01:05 AM.|