![尝试从加密硬盘恢复信息](https://linux22.com/image/225240/%E5%B0%9D%E8%AF%95%E4%BB%8E%E5%8A%A0%E5%AF%86%E7%A1%AC%E7%9B%98%E6%81%A2%E5%A4%8D%E4%BF%A1%E6%81%AF.png)
我的主 HDD 已加密已发生故障或正在发生故障。我正在尝试从中恢复任何数据。使用 Pop_os! 获得新驱动器后!安装后,我已经能够解锁它并可以在 /dev/mapper 中看到分区。
我尝试过:
sudo mount /dev/mapper/bad_drive /mnt/test_drive/
收到:
mount: /mnt/test_drive: can't read superblock on /dev/mapper/bad_drive.
尝试过:
sudo fsck -c -v /dev/mapper/bad_drive
并收到:
fsck from util-linux 2.37.2
e2fsck 1.46.5 (30-Dec-2021)
fsck.ext2: Input/output error while trying to open /dev/mapper/bad_drive
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>
我也尝试过:
ls -l /dev/mapper/
收到:
total 0
crw------- 1 root root 10, 236 Oct 7 08:19 control
lrwxrwxrwx 1 root root 7 Oct 7 08:19 cryptswap -> ../dm-0
lrwxrwxrwx 1 root root 7 Oct 9 07:23 bad_drive -> ../dm-1
最后尝试:
sudo pvdisplay /dev/dm-1
收到:
Error reading device /dev/mapper/bad_drive at 0 length 512.
Error reading device /dev/mapper/bad_drive at 0 length 4096.
Error reading device /dev/sdc at 0 length 512.
Error reading device /dev/sdc at 0 length 4096.
Error reading device /dev/sdc1 at 0 length 4096.
Error reading device /dev/sdc2 at 0 length 4096.
Error reading device /dev/sdc3 at 0 length 4096.
Error reading device /dev/sdc4 at 0 length 4096.
Cannot use /dev/dm-1: device has a signature
Pop_Os! 附带的磁盘程序!识别驱动器,说它可能很快就会失败,允许我解锁加密分区,格式化分区(大概我没有尝试过,因为不想丢失数据,但该选项没有灰显),但我无法安装加密分区。
我尝试使用 GParted 但该程序找不到驱动器。
谁能帮我安装或修复分区以便我可以恢复数据?