1. Problem
The virtual machine was shut down normally before shutting down yesterday, but it could not be started after it was turned on this morning. The interface showed unexpected inconsistency run fsck manually:
2. Cause
Unexpected power outage caused system file damage.
(Recommended tutorial: centos usage tutorial)
3. Solution
1. Press Ctrl D and return to this interface again
2. Enter the root password and enter the repair mode
3. Enter: fsck -y /dev/sda2 (fill in the failed items displayed on the previous interface)
4. Reboot and be able to enter the interface.
Recommended related video tutorials: linux video tutorial
The above is the detailed content of centos cannot start normally. For more information, please follow other related articles on the PHP Chinese website!