A Blog about technology, linux, peer2peer, cool new downloads and software development.

Sunday, February 17, 2008

map bad sectors on a mounted ext3 partition tutorial

Mount partition as readonly :

# mount -f -r -o remount /dev/hda1

(replace had1 with your mounted ex3 partition)

Scan and mark badblocks :

# e2fsck -c -C 0 -y -v /dev/hda1

(replace had1 with your ex3 partition)

No comments: