突然我发现我的一个硬盘分区(/dev/sda5)显示为“未知驱动器”。我无法安装/检索该驱动器上的数据。也无法编辑分区。如何检索/存储驱动器?
我执行了以下操作
demo@demo-laptop:~$ sudo fsck -c /dev/sda5
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda5
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
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>
demo@demo-laptop:~$ sudo e2fsck -b 8193 /dev/sda5
e2fsck 1.41.11 (14-Mar-2010)
e2fsck: Bad magic number in super-block while trying to open /dev/sda5
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
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>
请帮帮我。提前致谢。
最佳答案
小心点。检查分区是扩展分区还是交换分区。尝试sudo fdisk -l
,它应该告诉您系统上的所有分区。
关于linux - Ubuntu:突然我发现我的一个硬盘分区(/dev/sda5)显示为 'Unknown drive',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5019639/