Centos7开机启动出现错误Entering emergency mode. Exit the shell to continue.

参考:https://blog.csdn.net/qq_41610418/article/details/81704362

Centos7开机启动出现错误Entering emergency mode. Exit the shell to continue._第1张图片

journalctl

按enter向下一行,space(空格)向下一页
翻到最后一页(failed to mount /sysroot. Dependency failed for Initrd root File System. Dependency failed for Reload configuration from the Real Root.),查看红色地方XFS()是什么
我的是XFS(sda3)

按q退出

xfs_repair -v -L /dev/你的存在问题的设备

因此我执行的是

xfs_repair -v -L /dev/sda3 

然后

reboot

就可以了

你可能感兴趣的:(Centos7开机启动出现错误Entering emergency mode. Exit the shell to continue.)