Restoring ExFat partition on SD from backup.
Posted: 27 Nov 2024, 03:07
Hi there, I'm resorting to asking here because I'm getting conflicting information from the testdisk PDF, the testdisk application, and Disk Utility in macOS.
A Sandisk Extreme 256GB microsd with some important drone footage went bad on me and I'm hoping to get at least some of it.
Disk Utility lists the partition correctly (256GB ExFAT), but wont mount it.

Diskutil List, lists it incorrectly as NTFS
Testdisk says boot sector and backup sector bad, but I dont know if that's because it's incorrectly recognising an NTFS partition
....because when I hit Analyse -> Quick Search, it *does* appear to find the backup sector, correctly identified as ExFAT with the correct size.
Furthermore I get this message. Is this likely to be true? It sounds spinning disk related.
This message is the only thing giving me hope "exFAT found using backup sector, blocksize=262144, 255 GB / 238 GiB", how do I tell test disk to use it?
A Sandisk Extreme 256GB microsd with some important drone footage went bad on me and I'm hoping to get at least some of it.
Disk Utility lists the partition correctly (256GB ExFAT), but wont mount it.

Diskutil List, lists it incorrectly as NTFS
Code: Select all
/dev/disk5 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *255.9 GB disk5
1: Windows_NTFS 255.8 GB disk5s1
Code: Select all
Disk /dev/disk5 - 255 GB / 238 GiB - 499744768 sectors
Partition Start End Size in sectors
1 P HPFS - NTFS 65536 499744767 499679232
Boot sector
Status: Bad
Backup boot sector
Status: Bad
Sectors are not identical.
Code: Select all
Disk /dev/disk5 - 255 GB / 238 GiB - 499744768 sectors
Partition Start End Size in sectors
>* HPFS - NTFS 65536 499744767 499679232
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
Enter: to continue
exFAT found using backup sector, blocksize=262144, 255 GB / 238 GiB
Code: Select all
Disk /dev/disk5 - 255 GB / 238 GiB - 499744768 sectors
Warning: the current number of heads per cylinder is 1
but the correct value may be 128.
You can use the Geometry menu to change this value.
It's something to try if
- some partitions are not found by TestDisk
- or the partition table can not be written because partitions overlap.
This message is the only thing giving me hope "exFAT found using backup sector, blocksize=262144, 255 GB / 238 GiB", how do I tell test disk to use it?