Home >Operation and Maintenance >Linux Operation and Maintenance >Reasons and solutions for Linux failure to start

Reasons and solutions for Linux failure to start

王林
王林Original
2019-11-22 10:46:587000browse

Reasons and solutions for Linux failure to start

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn