System environment: CentOS6.5 recurrence: set the current system time to a time in the previous day, and then restart the system. I. problem analysis: the above red box shows:/dev/sda2: Superblocklastmounttime (MonJan1304: 47: 282014, now = FriJan1011: 02: 202014) isinthefutur
System environment: CentOS 6.5
Recurrence: set the current system time to a time in the previous day, and then restart the system.
I. problem analysis:
The above red box shows:
/Dev/sda2: Superblock last mount time (Mon Jan 13 04:47:28 2014, now = Fri Jan 10 11:02:20 2014) is in the future.
The last mount time of the sda partition (Mon Jan 13 04:47:28 2014) is in the future (the current time is Fri Jan 10 11:02:20 2014.
Note: An error occurred during the file system check.
Indicates an error occurred during File system check.
II. solution:
The solution should look at the last few words above.
Give root password for maintenance
(Or type Control-D to continue ):
The two sentences mean:
Enter the root user password for maintenance, or press Ctrl + D to continue.
If you press the "Ctrl + D" Key to continue, the system will still fail to start and return to the interface where the error is reported. Therefore, you can only press "(or type Control-D to continue ): in this line, enter the root user password and press enter to enter the maintenance mode.
After entering the maintenance mode, run the fsck command to fix the partitions prompted by the error message.
If one disk partition cannot be repaired, multiple partitions may need to be repaired.
I fixed the problem that the partition was not correct. I used fsck/dev/sda to fix the entire disk.
After the fsck command is fixed, reboot and the system can start normally!