1

Possible Duplicate:
External Hard Drive bad sectors recover/mark utility in linux

I suspect my laptop's harddisk has a bad sector. Could anyone tell me what is the most reliable way to fix the harddisk?

I am using badblocks but as I understood from the man page, it only points the bad sectors, after that how do I suppose to fix the bad sector?

1 Answers1

0

If you only have one bad sector, you can force the drive's controller to remap it to a spare sector. Do so by manually trying to read it and write it back again.

Useful tools are badblocks or smartctl for identifying and dd or hdparm --write-sector.

glglgl
  • 1,469