I plugged a HDD with a LUKS container on it into Windows and opened the Disk Manager. A dialog appeared where I clicked "Format as GPT", not knowing what I was doing. Apparently Windows wasn't able to read the existing LUKS partition and just overwrote it.
Now cryptsetup doesn't recognize the container anymore and my HDD looks like this:
Output of fdisk -l /dev/sda
:
Disk /dev/sda: 3,64 TiB, 4000787030016 bytes, 7814037168 sectorsDisk model: ST4000DM004-2CV1Units: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisklabel type: gptDisk identifier: A149A5A1-E9D1-4DA3-AE90-8EFD1DB81F44Device Start End Sectors Size Type/dev/sda1 34 32767 32734 16M Microsoft reservedPartition 1 does not start on physical sector boundary.
Is there any way to restore the container again, or do I have to say goodbye to my data?