What should I do if centos7 cannot boot?

王林
Release: 2020-04-03 11:03:50
Original
4831 people have browsed it

What should I do if centos7 cannot boot?

Screenshot of the problem:

What should I do if centos7 cannot boot?

Solution:

1. Enter single-user mode

The method to enter single-user mode is as follows:

Press the keyboard casually when booting to enter the following menu; select the first item and press the e key to modify it;

What should I do if centos7 cannot boot?

Locate ro (linux16)

What should I do if centos7 cannot boot?

Change ro to "rw init=/sysroot/bin/sh". After completion, press "Ctrl x" to exit the current state

What should I do if centos7 cannot boot?

2. Execute the following commands in sequence

chroot /sysroot/
chmod +x /etc/rc.d/rc.local
Copy after login

3. Restart the system

reboot
Copy after login

Recommended tutorial:centos tutorial

The above is the detailed content of What should I do if centos7 cannot boot?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template