URGENT - How to recover an encrypted partition? Need Help
I have encountered the following problem:
I have updated to Ubuntu 12.10 recently and - as I have no possibilty to burn a bootable CD/DVD - I did this by using UNetBootin over WinXP.
In order to mount the target-drive I installed UnetBootIn at the MBR of the second (external) HD.
This Disc did contain also an encrypted Partition with my Data-Backup in it.
When I finished installtion I found that both Ubuntu and WinXP show the Partition as not used, so I was
not able to mount it either.
My question now is how to recover the partition, I have learned that running dd over an encrypted partition is not a very smart thing to do.
Also I do not have enough disc-space to copy an image of the whole disc. I would have to copy that partition to another partition on the same disc. Is that possible anyway? I guess with the right offset it should work. Agree?
Any other solutions?
Is the small size shown as Luks partition, because this only is the Luks-Header? How can I acces that without mounting the disc?
I have had testdisc run over the relevant disc. This is an excerpt from the log-file:
* HPFS - NTFS 0 1 1 4851 254 63 77947317 [Primary ]
NTFS, 39 GB / 37 GiB
P Linux 4852 0 1 18238 254 63 215062155
EXT4 Large file Sparse superblock Recover, 110 GB / 102 GiB
P Linux 18239 0 1 18239 254 63 16065
LUKS 1 (Data size unknown), 8225 KB / 8032 KiB
1 * HPFS - NTFS 0 1 1 4851 254 63 77947317 [Primary ]
2 P Linux 4852 0 1 18238 254 63 215062155
3 P Linux 18239 0 1 18239 254 63 16065
So it inidcates the Luks Partition, which obviously has the wrong size.
I found this link: http://blog.miketoscano.com/?p=72
Maybe it will help. I don't have any first-hand experience with this.
Thanks for your Help ...
But I found a way.
Currently my machine is performing a hexdump search for the LuksHeader and than I should be able to loop-mount the partition in question.
Good. If it works, it might help someone else if you post what you did.
|All times are GMT -5. The time now is 02:07 AM.|