Linux下fsck修复文件系统

*** An error occurred during the file system check.

*** Dropping you to a shell; the system will reboot

*** when you leave the shell.

Give root password for maintenance

(or type Control-D to continue):

解决方法:

 

此时输入root用户的密码,进入单用户模式。

用fsck指令来手工修复一下:

修复步骤:

执行:fdisk -l  查看硬盘信息

执行指令:fsck -y /dev/had5

 

注:had5为fdisk所查得的硬盘信息(不了解的话每个挂载分区执行一次fsck)

Linux技巧:使用Fsck命令修复损坏的分区

posted @ 2013-05-05 20:20  robotke1  阅读(734)  评论(0编辑  收藏  举报