启动虚拟机时出现如下现象
“Entering emergency mode. Exit the shell to continue”
“Type ‘journalctl’ to view system log.”
You might want to save “/run/initramfs/rdsosreport.txt” to a USB stick or /boot after mounting them and attach it to a bug report.
解决办法:
输入 journalctl 回车
向下翻阅内容直到找到failed to mount /sysroot. Dependency failed for Initrd root File System. Dependency failed for Reload configuration from the Real Root.),查看红色地方XFS()是什么
这里我的是XFS(dm-0)
按q退出,然后输入:xfs_repair -v -L /dev/dm-0
然后执行reboot,问题解决
参考:https://blog.csdn.net/qq_41610418/article/details/81704362
本文介绍了一种解决虚拟机启动时出现Entering emergency mode错误的方法。通过使用journalctl命令查找失败挂载点,利用xfs_repair命令进行修复,并最终重启解决问题。

1576

被折叠的 条评论
为什么被折叠?



