Ask Your Question

How do I boot fedora19 in emergency mode?

asked 2013-11-12 13:57:13 -0500

Xats gravatar image

I tried to add another hard drive partition to fedora 19 in the fstab file, however I added it to a mount point that doesn't exist. I therefore need access to the fstab file again to change this. I did another mistake with fstab earlier and that time it sent me into emergency mode. This time however it gets stuck when the operating system starts "Sendmail Mail transport Client". Is there anyway to force emergency mode with fedora 19?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-11-12 14:27:59 -0500

lzap gravatar image

updated 2013-11-12 14:28:27 -0500

There is nothing like that, you can usually boot different kernel, but this is a user space issue which cannot be fixed by changing the kernel.

The usual process is to use Fedora Live CD or DVD. There is an option to start Rescue Shell. Or you can even boot the Live CD GNOME environment and do the fix there in a Terminal window:

sudo mount /dev/sda1 /mnt
sudo chroot /mnt /bin/bash

Now you should be "chrooted" in your system, you can do things like install packages with yum and other things. To exit just type "exit". Or if you just need to edit the fstab then you can just mount and edit the file, then unmount, reboot. Work done.

edit flag offensive delete link more

answered 2013-11-12 15:24:18 -0500

sideburns gravatar image

When you get the Grub menu, press e to edit the entry. Select the line that starts with:

echo 'Loading...

and use the left cursor key to put you at the end of the preceding line. Add " 1" without the quotation marks, then whatever key it says below is used to boot. (Don't worry; this isn't a permanent change.) This will boot you to single-user mode, which is what you need. You can then use this to read /etc/fstab and find out what the missing mountpoint is:

cat /etc/fstab

and create the mountpoint with mkdir. If the partition is expecting to be mounted at /data, you'd use this:

mkdir /data

Then use this to make sure you've got it right:

mount -a

This will remount everything that's auto-mounted, and unless there's something wrong, there won't be any output. Of course, you can always use cd to get to that directory and check to see if there's anything there, but if there aren't any errors, you should be OK to go. Just run the command reboot, and things should be back to normal.

edit flag offensive delete link more

answered 2013-11-12 16:09:35 -0500

cjbayliss gravatar image

This may help:

edit flag offensive delete link more

Question Tools


Asked: 2013-11-12 13:57:13 -0500

Seen: 514 times

Last updated: Nov 12 '13