Solve the problem that the CentOS boot progress bar is stuck

Source: Internet
Author: User

Solve the problem that the CentOS boot progress bar is stuck

In centos, if you want to set the program to start when it is started, Baidu will modify/etc/rc. local and add it as the boot Startup Program. Then the tragedy is coming,

Stopped here, nnd. Press the direction key to see where the program is stuck. There is no suspense that my program is stuck (this program is a large loop that will repeatedly interact with the remote device ), what should I do ?! It is also a variety of Baidu ....

In theory, as long as I set my program to run in the background, it will not be stuck. For example:

The method after Baidu is as follows:

Press the "e" key to enter the GRUB startup manager, select the following, and then press the "e" key to edit the kernel

Add "init =/bin/bash" at the end of the line. For example, press enter and then press "B" to restart

Go to bash and edit the/etc/rc. local file to start the program in the background. However, an error occurred while saving the startup configuration file:

Cannot Write, shit! Remount the file system to read and write "mount-o remount, rw/", edit the startup configuration file again, and save OK

Restart the system and enter the logon screen:

OK, it's not easy!

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.