Linux无法启动提示give root pass...

Linux网管技术

Linux无法启动提示give root pass...

2021-04-20 13:48


                                            




Centos系统重启后发现网络不通,通过VNC查看提示如下(如图提示):
welcome to emergency mode!after logging in ,type “journalctl -xb” to view system logs,“systemctl reboot” to reboot ,“systemctl default” to try again to boot into default mode。
give root password for maintenance
(?? Control-D???):
 
通常情况是在/etc/fstab文件中写入了错误的自动挂载,使开机没有挂载成功导致的。
处理办法:自动挂载的那个fstab文件有问题,你在这个界面直接输入密码,然后把你增加的删除,重启就OK
1:登陆root 乱码也输入密码
2: vi /etc/fstab ,检查磁盘挂载信息
3:修改正确的挂载信息,如果确定不在使用可以删除
4:重启OK。