Fedora booting into emergency mode can be fixed with following methods :-
- By Preneesh AV --
- 14-Dec-2014 --
- 4 Comments
Fedora booting into emergency mode can be fixed with following methods :-
Error on boot up
systemd-fsck[529]: /dev/mapper/fedora_XXX--home:
Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "ststemctl reboot" to reboot, "systemctl default" to try again to boot into ddefault mode.
Give root password for maintenance (or type Control-D to continue):Solution one
- Boot the machine from Fedora 19 installation DVD
- Select Troubleshooting
- Select Rescue Fedora insallation
- Select option SKIP to move to shell without mounting the filesystem.
- type command # cd /dev/mapper . and check for your installation ,something like fedora_XXX-root .
- run command #fsck /dev/mapper/fedora_XXX-root
- fsck will run and fix the errors
- if there are questions about fixing, select yes 'y'
- type in your root password (you will not see anything when you are typing, but its typing)
- type fsck - if you get an error message like the one below, try Solution #2 or Solution #3 /dev/mapper/fedora_XXX--root is mounted e2fsck: Cannot continue, aborting.
- if there are questions about fixing, ignoring, forcing, salvage, etc, always answer y (yes)
- type fsck - if you get an error message like the one below, try Solution #2 or Solution #3 /dev/mapper/fedora_XXX--root is mounted e2fsck: Cannot continue, aborting.
- type the commands below, remember to substitute XXX with the one specified in your error
umount /dev/mapper/fedora_XXX--root umount /dev/mapper/fedora_XXX--home umount /dev/mapper/fedora_XXX--swap
- type fsck /dev/mapper/fedora_XXX--root
- if there are questions about fixing, ignoring, forcing, salvage, etc, always answer y (yes)
- repeat step 2 & 3 with --home & --swap just to be sure
- Boot into your LiveCD or LiveUSB
- once logged in, open gnome-disks utility from the applications (I think its called Disks)
- unmount all the /dev/mapper/fedora_XXX--root & home & swap
- open a gnome-terminal (terminal)
- . type su
- enter your root password
- type fsck /dev/mapper/fedora_XXX--root
- if there are questions about fixing, ignoring, forcing, salvage, etc, always answer y (yes)
- repeat step 7 & 8 with --home & --swap just to be sure