Get the App
SLTechnology News&Howtos  ›  Servers  › 

What to do if linux can't start up?

Shulou Source: shulou.com Published: 2022-06-03 00:26:12 09月22日 Update

How to solve if linux can't start? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

Reason why it cannot be started:

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 widely used under linux. It has a logging file system that can be easily fault-tolerant and recovered. However, under the high load read and write ext3 file system, a sudden power outage may occur, which may lead to inconsistency in the internal structure of the file, resulting in file system damage.

Solution:

First, press the CTRL+D key combination, restart automatically, enter the system repair mode after entering the root password, and then execute the fsck command as follows:

First uninstall the partition to be repaired, with the following command:

Umount / dev/sdb5

Then perform the repair, with the following command:

Fsck .ext3-y / dev/sdb5

Then type YES.

The answer about how to solve the problem that linux can't start is shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel to learn more about it.

Tags: Systems files commands questions logs more help answers input easy consistent easy that is content function reason backward password boy buddy Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn MySQL Redmi MariaDB OPPO Reno