Cause of failure to start:
Illegal shutdown, resulting in damage to the root file system (that is, the Linux root partition is damaged and the system cannot start normally)
The ext3 file system is commonly used under Linux. It is a log file system with logging function and can easily tolerate faults and recover. However, under high-load reading and writing of the ext3 file system, a sudden power failure may cause inconsistency in the internal structure of the file, causing the file system to be damaged.
Solution:
First press the CTRL D key combination to automatically restart. After entering the root password, enter the system repair mode, and then execute the fsck command. The specific operations are as follows:
First uninstall the partition to be repaired, the command is as follows:
umount /dev/sdb5
Then perform the repair, the command is as follows:
fsck .ext3 -y /dev/sdb5
Then enter YES
.
Recommended tutorial: linux tutorial
The above is the detailed content of Reasons and solutions for Linux failure to start. For more information, please follow other related articles on the PHP Chinese website!