You are not logged in.

#1 2017-05-09 12:15:20

Marvix
Member
Registered: 2013-10-08
Posts: 157

Recover deleted partition with LUKS encryption

I made a very stupid mistake and I deleted an encrypted with LUKS partition to install on it a distro without encryption. After the installation I remembered that I didn't make a backup for two important files.

I don't know about this and I'm asking your counsels on this if there is a way to recover the deleted partition.

Thank you.

Offline

#2 2017-05-09 13:13:27

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Recover deleted partition with LUKS encryption

Most probably all your encrypted data is gone.

Unless you manage to recover the luks header and the filesystem inside the luks encrypted partition is still readable and the location on disk of the data you want has not been overwritten. Do note all the ands, I find it very unlikely you can meet all the necessary requirements.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2017-05-10 06:27:28

hobarrera
Member
From: The Netherlands
Registered: 2011-04-12
Posts: 356
Website

Re: Recover deleted partition with LUKS encryption

Did you make a backup of the header when you created the LUKS partition (the wiki suggests you do).

If you didn't, you won't be able to recover the data. The header is at the very start of the partition, and that part is most likely overwritten. Without the header, the rest of the partition could not be decrypted, so it's all essentially garbage.

Offline

Board footer

Powered by FluxBB