启动linux系统的时候,无法进入系统并报一下错误
You are in emergency mode.
After logging in,type "journalctl -xb" to view system logs,"systemctl reboot" to reboot,"systemctl default" or ^D to try again to boot into default mode .Give root password for maintenance
这是因为/etc/fstab 中挂载不成功引起的
解决的方法:
输入root密码
cat /etc/fstab
blkid (显示设备id)
检查在fstab中的uuid是在blikid输出中没有的
输入’nano /etc/fstab’,将在blkid输出中没有的注释掉
reboot重启
ps
我出现这些问题是由于机器还有关机就拔掉硬盘导致的