Ask Your Question

How to escape from emergency mode in Fedora 28?

asked 2019-02-21 08:25:37 -0500

I used my PC today morning...when I started off my PC in the evening,following things came on screen: 'You are in emergency mode.after logging in type ....... Cannot open access to console,the root account is locked. See sulogin(8) man page for more details Press enter to continue... When i pressed enter the above things came again...

Please help me to escape from this..I have to submit a report is inside it

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2019-03-04 13:29:27 -0500

I've got the same problem. The computer just stoppped responding although youtube continued to play. I turned the machine off and then on again, and I got the same message Cannot open access to console,the root account is locked.

I used a livecd usb and was able to access all my files ok, but the weird thing is that I then installed fedora from the livecd/usb, keeping my home partition without formatting it, and when I restarted I got the same message.

I am guessing that it is either a root sector virus or an update that is affecting my machine because it is not uefi, simply the old bios. If it were ubuntu I could use lilo or mbr to reinstall the mbr but fedora doesn't include any of those programs. So, since I have a windows install dual boot, I'm going to try fudging that on to the mbr, and then using the windows boot loader to load linux, to see if it is a grub issue.

I hope this doesn't continue. I'm getting a new drive for this machine soon anyway, as it is using an old style drive, which really slows things down. It will be much better with the SSD that I've just ordered. Curious situation though.

edit flag offensive delete link more

answered 2019-02-21 19:05:18 -0500

cmurf gravatar image

Really bad timing. And no backup of important files? Double bad.

It's in emergency mode because something during startup failed. We'd need to see logs to find out why startup is failing before knowing how to fix it. Complicating things, there's no root password set by default which means we can't get past the emergency mode login. If you're comfortable with the command line and just want to get past the login, I suggest going through the steps in the first section How to reset the root password in Rescue Mode After rebooting from that, you'll probably still be at emergency mode, but you'll be able to login. If you're lucky, there'll be a file /run/initramfs/rdsosreport.txt for you to copy to a USB stick and then attach it to the thread or put it in something like Google drive. If there isn't an rdsosreport.txt file, journalctl > /tmp/journal.txt should include enough information, copy that to a USB stick and post it.

You may also get some help on #fedora channel,

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2019-02-21 08:25:37 -0500

Seen: 105 times

Last updated: Mar 04