Issues that fail to start after Linux changes the boot level are resolved

Source: Internet
Author: User

After the installation, configure the IP, the start can also be online, and then I modified the system's boot level (the default is 3, I changed to 5), meaning that he can start the desktop.

That's how I set it up:

1.VI command to open the/etc/inittab file, you can see the following description

2. My default level is 3, which is the standard run level, which is only the command line after startup. At this point I want to change it to the desktop boot mode, so I manually change the level to 5

3. After saving the exit, reboot restarts the virtual machine, waiting to enter the ugly desktop of CentOS, the result has been unable to enter the system, the following interface appears:

Waiting for a long time can not enter the system, restart the virtual machine power several times is not. I would have thought about the following procedure:

The default startup level is 3, you can start normally, use the---start level to 5, do not start properly, then it should be a problem with the installation package? or an installation error? Or is the installation process missing something?

Recall, basically the installation process is a fool-style, will not appear the above situation.

Think again seriously, finally found the problem: I installed this version of Centos-6.5-i386-minimal.iso, and this version because it is a compact image file, which does not include X Window desktop system and some other software.

Since there is no X Window desktop system, it will naturally not be able to enter the desktop system ...

Encountered this problem, would like to re-install again, but a think, there is a problem should be solved, and certainly can find a solution. So just find a solution online.

I saw this post and solved my problem: http://blog.csdn.net/abc5382334/article/details/20641613

So I'll make a record here, too.

Resolution Steps

1. Restart the virtual machine, and note press ENTER in the read second stage:

2. Press ENTER to enter the following interface:

3. Look at the following English tips. Here we need to press "E" for editing.

The following interface appears after pressing "E":

4. Look at the following English tips again, when we move the arrow keys, select the second item, click "E" for editing:

After clicking "E", the following interface appears:

5. Add a space to the back and enter "single", as

6. When the input is complete, press ENTER to return to the interface before editing.

7. Press "B" to reboot, at which time the system starts in single user mode (Safe mode)

8. After entering the system, modify the boot level to 3:

Vi/etc/inittab, the result of the modification is as follows:

9. Restart the system, solve the problem, and it can run normally

Note: If you accidentally set the startup level to 0 (stop), 6 (restart), you can also use the above method to resolve

Issues that fail to start after Linux changes the boot level are resolved

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.