Low level format of hard drive

Judd Montgomery judd at jpilot.org
Wed Jun 9 21:42:06 EDT 2004


robb at bossleyfamily.com wrote:
> What would be the best way to reformat a computer hard drive with some bad
> sectors that I want to put Linux on?  How can the bad sectors be fixed or
> avoided?

You don't need to low level format it.  Use dumpe2fs -b /dev/{dev} to
see what blocks are currently marked bad.  While the drive is unmounted
do a e2fsck -c -c -C 0 /dev/{dev} to find and mark new blocks bad.
Usually when this starts happening to a drive the bad blocks will keep
spreading.



More information about the colug mailing list