Can't seem to set search to unallocated space only

Using PhotoRec to recover lost data
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
Post Reply
Message
Author
adcpr
Posts: 2
Joined: 04 Aug 2019, 04:35

Can't seem to set search to unallocated space only

#1 Post by adcpr » 04 Aug 2019, 04:49

I've just switched to Linux Mint (19.1) from windows and somehow managed to delete a file. Since I'm completely new to this, I'm stumbling around a bit trying to learn a lot of things at once, so I apologize if my question has an obvious answer. I use sudo photorec to start the program, I set the option for the file type I'm looking for (gz) as well as the other options (yes only to brute force disabled), and select the file system (ext4), but as soon as I select it and proceed, it starts the search without giving me the option of searching the whole disk or just unallocated space. I've read the manual, but I must be missing something. Any advice would be greatly appreciated!

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 4847
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Can't seem to set search to unallocated space only

#2 Post by cgrenier » 04 Aug 2019, 08:25

The partition you have selected is probably not an ext4 filesystem, otherwise PhotoRec should have listed the option [Free].
If LVM is used on your disk, you have to select the logical volume (/dev/loop/XXX) instead of the disk and the partition.

adcpr
Posts: 2
Joined: 04 Aug 2019, 04:35

Re: Can't seem to set search to unallocated space only

#3 Post by adcpr » 04 Aug 2019, 15:43

Okay, thank you, I'll give that a try.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests