解决:Entering emergency mode. Exit the shell to continue

解决:Entering emergency mode. Exit the shell to continue

Scroll Down

0、

某一天打开尘封已久的Vmware虚拟机之后,发现出现了一点点故障,没有能够进入正常的shell环境

# 提示信息:Entering emergency mode. Exit the shell to continue

1、解决

查看系统日志

# journalctl

按两次 GG 划到日志最后,找到出错的文件系统xfs信息,我的是/dev/sda3

image.png

输入xfs_repair -v -L 文件系统进行修复

image.png

image.png

修复完成之后,输入reboot重启,问题即可解决

参考:
https://forums.centos.org/viewtopic.php?t=73689