English
Ask Your Question
1

Fedora 20 stuck in Emergency Mode

asked 2015-09-27 13:40:27 +0000

jerrybtw gravatar image

My laptop which ran fine with Fedora 20 until this morning now invariably boots into emergency mode. I never set a root password and I cannot advance beyond the emergency mode prompt. How do I go about fixing this?

edit retag flag offensive close merge delete

Comments

Welcome to ask.fedora. As far as I'm aware, part of installing Fedora is setting the root password; how did you manage to skip this step?

sideburns ( 2015-09-27 18:00:34 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-09-27 22:57:34 +0000

updated 2015-09-27 23:06:40 +0000

Unless you inherited your system or something, you definitely set a root password during installation. As sideburns notes, it's mandatory. If you've forgotten the password or for some other reason do not know it, you can try booting your system straight into /bin/bash from the bootloader or using Fedora 22 Live media to boot into rescue mode. Instructions covering both procedures are here.

Try the bash solution first, and if that fails for some reason, try the rescue option. If you can boot into bash directly, you can resolve the issue by simply using the passwd command as you would from a normal boot, but you won't be prompted for a root password. If you boot into rescue mode, you should be able to chroot into your old OS (/mnt/sysimage) and use the passwd command to set your root password.

Of course, you need to figure out why your system will only boot into emergency mode. If you need help with that, you can post another question once you've checked your journal and kernel ring buffer (dmesg) and whatnot for information about your system's problem.

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

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2015-09-27 13:40:27 +0000

Seen: 628 times

Last updated: Sep 27 '15