Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Fix broken ext4 partitions

Boot from a live distribution like ubuntu (http://www.ubuntu.com).

fsck.ext4 -cDfty -C 0 /dev/sda

Note: Replace “sda” with your harddrive.

Explanation:
-c check for bad sector check
-D optimize directories if possible
-f force check
-t print timing stats
-y assume answer "yes" to all questions
-C 0 print progress info to stdout

,

Leave a Reply

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

eMail-Benachrichtigung bei weiteren Kommentaren.
Auch möglich: Abo ohne Kommentar.