Page 1 of 1

Recover hidden dmg file (macOS M1)

Posted: 26 May 2022, 08:42
by novexfarmer
Hi, I've deleted a folder about 2 to 3 weeks ago, witch contained an hidden and encrypted dmg file, the mac (M1) was restarted several times and the Trash also emptied several times. My guess is that's impossible to recover that, but I wan't to give it a try (just because after trying Disk Drill, it shows an "Reconstructed" dmg file with 5GB).

Using testdisk 7.1 with root permissions, the media (disks) don't have the right size, it shows 4 disks (1 dev/disk and 3 dev/rdisk), none of those have more than 1GB

I couldn't compile the 7.2 in my machine, there is anyway to install 7.2 using homebrew?

PS: there is a typo in the instructions https://www.cgsecurity.org/testdisk.pdf, on page 16, "cd e2fsprogs-1.46.2 && confifure && make && cd .." it's written "confifure"

Re: Recover hidden dmg file (macOS M1)

Posted: 26 May 2022, 16:38
by cgrenier
TestDisk 7.2-WIP for Mac OS X Intel 64-bit is available from https://www.cgsecurity.org/wiki/TestDisk_Download
Can you check the disk capacity ?

Thanks for reporting the typo, it's now fixed ;-)

Re: Recover hidden dmg file (macOS M1)

Posted: 26 May 2022, 18:46
by novexfarmer
Thanks for the reply ;)

Disk Utility:

disk3s1s1
capacity: 245,11 GB
available: 69,39 GB (11,6 GB purgeable)
used: 184,07

system: APFS (Encrypted)
---

TestDisk 7.2-WIP, Data Recovery Utility, March 2022

Select a media (use Arrow keys, then press Enter):
>Disk /dev/rdisk1 - 524 MB / 500 MiB (RO)