# How to escape from emergency mode in Fedora 28?

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...

edit retag close merge delete

Sort by » oldest newest most voted

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, irc.freenode.net.

more

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.

more