问题描述:
centos7在开机的时候一直停留在“starting switch Root...........”,不能正常开机。
报错信息显示“failed to execute /bin/sh,give up :no such file or dictionary”和“/bin/sh: /usr/sbin/sulogin:no such file or dictionary"
原因分析:
进入u盘启动选择救援模式,发现其中的/lib64 被修改过。
解决方法:
进入u盘救援模式:
将centos系统u盘插上机器开机,并选择u盘启动,进入系统安装初始界面,选择最后由一项Troubleshooting
后选择第二项Rescue a CentOS