Page 1 of 1

testdisk does not list all drvies in HDD MacOS

Posted: 12 Jan 2023, 00:46
by newbee
Issue: When running testdisk in macOS Monterey, it does not list the internal hard drives.
Objective: I had a video file on the internal Hard drive that was deleted and mistakenly cleaned the trash, which I want to recover.
Configuration already done:
System Preferences –> Privacy & Security –> Full Disk Access –> Enable for Terminal

Note: I have installed testdisk application on a the same internal HDD that I am trying to recover the only deleted file from

testdisk output: (looks like this)
----------------------------------------------------------
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org

TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY.

No harddisk found
You need to be root to use TestDisk.
---------------------------------------------------------

Can someone please suggest on how to fix this issue to list out all the partitions of a HDD?

Re: testdisk does not list all drvies in HDD MacOS

Posted: 12 Jan 2023, 09:37
by recuperation
Crossposting.

https://superuser.com/questions/1762056 ... 66_1762208

You already got all the necessary information including a reference to the Testdisk manual.

Re: testdisk does not list all drvies in HDD MacOS

Posted: 12 Jan 2023, 16:16
by newbee
Hi recuperation,

Does testdisk does not read APFS system ?

The testdisk manual does not speak about unsupported formats - APFS.
Just wondering, are there any other solution ?
One of the responders in superuser asked to check with CGSecurity.com.

Thank you!
newbee