找到centos 7 core 按 e 找到rhgb quite换成 init=/bin/sh 找到ro 换成rw 按ctrl+x执行 #进入自启动脚本目录 cd /etc/initd.d/ #删除自启动脚本 rm 脚本名称