Linux A start job is running for /etc/rc.d/rc.local compatibility

rc.local自启动设置后系统无法启动问题解决

F1查看提示A start job is running for /etc/rc.d/rc.local compatibility(*s/ no

limit)

开机界面按e进入以下界面

Linux A start job is running for /etc/rc.d/rc.local compatibility_第1张图片

 在LANG=zh_CN.UTF-8后增加 init=/bin/sh如下图

Linux A start job is running for /etc/rc.d/rc.local compatibility_第2张图片

 按Ctrl+x执行进入下图

Linux A start job is running for /etc/rc.d/rc.local compatibility_第3张图片

 编辑/etc/rc.d/rc.local注释或删除错误行

执行exec /sbin/init,如图

Linux A start job is running for /etc/rc.d/rc.local compatibility_第4张图片

 

注意:若提示

/etc/rc.d/rc.local只读,需要重新挂载根目录

mount -rw -o remount /

 

 

你可能感兴趣的:(linux,kylin)