bash
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 USB stick or /boot after mounting them and attach it to a bug report.
解决方法:
1.使用命令ls /dev/mapper列出/dev/mapper目录下的文件,查看后缀为"-root"的文件
bash
ls /dev/mapper
出现下面三个文件
bash
centos-root centos-swap control
2.使用命令xfs_repair,修复后缀为"-root"的文件,实在不行,三个全修复(后边跟的换一下)
bash
xfs_repair /dev/mapper/centos-root -L
3.然后reboot重启下就好