今天vmware裡面ubuntu9.10一開機, 就黑屏,顯示:
1 mount of filesystem failed
2 a maintenance shell will now be started.
3 Control-D will terminate this shell and re-try
4 root@mint:~#
解決方案也很簡單:
1 fdisk -l
01 Disk /dev/sda: 80.0 GB, 80032038912 bytes
02 255 heads, 63 sectors/track, 9730 cylinders
03 Units = cylinders of 16065 * 512 = 8225280 bytes
04 Disk identifier: 0xcf62cf62
05
06 Device Boot Start End Blocks Id System
07 /dev/sda1 * 1 2805 22531131 7 HPFS/NTFS
08 /dev/sda2 2806 9730 55625062+ f W95 Ext'd (LBA)
09 /dev/sda5 2806 5355 20482843+ 7 HPFS/NTFS
10 /dev/sda6 5356 8160 22531131 7 HPFS/NTFS
11 /dev/sda7 8161 8344 1477948+ 82 Linux swap / Solaris
12 /dev/sda8 8345 9001 5277321 83 Linux
13 /dev/sda9 9002 9730 5855661 83 Linux
2.
可以看到 Linux 分區在 /dev/sda8 和 /dev/sda9 ,然後用下面的命令修複:
1 fsck.ext4 /dev/sda8
2 fsck.ext4 /dev/sda9
注意這是針對 ext4 檔案系統的。