Centos7.6如何解决无法进入系统问题
发布时间:2022-11-21 15:04:07 来源: 纵横云
Centos7.6如何解决无法进入系统问题
Centos 7.6系统开机启动时如果出现无法进入系统的情况,可能是由于/etc/rc.d/rc.local文件出错导致,如何解决呢?
1.出现如下图界面时按“e”

2.在如图所示处进行操作:将ro修改为rw;将rhgb quiet删除;在该字段末尾添加init=/bin/bash

3.修改完成后按Ctrl x进入单用户模式

4.输入vi /etc/rc.d/rc.local按回车键进入vi编辑

5.按“i”进入插入模式,可根据实际情况进行修改,本文为清空该文件内容

6.编辑完成后按“ESC”键输入wq按回车键保存退出vi编辑
7.输入 exec /sbin/init按回车键退出单用户模式即可
本文来源:
https://www.zonghengcloud.com/article/8390.html
[复制链接]
链接已复制