Solve Fedora 17 boot problem repair filesystem fsck


It’s weird when my Fedora suddenly crash and it’s give this error message when boot-up and asking for “repair filesystem”:

1
2
3
4
5
6
7
8
9
10
11
12
Loading initial ramdisk…
_Fedora-16-Beta-: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options)
dracut Warning: e2fsck returned with 4
dracut Warning:_Fedora-17-contains a file system with errors, check forced.
dracut Warning:_Fedora-17: Inodes that were part of a corrupted orphan linked list found.
dracut Warning: * An error occured during the file system check.
dracut Warning: * Dropping you to a shell; the system will try
dracut Warning: * to mount the filesystem(s), when you leave the shell.
dracut Warning:
Dropping to debug shell.
sh: can’t access tty; job control turned off
(Repair filesystem):/#

The solution for this cases is easy:

1. Get your root partition :

1
blkid

For instance, I have fedora installed in “/dev/sda6”

1
2
3
4
5
6
/dev/sda1: SEC_TYPE="msdos" LABEL="DELLUTILITY" UUID="3030-3030" TYPE="vfat"
/dev/sda2: LABEL="Recovery" UUID="CC70378A703779F2" TYPE="ntfs"
/dev/sda3: LABEL="OS" UUID="AC7C4EC27C4E86D4" TYPE="ntfs"
/dev/sda5: LABEL="DATA" UUID="2E24594324590EE9" TYPE="ntfs"
/dev/sda6: LABEL="_Fedora-17-x86_6" UUID="861accd0-45a3-4129-a477-f931e5dc9816" TYPE="ext4"
/dev/sda7: UUID="87c4e897-c3b7-467e-b275-2838e50cc1a5" TYPE="swap"

2. Repair

1
fsck /dev/sda6 -vY

Do hard reboot and you will get your Fedora back! Remember to have backup of your HDD 🙂


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.