linux操作系統未正常啓動提示"Entering emergency mode. Exit the shell to continue"

是一臺阿里雲ecs服務器,通過vnc登錄看到如下信息,進入了救援模式:
Generating “/run/initramfs/rdsosreport.txt”
“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提示/dev/vda1 contains a file system with errors,check forced
fsck failed with error code 4.
Failed to start FIle System Check on /dev/disk/by-uuid/xxx
Dependency failed for /sysroot.
等很多錯誤,無法看到操作系統啓動到哪個地方進入的救援模式!
在這裏插入圖片描述

在:/#下執行fsck -y /dev/vda1,有fsck命令,提示/dev/vda1 is mounted
在這裏插入圖片描述
將該目錄umount掉,再次重啓就可以正常進入系統

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章