Tag Archives: Rescue mode

Prompt “entering emergency mode. Exit the shell to continue” if the Linux operating system does not start normally

It is an Aliyun ecs server, and the following information is seen through vnc login, entering rescue mode.
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 warning: /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.
And many other errors, it is impossible to see to which part of the operating system boots into the rescue mode!

1. execute fsck -y /dev/vda1 under :/#, there is fsck command, prompt /dev/vda1 is mounted

2, the directory umount off, reboot again can enter the system normally