Fedora 17 boots to emergency mode after updating kernel

Discussions about using Linux guests in VirtualBox.
Post Reply
brainclots
Posts: 9
Joined: 12. Dec 2008, 08:57
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Server 2008, Win 7, Fedora, Win 8

Fedora 17 boots to emergency mode after updating kernel

Post by brainclots »

With the older 3.3.* kernels, I would get the emergency mode message about "use systemctl default or press Ctrl+D to continue" and could ignore it and press Ctrl+D to continue booting. With the 3.4.0 kernel, pressing Ctrl+D got me the same message repeated again. I logged in to emergency mode with my root password and noted dmesg listed a dozen failed jobs citing "dependency" as the cause.

After reading A LOT on the issue, I found some posts for Fedora 16 stating that a problem with mounting the /home partition was the cause of the dependency failure. I added "nofail" to the options in /etc/fstab after "defaults" and it works like a charm now. Hope this helps someone else in a similar spot.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Fedora 17 boots to emergency mode after updating kernel

Post by mpack »

I'm noticing a singular lack of the word "VirtualBox" in that message. Are you sure you've got the right forums?
brainclots
Posts: 9
Joined: 12. Dec 2008, 08:57
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Server 2008, Win 7, Fedora, Win 8

Re: Fedora 17 boots to emergency mode after updating kernel

Post by brainclots »

LOL, yeah, sorry, I am running 64 bit Fedora 17 in Virtualbox on a Windows 7 host... May refer more to Fedora than to Virtualbox, but nonetheless, other folks running it like I do may run into the same problem.
PsndCsrV
Posts: 1
Joined: 12. Oct 2012, 17:31

Re: Fedora 17 boots to emergency mode after updating kernel

Post by PsndCsrV »

Actually, this post led to me solving my similar problem.

Every time I'd try to upgrade the kernel, my Fedora 17 guest would give me that emergency mode message. I could never figure out why (I just started skipping kernel updates), but the 'nofail' suggestion was the key.

It turns out, I had added a line to my /etc/fstab to auto-mount one of my Virtualbox shared folders. By upgrading the kernel, I (obviously) lost the kernel module that mount relies on, and so it was forcing the emergency mode message. By adding nofail to the options, it allows me to boot, install the guest additions, and reboot. No more emergency mode!

So thanks for posting that! It definitely helped.
faszinierend
Posts: 1
Joined: 2. Dec 2012, 13:06

Re: Fedora 17 boots to emergency mode after updating kernel

Post by faszinierend »

thx psndCsrV + brainclots - this helped me so much! :)
Post Reply