修复FAT格式USB存储设备时遭遇多类错误的技术求助
我在尝试修复一块FAT格式的USB存储设备时踩了一堆坑,各种方法试下来都没解决问题,真心求各位大佬支招:
- 首先尝试挂载设备,执行挂载操作后直接报错:
wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error.
接着用GParted工具排查,结果提示「no partition found」错误;之后我试着通过
Device > Partition Table重建分区表,但后续执行mkfs.fat和fsck的过程耗时超过1小时,至今没跑完又试了TestDisk工具,检测时发现设备根本没有分区表,尝试将未分配空间转为分区表的操作不仅耗时极长,还直接卡住冻结了
单独执行
fsck.fat /dev/sdb命令,得到的错误是:
Logical sector size is zero.
- 最后试了
fsck /dev/sdb,错误信息如下:
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdbThe 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
or
e2fs...
现在我完全卡壳了,设备里还有重要数据,有没有大佬能指点下该怎么恢复或者修复这个设备啊?
备注:内容来源于stack exchange,提问作者 Bilinmiyor

