美文网首页LINUX系统相关
CentOS7进入挂载错误导致重启进入紧急模式

CentOS7进入挂载错误导致重启进入紧急模式

作者: 远or广 | 来源:发表于2019-05-10 15:11 被阅读0次

起因:挂载了新硬盘 重启了系统进不去出现紧急模式

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。

输入root 密码

 mount -n  #挂载自检

mount:special device /dev/mapper/centos-home dose not exist

发现刚才挂载的 home出错了

vi /etc/fstab 

将/dev/mapper/centos-home  删除保存

然后重启系统即可

相关文章

网友评论

    本文标题:CentOS7进入挂载错误导致重启进入紧急模式

    本文链接:https://www.haomeiwen.com/subject/zhsaoqtx.html