Questions tagged [photorec]

PhotoRec is a free and open source file carver data recovery software tool designed to recover lost files from digital camera memory (CompactFlash, Memory Stick, Secure Digital, SmartMedia, Microdrive, MMC, USB flash drives, etc.), hard disks and CD-ROMs. It recovers most common photo formats, including JPEG, and also recovers audio files including MP3, document formats such as OpenDocument, MS-Office, PDF and HTML, and archive formats including ZIP.

Filter by
Sorted by
Tagged with
0 votes
0 answers
59 views

How to extract data from ELF files recovered by Photorec?

I recovered all the files from a partition by using Photorec. Now I have thousands of recup_dir.* directories containing thousands of f*.elf files. How can I extract the data from all the *.elf files? ...
user avatar
0 votes
0 answers
32 views

How to recover OVA files using photorec?

So I want to recover an OVA file and testdisk couldn't help with that and I know that it will work with photorec but I don't see the OVA extension in file options. I tried This but they don't give ...
user avatar
0 votes
0 answers
18 views

How do I Make a run directory that will contain a usb disk

I am attempting recovery of an accidentally deleted share. Photorec finds the files but will only save them to the internal HDD. How can I point the recovered files to the hdd connected by USB. Being ...
user avatar
  • 1
1 vote
0 answers
25 views

Installed Ubuntu on top of Windows 7 Parition, thus lost an important file!

Hi there. I had win 10 and 7 installed on dual boot, then i decided to download and install UBUNTU, in the installation process, i chose to install it on top of the win 7 partition, so it had to erase ...
user avatar
0 votes
1 answer
978 views

ext4 recovery (extundelte error: malloc(): invalid next size (unsorted))

After accidentally deleting mp4 files I created an image of the mounted 5-TB-partition for recovery. It has been quite some time between deletion and imaging, as I did not notice the issue very ...
user avatar
0 votes
1 answer
103 views

System not booting with no free disk space

I have used PhotoRec/TestDisk on my laptop with Ubuntu 18.04.5 to recover some deleted files from the ext4 filesystem. I first let it do its work on the entire partition, all extensions. And PhotoRec ...
user avatar
0 votes
0 answers
121 views

Restore Session Buddy files from deleted `.config/google-chrome`

I use the Sessions Buddy Chrome extension to compartmentalize interesting links to different domains of interest. Today, I've got a notification from Chrome saying that I should reinstall it (the ...
user avatar
0 votes
1 answer
110 views

Photorec recovered directory - asking for missing operand

Used Photorec to recover files. They were grouped in a folder " recup_dir.1" in home folder with a lock symbol. Owner was 'root' Used chown in the undergiven format to change owner and ...
user avatar
3 votes
1 answer
561 views

Decrypt ecryptfs files recovered from photorec

I have managed to recover files from a disk with a damaged partition table using photorec. Photorec does not preserve the file name or file structure so all I have are a bunch of randomly named files ...
user avatar
0 votes
0 answers
118 views

I overwrote my external hard drive. Can I recover files?

I was trying to make a bootable USB drive. I entered the following: root@BlackBox:/home/bgp# pv XP32bit.iso > /dev/sdb I let it run, and then became aware that I had the wrong target. I meant to ...
user avatar
4 votes
4 answers
3k views

Files/Directories on exFat are not visible from Windows

Ubuntu 18.04 LTS exfat-fuse / exfat-utils 1.2.8-1 (The latest version that will install after running sudo apt-get update.) Linux is writing files to a Windows exFat partition on a Windows OS disk ...
user avatar
  • 508
0 votes
1 answer
1k views

PhotoRec extension customization is taking parts not defined in the signature

when i tried to recover my .m files which are considered as .txt for photorec. I tried to add my own extension. After creating .m file containing the word tic while in the .photorec.sig file i added ...
user avatar
1 vote
1 answer
523 views

Photorec : No file found in a full 64GB SD card. What to do?

Recently my memory card (Samsung Evo 64GB, almost full) was showing 'corrupt' on my Tablet. So I tried to recover the important details using photorec. It ran for around 1 hour but 0 files have been ...
user avatar
  • 264
2 votes
1 answer
1k views

How do I mount an IMG file in Ubuntu for Photorec (beginner at linux)

I created a copy of my 1tb HDD drive from ddrescue and wanted to mount this IMG file to then recover data from Photorec. How to mount an IMG file as if it was an actual HDD/pen drive inserted by USB. ...
user avatar
3 votes
1 answer
1k views

Can I use ddrescue & Testdisk in ubuntu to create image to recover data? [duplicate]

I mistakely installed ubuntu over my 1tb drive removing essential data and photos which took about 5 mins to install, so I want to know if I can use ddrescue in Ubuntu to create a virtual image of the ...
user avatar
0 votes
0 answers
469 views

Cant view any folders or files inside users home folder using testdisk?

I have installed the testdisk using sudo apt install testdisk and using this I want to view and recover some deleted files in ubuntu 16.04. I selected my linux partion in testdisk sudo testdisk /...
user avatar
  • 2,767
0 votes
0 answers
554 views

How to recover json firefox files using photorec testdisk?

On the wiki it says that json files are supported but json file format is not listed when using photorec file options. On the cgsecurity forums, some people have suggested that this is considered a ...
user avatar
  • 109
0 votes
1 answer
3k views

Instruct Photorec to look for a specific file

I want to recover a source code java called prog.java using photorec, I have already enabled my custom signature to look only for .java files but it still produces too many files to search through. ...
user avatar
  • 563
0 votes
0 answers
320 views

Recover deleted files from encrypted drive

