CentOS6.7 is installed. because the graphic interface cannot be switched using the startx command, the default value of/etc/inittab is set to 5 after online search, and then reboot restarts the system, after the progress bar is started, it will become stuck. for example, refer to various articles on the Internet and finally solve the problem. Learn more from http://www.centoscn.com/centosbug/osbug/2014/0827/3582.html. Solution
When CentOS 6.7 is installed, because the graphic interface cannot be switched using the startx command, the default value of/etc/inittab is set to 5 after online search, and then reboot restarts the system, after the progress bar is started, it will become stuck. for example:
Refer to various articles on the Internet to solve the problem. Learn more from http://www.centoscn.com/centosbug/osbug/2014/0827/3582.html.
The solution is as follows:
1. press Ctrl + Alt + Insert (Note: Insert). The system restarts. go to the following interface and press any key.
2. click e on the UI.
3. enter the page shown in the figure. select the second one (highlighted in the figure) and press e to enter the editing status.
4. go to the interface shown in
5. add "init =/bin/bash" at the end of the row. for example, if the sh value exceeds the screen, press enter, and then press "B" to restart.
6. go to the interface shown in.
7. the file cannot be modified at this time. type the command "mount-o remount, rw/" to re-mount the file system so that it can be read and written, then modify the default value of 3 in the/etc/inittab.
8. press Ctrl + Alt + Insert to restart the system. Pai_^