我正在跑步:
fsck -n /dev/sdb2
我得到:
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
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/sdb2
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>
有什么建议吗?分区有什么问题,我该怎么办?
根据要求提供的附加信息:
sudo fdisk -l
输出:
Device Start End Sectors Size Type
/dev/sdb1 32335872 60061695 27725824 13.2G Microsoft basic data
/dev/sdb2 2048 4095 2048 1M BIOS boot
/dev/sdb3 4096 503807 499712 244M EFI System
/dev/sdb4 503808 4610047 4106240 2G Linux filesystem
/dev/sdb5 4610048 32335871 27725824 13.2G Linux filesystem
您在
fsck
错误的分区 (sdb2) 上进行操作。sudo fdisk -l
向我们展示了以下分区是“Linux 文件系统”...以下是您应该使用的命令...
在“试用 Ubuntu”模式下启动到 Ubuntu Live DVD/USB。
打开
terminal
应用程序并输入: