admin管理员组

文章数量:1577560

服务器重启后 Linux系统进入了emergency mode

问题现象: 通过iBMC进入管理口IP 重启机器,进入了如下页面
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???):

问题原因: 很有可能是加载了外部硬盘(如nvme盘),重启的时候没有加载上去导致的。

解决办法:修改 /etc/fstab

  1. iBMC重启后,已经默认登录了root账号。如未登录,请先登录
  2. vim /etc/fstab
  3. 将除了系统盘之外的东西,也就是自己添加了硬盘后,增加的内容 注释掉。 然后ESC, :wq保存退出
  4. 重启系统即可。 输入 systemctl reboot
  5. 登录业务ip, 重新挂载相关的硬盘。

本文标签: 重启服务器系统LinuxEmergency