在CentOS中刚装好的kvm环境,突然启动提示以下错误(吓到我了,装kvm花我好长时间,要系统突然崩溃,岂不是前功尽弃,还好解决了,(*^__^*) 嘻嘻……)
CentOS启动突然出错
Checking filesystems
/dev/sda2:
UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
[FAILED]
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Given root password for maintenance
(or type Control-D to continue):
解决方法:
在(or type Control-D to continue):后输入系统登录密码,然后运行fsck /dev/sda2,红色部分为UNEXPECTED前的路径,然后提示很多信息[yes?]全部输入y即可,最后reboot重启系统。问题解决~~