问题描述
本机启动VMWare,启动Linx的虚拟机环境,在启动过程中提示:
Generating “/run/initramfs/rdsosreport .txt"
Entering emergency mode. Exit the shell to continue.
type "journalctl to view system logs .
You might want to save “/run/initramfs/rdsosreport.txt” to a USB stick or /boot after mounting them and attach it to a debug report.
输入命令并查看日志如下:
其中红色部分报错:
failed to mount /sysroot. Dependency failed for lnitrd root File System. Dependency failed for Reloadconfiguration from the Real Root.),
平台环境
- 本机系统环境:Windows 10
- VMWare 17 Pro
- 虚拟机系统为:Redhat 8.6
解决方案
按q退出日志查看,然后输入:xfs_repair -v -L /dev/dm-0
等待执行完毕以后,执行reboot重启,系统就可以正常启动