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

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

在这里插入图片描述

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

就可以了

发布了33 篇原创文章 · 获赞 5 · 访问量 8380

猜你喜欢

转载自blog.csdn.net/qq_34246778/article/details/102983069