Skip to main content
added 787 characters in body
Source Link
cybernard
  • 14.2k
  • 3
  • 30
  • 35

https://www.youtube.com/watch?v=O_kvJF87Drc

This procedure will allow you to write a new partition table with testdesk.

This link details the procedure without the video.

https://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

You may need to deal with the bad sectors in one way or another.

All hard drives have SMART built in, and it is suppose to hide bad sectors and replace them with spare. However, sometimes it doesn't work, and some times it needs a nudge. Some times it can't be helped.

  1. You can run software like SpinRite or mhdd on it, and see if it correct the sector, or at least trigger smart. In some cases repeatedly writing to the sector triggers SMART to do its job.

If that fails you have to recover the partition table first. The partition table and MBR actually reside in sector 0, and 0=63 are traditionally reserved anyway.

Then you can run chkdsk /R d: and it will scan and find the bad sectors. No, it can't fix them, but it can hide them so they are never used.

The NTFS file system also stores a backup file near the end of the partition. If that sector has gone bad then use gparted or similar to shrink the partition down say 100mb (or so) and that should move it out of harms way.

https://www.youtube.com/watch?v=O_kvJF87Drc

This procedure will allow you to write a new partition table with testdesk.

This link details the procedure without the video.

https://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

https://www.youtube.com/watch?v=O_kvJF87Drc

This procedure will allow you to write a new partition table with testdesk.

This link details the procedure without the video.

https://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

You may need to deal with the bad sectors in one way or another.

All hard drives have SMART built in, and it is suppose to hide bad sectors and replace them with spare. However, sometimes it doesn't work, and some times it needs a nudge. Some times it can't be helped.

  1. You can run software like SpinRite or mhdd on it, and see if it correct the sector, or at least trigger smart. In some cases repeatedly writing to the sector triggers SMART to do its job.

If that fails you have to recover the partition table first. The partition table and MBR actually reside in sector 0, and 0=63 are traditionally reserved anyway.

Then you can run chkdsk /R d: and it will scan and find the bad sectors. No, it can't fix them, but it can hide them so they are never used.

The NTFS file system also stores a backup file near the end of the partition. If that sector has gone bad then use gparted or similar to shrink the partition down say 100mb (or so) and that should move it out of harms way.

Source Link
cybernard
  • 14.2k
  • 3
  • 30
  • 35

https://www.youtube.com/watch?v=O_kvJF87Drc

This procedure will allow you to write a new partition table with testdesk.

This link details the procedure without the video.

https://www.cgsecurity.org/wiki/TestDisk_Step_By_Step