复制硬盘,由于 luks 导致挂载时出错

复制硬盘,由于 luks 导致挂载时出错

几周前,我用 luks 加密了一个外部硬盘,但文件头出了问题。我仍然可以用密码打开硬盘,但它显示一个空文件夹。所以我用 .dd 复制了整个磁盘(打开后)。当我尝试挂载 .dd 时,还是空文件夹。我有一个“lost+found”文件夹,当我用它执行 e2fsck 时,我得到了这个:

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>

当我打开磁盘并在设备上执行 e2fsck 时,我得到了以下信息:

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

你知道该怎么做吗?提前谢谢

相关内容