天天看点

Press Y within 1 seconds to force filesystem integrity check....

PHP程序员让我删除一个缓存目录我怎么也删除不了 rm -rf mv cp 都显示只读文件系统,因为是内网服务器我就想重启下试下吧。结果...启动不起来了。(内网服务器是调试的程序都在这上面弄不好就完了

Press Y within 1 seconds to force filesystem integrity check....

我就接上显示器一看 报的错误:

your system apperars to have shutdown uncleanly 

Press Y within 1 seconds to force filesystem integrity check....

checking root filesystem

我就进入单用户模式: e e = 1  回车 b

单用户模式他会自己检测 文件系统 ,然后检测失败,输入密码自己手动修复。。。。

*** AN error occurred during the file system check

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

*** when you leave the shell

Give root password for maintenance

(or type Control-D to continue):

Login incorrect.

(Repair filesystem) 1 #

(Repair filesystem) 2 #fsck -A -y

#上次非正常关机引起的,用fsck /dev/hdaX后reboot进入,或只用fsck来修复,只管y回车

(Repair filesystem) 3 #init 6

结果好了。。。

本文转自 houzaicunsky 51CTO博客,原文链接:   13页http://blog.51cto.com/hzcsky/475583

继续阅读