testdisk
Scan and repair disk partitions. tldr-pages
On several platforms
Several platforms
Start TestDisk on a specific device
sudo testdisk /dev/sdXIdentifyStart TestDisk on a disk image
sudo testdisk path/to/image.ddIdentifyStart TestDisk and create a log file (testdisk.log)
sudo testdisk /log /dev/sdXIdentifyList current partitions
sudo testdisk /listIdentifyDisplay version
testdisk /versionIdentify