Transfered from Linux Config Disqus comments:
I can’t boot fedora. It shows (Repair filesystem):/#
Hi,
First determine what partition are defined in your linux system using a command. This is only if your boot error message does not provide you with such information:
# fdisk -l
Alternativelyrun blkid command. The fdisk -l will show table like:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007c2f9
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 296042495 148020224 83 Linux
/dev/sda2 296044542 312580095 8267777 5 Extended
/dev/sda5 296044544 312580095 8267776 82 Linux swap / Solaris
Please note that your output will be different. Once you have a partition name attempt to repair with fsck -y . For example:
# fsck -y /dev/sda1
will attempt to repair first partition. The -y option instructs fsck to automatically apply “yes” to any questions during repair process.
If the above does not fix your problem you could also try run fsck -Vy for more verbose output. Here is a list of error code that fsck may produce:
This should help you to further determine what your problem is.
Hope this helps
Lubos