启动ubuntu时候出现下面的内容,无法成功启动ubuntu系统。这种情况多数是因为 /etc/fstab 中的挂载不成功引起的。
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".
解决办法就是,
1. 输入 root 密码
2. cat /etc/fstab
3. blkid (显示设备id)
4. 检查在 fstab中的 uuid 是 在 blikid 输出中没有的。
5. 输入 ‘nano /etc/fstab’ , 将 在blkid输出中没有的 注释掉。
6. reboot 重启。
参考链接:
https://askubuntu.com/questions/960790/stuck-in-emergency-mode-and-nothing-works
https://blog.csdn.net/qq_30500113/article/details/81697937