我使用的是centOS6.3,使用虚拟机重启的时候显示错误信息如下:
/dev/mapper/root: Superblock last mount time is in the future.
/dev/mapper/root: 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 <partition name>的形式运行修复,你的就运行fsck /dev/mapper/root,然后reboot,重启后可能还会提示其他盘出现相同的错误,按照fsck <partition name>的形式再次运行,然后reboot,在虚拟机上测试可以启动了。