TL;DR: How do I get rid of the warnings in the subject line when everything else looks sweet?
I'm getting the following output when running testdisk's Analyze on a 64GB SD card:
TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdb - 63 GB / 59 GiB - CHS 60906 64 32
Current partition structure:
Partition Start End Size in sectors
Warning: number of heads/cylinder mismatches 255 (FAT) != 64 (HD)
Warning: number of sectors per track mismatches 63 (FAT) != 32 (HD)
1 P FAT32 LBA 0 1 32 51199 63 32 104857537 [27GB]
2 P Linux 51200 0 1 60902 63 32 19871744 [Link2SD]
No partition is bootable
Both partitions are fsck-clean, and /dev/sdb1 is also chkdsk-clean under Win10.
fsck -l says: (it all looks good to me)
Disk /dev/sdb: 63.9 GB, 63864569856 bytes
64 heads, 32 sectors/track, 60906 cylinders, total 124735488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1c580740
Device Boot Start End Blocks Id System
/dev/sdb1 63 104857599 52428768+ c W95 FAT32 (LBA)
/dev/sdb2 104857600 124729343 9935872 83 Linux
If I try to set the geometry mentioned in testdisk's mismatch warning (H=255, S=63) I get:
TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdb - 63 GB / 59 GiB - CHS 7765 255 63
Current partition structure:
Partition Start End Size in sectors
1 P FAT32 LBA 0 1 1 6527 21 22 104857537 [27GB]
Bad relative sector.
2 P Linux 6527 21 23 7764 10 54 19871744 [Link2SD]
No partition is bootable
Note that the sector 6527 is now "shared" which doesn't seem right.
How can I remove the initial mismatch warnings?