linux开机出现Give root password for maintenance (or type Control-D to continue):解决办法

修改rc.local后导致 linux开机出现Give root password for maintenance,而且很多系统文件无法修改,之前的rc.local也不能修改了,单用户模式也无法进入

解决办法如下:

1、按住Control+D进入maintenance 

2、mount -o remount,rw /

3、修改导致出现该问题文件,我的是rc.local文件,修改后重启服务器reboot

原文地址:https://www.cnblogs.com/wclwcw/p/7117437.html