Filesystem check failed

Filesystem check failed

今天开机突然出现下面这样的情况:

仔细搜了搜找到了解决方案:

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 的分区:

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

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

1 fsck.ext4 /dev/sda8 

2 fsck.ext4 /dev/sda9

注意这是针对 ext4 文件系统的。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值