The workaround "Go" after setting the Linux run level to 6 by mistake

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.