Page 1 of 1

Scripted Run [Whole Disk]

Posted: 26 Oct 2019, 12:49
by hobocrunch
When I run photorec manually through the UI, I can choose [Whole Disk] instead of a partition.

I use the following

Code: Select all

photorec /d /root/Documents/Recovery/dev/sdc /cmd /dev/sdc options,keep_corrupted_file,paranoid,fileopt,everything,enable,search
Using the command line I cannot find any combination that will select [Whole DIsk], it always chooses the default partition.
I've used

Code: Select all

wholespace
and also tried

Code: Select all

partition_none

Re: Scripted Run [Whole Disk]

Posted: 26 Oct 2019, 14:07
by cgrenier
It should work if you choose "partition_none".
As each filesystem may have a different blocksize or partition alignment, you may get better results if you search lost data partition by partition