This article was reproduced from: http://www.wuji8.com/meta/841011126.html
Workaround for incorrectly setting the Linux runlevel to 6
We know that Linux has 7 RunLevel, and when the RunLevel is set to 6, it causes the Linux system to reboot as soon as it is started, reboot and restart immediately, so that the system will not function properly. In this article, I share with you the experience of how to solve the problem of incorrectly setting Linux RunLevel to 6. Let's start together!
Tools/Materials
A computer with a Linux system
Method/Step
When the Linux system starts reading the second process, as shown, immediately press the "E" key on the keyboard ("E" is the first letter of "edit", note that the input is the lowercase letter e, which says "E" key is displayed on the keyboard, not by "shift+e", the same as):
In the interface shown, press the "E" key on the keyboard once more:
Select the second item by pressing the DOWN ARROW key, as shown in:
Press the "E" key on the keyboard again to enter the following interface:
Enter "1" and note that "1" is preceded by a space, as shown in:
Enter "1" and press ENTER to return to the previous interface as shown in:
Press the "B" key on the keyboard ("B" is the first letter of "boot") and the system can be started with "RunLevel 1".
After the system starts, enter the "Vi/etc/inittab" command followed by the carriage return as shown:
Save after setting the RunLevel to 5 or 3, and then restart with the "reboot" command to enter the system as shown:
The workaround "Go" after setting the Linux run level to 6 by mistake