HOME 生活记录运维/编程
作者/来源:yixinu.com
栏目:运维/编程
日期:2013-07-04 10:09:34

原因是:由于系统部分文件丢失,造成磁盘检测过不去,系统无法启动。
解决方法:
#umount  /dev/hda2
#fsck.ext3  -y /dev/hda2
下面回答全部是yes就ok了
然后
#reboot就ok了
注释:
fsck.ext3  --help
-p Automatic repair (no questions) ;自动修复
-n Make no changes to the filesystem ;模拟修复
-y Assume "yes" to all questions ;所有的问题都回答yes
-c Check for bad blocks and add them to the badblock list;检查坏块,并记录下坏块列表
-f Force checking even if filesystem is marked

分享到:

Copyright © 2013-2014 yixinu.com 湘ICP备14004402号

QQ:316686606  Email: 316686606@qq.com