I was organising pictures when I accidentally deleted a big part of my good pictures along with the thrash pictures. So I instantly stopped all file transferring actions and ran photorec (would have ...
user avatar
  • 200
4 votes
0 answers
61 views

How to recover lost data after installing Ubuntu 16.04 [duplicate]

This has been asked quite a few times before but I want to add something extra hence a new question. Please take a moment before marking it as a duplicate. I had dual booting with Windows 10 and ...
user avatar
  • 181
1 vote
0 answers
741 views

Ubuntu disk full after running photorec

I ran testdisk and photorec when attempting to recover a deleted file. When I ran testdisk, I selected the option to create a log file and it aborted because the disk was full. I deleted the testdisk....
user avatar
2 votes
0 answers
1k views

Will it take 3 years to recover 1TB data? [duplicate]

I can not access my 1 TB HDD in any system ubuntu or windows after I recently tried to backup my ubuntu system on the external HDD using inbuilt applications (Backups, Deja Dup) . Backup was taking ...
user avatar
  • 131
1 vote
0 answers
2k views

Recover Deleted MongoDB Database

Recently one of our servers got hacked and the hacker has managed to drop the entire database which contained some important data. We didn't have any backup so want to restore the database from the ...
user avatar
0 votes
1 answer
112 views

I've run photorec to see if I could find some photos, I don't see any trace. Will running testdisk help?

I'm trying to find photos, they are in shotwell as "missing photos" so I thought I may have deleted them somewhere. I ran photorec and after many hours, I can't see any trace of them. Will running ...
user avatar
0 votes
0 answers
61 views

I uploaded photos to my computer, and deleted them off of my camera. Things got weird.

The photos I want are in Shotwells "missing photos." I can see their thumbnails there. I am running a photorec recovery job and after many hours, I still can't seem to find them (although still ...
user avatar
2 votes
2 answers
7k views

Recovering a lost file with testdisk

I was working on a LibreOffice Writer document when my computer turned off. No problem there, I booted up, went back into LibreOffice and it gave the option to recover everything. I left the document ...
user avatar
1 vote
0 answers
40 views

How to get phone memory in Ubuntu Terminal?

I have a Samsung smartphone, connected via USB cable with my HP laptop . I want to recover some of my deleted photos with photorec command form terminal. But while I give command $ cd /media/hp, I ...
user avatar
  • 439
4 votes
1 answer
16k views

How to recover files from a given directory using photorec

I want to recover some files using PhotoRec. Although I've used it before, I am not familiar with making it look only in one given directory. Any idea how to do it?
user avatar
  • 417
0 votes
1 answer
5k views

How to copy files from testdrive

I had win 10 and I installed ubuntu. During the process I formatted the entire hard drive. Then I used testdisk on live usb. I can explore files in it but cant figure out how to copy and recover them.
user avatar
3 votes
1 answer
140 views

Recover an partially(~5%) zero overwritten, external HDD with single partition

I have an external Seagate HDD of 1TB. I was using the default partition it came with. Never repartitioned it. Yesterday I accidentally started reformatting it instead of my other disk, with an ...
user avatar
0 votes
2 answers
347 views

Restore deleted items by delete day

Is there any way to use photorec or another program to restore items deleted only within the last 2 days or so?
user avatar
2 votes
1 answer
1k views

Can not show external HDD during photorec

I have just formated my HP laptop (having 500 GB Hard Disk Internal) and install Ubuntu 14.04 LTS OS. while get back up for lost files, I install testdisk and run sudo photorec. All process is going ...
user avatar
  • 439
1 vote
1 answer
3k views

Recover data from external disk using testdisk and photorec

So I had my partition tables gone corrupt somehow after writing a media file over the network to the external HDD of my media center. Following the steps from this answer, I tried quick- and ...
user avatar
  • 1,059
1 vote
1 answer
87 views

Recovering lost space due to PhotoRec

I accidentally deleted a important folder, and attempted to use testdisk (photorec) to recover the files. However, it kept taking longer and longer so I stopped it. It created 18 folders in home, ...
user avatar
  • 91
1 vote
0 answers
133 views

photorec recovery of a deja dup recovery

is it possible? I am attempting to recover deja dup files for a USB stick. I lost the files after an OS upgrade and then my USB stick broke (physically cracked the all in one chip). Really bad timing. ...
user avatar
1 vote
1 answer
187 views

Can I recover photos with photorec via bluetooth?

I've accidentally deleted photos that are on my phones internal memory. The only way to access my phone is via bluetooth, but photorec won't accept it as a valid target: ╰─$ photorec obex://[F4:9F:54:...
user avatar
1 vote
1 answer
2k views

Recover only Java source code in photorec

I would like to recover only Java source code and XML files in photorec, but they are not listed on the list in the File Opt. There is Java class, but I'm not looking for files with .class extension ...
user avatar
  • 123
0 votes
2 answers
95 views

Files impossible to wipe, where are they saved?

I installed Ubuntu on a USB disk, my installation is: sudo fdisk -l /dev/sdb Disk /dev/sdb: 7773 MB, 7773585408 bytes 240 heads, 62 sectors/track, 1020 cylinders, total 15182784 sectors Units = ...
user avatar
  • 1
0 votes
0 answers
89 views

Testdisk and eCryptfs single files [duplicate]

Recently i've recovered my Downloads directory with testdisk but all files recovered are in .eCryptfs file extension. Now i need to decrypt it for find my PHP lost files, how I can do it? Thank you
user avatar
  • 1
0 votes
2 answers
4k views

How do I recover .jpg files on Ubuntu?

How do I recover delete files with just with just the .jpg extension in Ubuntu? I already tried "photorec", but it recovered all the files.
user avatar
0 votes
2 answers
838 views

under which extension does photorec search for .tex file

under which extension does photorec search for .tex file? I cannot run the command fidentity using terminal. So does anybody know of that? Thanks a lot!
user avatar