wangchenxicool

博客园 首页 联系 管理
LinuxMint是一份基于Ubuntu的发行,其目标是提供一种更完整的即刻可用体验,这包括提供浏览器插件、多媒体编解码器、对DVD播放的支持、Java和其他组件.它与Ubuntu软件仓库兼容.新版本基于Ubuntu 9.10,修复大量bug并作出许多改进。改进的部分包括菜单系统、应用程序管理器、上传管理器等。
今天一开机,Mint 就黑屏,显示:
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:~#


后来查了一下,据说这是 an odd issue that rarely happens,不过解决方法也很简单:
首先列出 linux 的分区:

#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


可以看到 Linux 分区在 /dev/sda8 和 /dev/sda9 ,然后用下面的命令修复:

1 fsck.ext4 /dev/sda8  
2 fsck.ext4 /dev/sda9
注意这是针对 ext4 文件系统的。
 
查看文件系统方法:
parted   ,然后执行p(即print)

 

posted on 2011-08-30 21:13  wangchenxicool  阅读(581)  评论(0编辑  收藏  举报