Page 1 of 1

CHS and LBA don't match

Posted: 04 Mar 2023, 22:28
by havrenomode
Tried recovering some files via testdisk but not sure what step to take next.
If anyone has some time to help guide me on my next step, I would appreciate the help.

The disk is a 128gb Lexar CF card.
Tried dumping the photos via card reader and shows no files in the card, but card shows it has less than half the space available.

This is the screen message I got on testdisk
___________

TestDisk 7.2-WIP, Data Recovery Utility, February 2023
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org

Disk /dev/disk1 - 128 GB / 119 GiB - 250085376 sectors
Current partition structure:
Partition Start End Size in sectors

Warning: number of heads/cylinder mismatches 16 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 63 (FAT) != 1 (HD)
1 P FAT32 LBA 63 250085375 250085313 [EOS_DIGITAL]

Warning: Bad ending sector (CHS and LBA don't match)
No partition is bootable

___________

Appreciate any help.

Re: CHS and LBA don't match

Posted: 04 Mar 2023, 23:02
by recuperation
Use Photorec instead.

Re: CHS and LBA don't match

Posted: 06 Mar 2023, 17:47
by havrenomode
on photorec I receive the following message:
____________________
Disk capacity must be correct Referenced from: /var/root/Desktop/testdisk-7.2-WIP/photorecisted above has an incorrect size, check HD jumper settings and BIOS
detection, Expected in: /usr/lib/libSystem.B.dylibk drivers.

dyld: Symbol not found: ____chkstk_darwin
Referenced from: /var/root/Desktop/testdisk-7.2-WIP/photorec
Expected in: /usr/lib/libSystem.B.dylib

Abort trap: 6
logout
-n Saving session...
-ne
...copying shared history...
-ne
...saving history...
-n truncating history files...
-ne
...
completed.

[Process completed]
_____________________

Re: CHS and LBA don't match

Posted: 06 Mar 2023, 20:35
by recuperation
Please check if you comply with the Apple requirements. Read Chapter 6, "Starting the tools".

https://www.cgsecurity.org/testdisk.pdf