No option to scan only unallocated space Topic is solved

Using TestDisk to undelete files
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
detic
Posts: 2
Joined: 08 Aug 2022, 07:30

No option to scan only unallocated space

#1 Post by detic »

Unfortunately this is the same issue as viewtopic.php?t=10454, viewtopic.php?t=7906, and viewtopic.php?t=8619 by just another user of photorec.

The disk I'm trying to recover data from is a 2 TB SATA disk with a GPT partition table, and one partition with an ext4 file system on it:

Code: Select all

$ sudo parted -l

<other disks>
Model: ATA ST2000DM006-2DM1 (scsi)
Disk /dev/sdd: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  2000GB  2000GB  ext4
<other disks>
You can see all the screens until photorec does _not_ ask whether to scan only free space or the whole partition and rather skip directly to the scanning of the whole partition:
screenshots-photorec__.jpg
screenshots-photorec__.jpg (379.34 KiB) Viewed 18421 times
I was using the disk until I accidentally deleted a directory with lots of

Code: Select all

jpg/gif/txt/odt/mp4
files, which I'm trying to recover with photorec now. I use the disk as a movie disk, so it mainly consists of large, mostly .mp4 files. The disk is healthy; the only partition (ext4) is mountable, and accessible. I left it unmounted since the accidental deletion. I start photorec as

Code: Select all

sudo photorec
And not able to scan only the free space, it is very disturbing because I don't wanna scan a 2 TB disk full of .mp4 files for .mp4 files, which will be like cloning the disk! Please help. Thanks!
Last edited by detic on 08 Aug 2022, 16:54, edited 1 time in total.

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: No option to scan only unallocated space

#2 Post by recuperation »

Please modify your posting with invisible pictures by uploading your pictures to this site using the attachments tab.

detic
Posts: 2
Joined: 08 Aug 2022, 07:30

Re: No option to scan only unallocated space

#3 Post by detic »

recuperation wrote: 08 Aug 2022, 14:13 Please modify your posting with invisible pictures by uploading your pictures to this site using the attachments tab.
Sorry, done!

Locked