// how it is actually repairedFound by searching, not by guessing.
The reconstruction depends on the fact that file systems announce themselves.
All file systems write a unique boot sector or superblock signature at the beginning of each volume – NTFS, exFAT, FAT32, APFS, HFS+, ext all have distinctive boot sectors or superblocks. Scanning for those signatures in an image of a drive locates the start point of each volume regardless of what is missing from the original table.
The volume size is determined using records in the file system itself, and then a corrected partition structure is rebuilt within the image. Where the boot sector is damaged, most file systems keep a backup copy of it – NTFS at the end of the volume, ext in its superblock copies – and this is used to rebuild the volume instead.
This whole process takes place against a read-only image so it will never alter the original. That is the difference between this methodology and clicking Format: one rebuilds the map whilst the other completely replaces it. Single drives in Manchester are available from £300 +VAT after a free 48-hour diagnostic. These usually fall into the quicker recoveries when the hardware is sound.