Home > Article > Operation and Maintenance > How to solve CentOS7 cannot boot
How to solve CentOS7 cannot boot
Problem:
Solution The method is as follows:
Step 1. Press the keyboard casually when turning on the computer to enter the following menu
Step 2. Select the first item and press e Key to modify
Recommended learning:CentOS usage tutorial
Step 3. Locate ro (linux16)
Step 4. Change ro to "rw init=/sysroot/bin/sh". After completion, press "Ctrl x"
##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.localPress Ctrl D to exit the current state
rebootphp 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!