I just accidentally overwrote the LUKS metadata of my volume with a new LVM header. I have copy of the original LUKS header but can't find it. Just in case, I made a dd image of the first 10MB of the now corrupt volume on a thumb drive.

My question is: is it still possible to recover the LUKS header? In particular, if I run 'cryptsetup luksFormat' with the same passphrase, key length, etc., will I see the old data? Is there any salting involved and can I specify the salt, too?

I guess if sizeof(lvm2 header) < position\_of\_salt\_in\_LUKS\_header, I might be able to fix things. Could someone please point me to the relevant headers?

Did I totally bite it, or is there any slim chance...?