挂载重启失败进入紧急模式

打开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。

give root password for maintenance

(?? Control-D???):

可先输入密码,进入后,将挂载文件先注销了
编辑自动挂载的文件 vi /etc/fstab

把挂载/home的那行注释掉(先备份)

/dev/mapper/centos-home /home xfs default 0 0

5.重启服务器 reboot

posted @ 2020-07-20 15:03  Json159  阅读(605)  评论(0编辑  收藏  举报