Linux system boot prompt Control-D input power-on password interface repair method

Welcome to emergency mode appears when linux restarts or starts up!

As shown in the figure below, a similar interface shows that there is something wrong with the /etc/fstab file!
Follow the prompts to enter the root password blindly, and no output display is normal. Pay attention to the error position.
Insert picture description here

After
Insert picture description here
entering the root password, it is the interface in the picture below. We must first make the fstab file editable; enter the following command to
mount / -o remount, rw

needs to comment out or delete this partition in /etc/fstab when saving Remember to add! Ha wq! Otherwise, you may get an error.
Insert picture description here
Restart after saving.
Insert picture description here
Such a situation occurs after the hard disk is mounted, the disk is broken or the disk is changed, but the fstab file is not updated in time, especially the uuid number is used to mount the hard disk, and this problem will occur when the server replaces the hard disk. . Either enter a single user or follow the prompts. The process is a bit different, but the idea is the same. If you have any questions, you can leave a message to communicate.
See this, like it?

Guess you like

Origin blog.csdn.net/qq_43261733/article/details/108624419