Home >Operation and Maintenance >CentOS >How to solve CentOS7 cannot boot

How to solve CentOS7 cannot boot

angryTom
angryTomOriginal
2020-03-20 11:20:0612389browse

How to solve CentOS7 cannot boot

How to solve CentOS7 cannot boot

Problem:

How to solve CentOS7 cannot boot

Solution The method is as follows:

Step 1. Press the keyboard casually when turning on the computer to enter the following menu

How to solve CentOS7 cannot boot

Step 2. Select the first item and press e Key to modify

Recommended learning:CentOS usage tutorial

Step 3. Locate ro (linux16)

How to solve CentOS7 cannot boot

Step 4. Change ro to "rw init=/sysroot/bin/sh". After completion, press "Ctrl x"

How to solve CentOS7 cannot boot

##Step 5. Now you can enter the single In user mode, enter the following commands in order to modify. After the modification is completed, restart.

chroot /sysroot/
chmod +x /etc/rc.d/rc.local

Press Ctrl D to exit the current state

reboot

php Chinese website, a large number of server operation and maintenance tutorials,

navicat tutorial tutorials, welcome to learn!

The above is the detailed content of How to solve CentOS7 cannot boot. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn