在启动Ubuntu 14.10后,我得到了这样的日志输出
[1377286.486802] EXT4-fs(sda2):无法读取超级块
我可以login和使用机器,但我猜想有什么不对。
使用fdisk,dumpe2fs和e2fsck进行了一些诊断。
这有多糟糕,应该做什么?
sudo fdisk -l
Disk /dev/sda: 16 GiB, 17179869184 bytes, 33554432 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x71f43c62 Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 499711 497664 243M 83 Linux /dev/sda2 501758 33552383 33050626 15.8G 5 Extended /dev/sda5 501760 33552383 33050624 15.8G 8e Linux LVM Disk /dev/mapper/Ubuntu--vg-root: 11.8 GiB, 12624855040 bytes, 24657920 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/Ubuntu--vg-swap_1: 4 GiB, 4294967296 bytes, 8388608 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
sudo dumpe2fs / dev / sda2
dumpe2fs 1.42.10 (18-May-2014) dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda2 Couldn't find valid filesystem superblock.
sudo e2fsck -f / dev / sda2
e2fsck 1.42.10 (18-May-2014) e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda2 Could this be a zero-length partition?
那么,是的,你正试图挂载一个扩展分区,这是永远不会结束的 – 该分区没有文件系统。 你想要挂载什么分区?