How to fix "Entering emergency mode. Exit the shell to continue."

General support questions
Post Reply
marbenoct2019
Posts: 11
Joined: 2019/10/19 11:18:28

How to fix "Entering emergency mode. Exit the shell to continue."

Post by marbenoct2019 » 2020/03/11 00:32:36

Hi All,
There is a brownout here while my centos7 is power on.
When I reboot my centos 7, it won't boot normally.
The error message is:
"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 bug report.
How to fix this problem?
Please help.

Best regards,
Marben

afewgoodman
Posts: 97
Joined: 2019/12/11 03:51:58

Re: How to fix "Entering emergency mode. Exit the shell to continue."

Post by afewgoodman » 2020/03/11 01:17:54

Hi,

I think it might be error in file system and you need to run "fsck" to recover damaged file system.

BR.

User avatar
TrevorH
Forum Moderator
Posts: 30168
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to fix "Entering emergency mode. Exit the shell to continue."

Post by TrevorH » 2020/03/11 01:33:28

It could be any one of a number of reasons and you have to scroll back up the console log using Shift-PgUp to find the error(s) that caused it. Don't go blindly doing stuff in the hope that it might help, look at the errors and logs and work out what went wrong first.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

marbenoct2019
Posts: 11
Joined: 2019/10/19 11:18:28

Re: How to fix "Entering emergency mode. Exit the shell to continue."

Post by marbenoct2019 » 2020/03/11 06:54:11

Hi All,
Thank you very much for your help.
I solved the problem "Entering emergency mode. Exit the shell to continue."
by using this command:
" xfs_repair -v -L /dev/dm-0”
then after Ctrl-Alt-Delete, my centos7 booted normally as usual.
I followed this:
https://www.jubinjacob.com/?p=70

Best regards,
Marben

Post Reply

Return to “CentOS 7 - General Support”