linux出现welcome to emergency mode! 解决方法

CentOS7.6昨天用的还好好的的,但是今天开机提示如下(如图提示):
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: vim /etc/fstab ,检查磁盘挂载信息
3:注释掉自己增加的内容,如果确定不在使用可以删除
4:重启OK。

报这个错误多数情况下是因为/etc/fstab文件的错误。注意一下是不是加载了外部硬盘、存储器或者是网络共享空间,在重启时没有加载上导致的。

posted @ 2020-10-13 09:09  老王教你学Linux  阅读(765)  评论(0编辑  收藏  举报