A few weeks ago I encrypted an external hard drive with luks and the header bugged. I can still open the drive with my password but it shows me an empty folder. So I made a copy of the whole disk with a .dd (after opening it). And when I try to mount the .dd, same empty folder. I have a "lost+found" folder and when I do e2fsck with it I get this:
e2fsck -b 32768 'lost+found'
e2fsck 1.45.5 (07-Jan-2020)
e2fsck: Is a directory while trying to open lost+found
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
When I open the disk and do e2fsck on the device, I get this:
sudo e2fsck luks-adf42aa0-9542-416b-93b2-44e0fd12fa32
e2fsck 1.45.5 (07-Jan-2020)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open luks-adf42aa0-9542-416b-93b2-44e0fd12fa32
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
Found an atari partition table in luks-adf42aa0-9542-416b-93b2-44e0fd12fa32
Do you have any idea what to do?
Thanks a lot in advance