I was in Windows 10 and it told me I needed to Initialize Disk so I clicked it and now my LUKS header has been overwritten. I created my encrypted partitions in Linux with cryptsetup
command. However, I have another drive that uses the same password and keyfile as the one with the overwritten partition header, ... and I was wondering if it would be possible to backup the good partition header and use it for the one that has been overwritten since both LUKS encrypted partitions were created the same time, and with the exact same password/keyfile?
If anyone has experience in my position, I would be immensely grateful if you could point me in the right direction, or just tell me if am I screwed.
Thanks so much...
cryptsetup format
commands then they'll have different master keys. – user Feb 7 '20 at 14:38