Ubuntu:mount of filesystem failed
今天一开机,Mint 就黑屏,显示:
mount of filesystem failed a maintenance shell will now be started. Control-D will terminate this shell and re-try root@mint:~#
后来查了一下,据说这是 an odd issue that rarely happens,不过解决方法也很简单:
首先列出 linux 的分区:
fdisk -l
我的输出是这样的:
Disk /dev/sda: 80.0 GB, 80032038912 bytes 255 heads, 63 sectors/track, 9730 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xcf62cf62 Device Boot Start End Blocks Id System /dev/sda1 * 1 2805 22531131 7 HPFS/NTFS /dev/sda2 2806 9730 55625062+ f W95 Ext'd (LBA) /dev/sda5 2806 5355 20482843+ 7 HPFS/NTFS /dev/sda6 5356 8160 22531131 7 HPFS/NTFS /dev/sda7 8161 8344 1477948+ 82 Linux swap / Solaris /dev/sda8 8345 9001 5277321 83 Linux /dev/sda9 9002 9730 5855661 83 Linux
可以看到 Linux 分区在 /dev/sda8 和 /dev/sda9 ,然后用下面的命令修复:
fsck.ext4 /dev/sda8 fsck.ext4 /dev/sda9
注意这是针对 ext4 文件系统的。
Related posts:
评论