Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

ext4

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

,