crypted hdd recovery

How to use TestDisk to recover lost partition
Post Reply
Message
Author
uzumaki
Posts: 1
Joined: 31 Aug 2016, 22:01

crypted hdd recovery

#1 Post by uzumaki » 04 Sep 2016, 19:57

I was installing windows and had my encrypted hdd plugged in.
Windows installer detected it as unallocated space and without asking created 350MB NTFS partition at its beginning.
Now it can't be accessed.
I was using dm-crypt + LUKS with default settings.
The real key used for encrypting data is held somewhere in metadata and can be accessed with passphrase so I can't just decrypt the data directly.
I believe while setting up I first encrypted the whole disk then created ext4 file system underneath it.
Could you instruct me what can try to do to recover it, I don't want to mess things up more.

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3813
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: crypted hdd recovery

#2 Post by cgrenier » 05 Sep 2016, 06:19

AFAIK unless you have a backup of the output of "dmsetup table --showkeys" or a backup of the first sectors of the LUKS container, nothing can be done.

Post Reply

Who is online

Users browsing this forum: Google Adsense [Bot] and 4 guests