Wednesday, February 11, 2015

HowTo Run fsck on Emergency Mode on Fedora 19


Problem:

systemd-fsck[529]: /dev/mapper/fedora_XXX--home: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY...
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 #1 (untested):
1. type in your root password (you will not see anything when you are typing, but its typing)
2. 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. 
3. if there are questions about fixing, ignoring, forcing, salvage, etc, always answer y (yes)

Solution #2 (untested):
- we will continue from step 2 of solution #1
1. 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
2. type fsck /dev/mapper/fedora_XXX--root
3. if there are questions about fixing, ignoring, forcing, salvage, etc, always answer y (yes)
4. repeat step 2 & 3 with --home & --swap just to be sure

Solution #3 (tested):
1. boot into your LiveCD or LiveUSB
2. once logged in, open gnome-disks utility from the applications (I think its called Disks)
3. unmount all the /dev/mapper/fedora_XXX--root & home & swap
4. open a gnome-terminal (terminal)
5. type su -
6. enter your root password

7. type fsck /dev/mapper/fedora_XXX--root
8. if there are questions about fixing, ignoring, forcing, salvage, etc, always answer y (yes)
9. repeat step 7 & 8 with --home & --swap just to be sure

(if you found problems in my solutions, please correct me, also if you can share your solutions & fixes please do so. thanks. I wasnt been able to test other errors simply because I fixed my problem with solution #3, if ever I came across the same problem, Ill try the other methods)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.