Linux
VMware Linux 崩潰,無法啟動
我在虛擬機仍在執行時不小心拔掉了外部硬碟,當我再次插入時,系統顯示消息如下:
Generating "run/initramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view 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 bug report. :/#
我在外部硬碟上安裝了 Red Hat Enterprise Linux 8 64-bit 在 VMware Workstation 15 上(因為本地硬碟上沒有足夠的磁碟空間)
最後,我找到了解決方案
只需執行此命令
:/# xfs_repair -v -L /dev/dm-0