起因:挂载了新硬盘 重启了系统进不去出现紧急模式
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 删除保存
然后重启系统即可