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

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

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  删除保存

然后重启系统即可

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。