Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 477 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 477 Bytes

Scripts to fix bad sectors on a HDD

WARNING! Before you run anything, please edit both scripts and specify the disk device!

Usage:

  1. Make sure you are under Linux and have root privileges.
  2. Edit both scripts and specify your disk device!
  3. Run autorepair.pl to automatically check and repair the disk.
  4. You may also run repair_disk.pl to check and fix a bad block. Specify the sector number on the command line (e. g., repair_disk.pl 12455433).