CentOS7进入挂载错误导致重启进入紧急模式
2019-05-10 本文已影响0人
远or广
起因:挂载了新硬盘 重启了系统进不去出现紧急模式
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 删除保存
然后重启系统即可