help i am having strange problems from photorec. should i be using testdisk?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
help i am having strange problems from photorec. should i be using testdisk?
ubuntu@ubuntu:~/Desktop/v$
I checked off all the boxes for the different data formats. I maked ext2/ext3 as yes. Then I tried again. This time I got something strange. I got many files that look like this f369.exe , and I didn't have any windows 32 bit executable files on the hard drive with lost data. I lost data from a 20 gigabyte hard drive. I tried recovering by letting photorec run over night. When I woke up, photorec as still running and said out of space. It has filled up my 120 gigabyte drive and wanted to keep going. It looks like I am going to have to compile the program from source code, so I can get the newest version, and then try this again. I don't like the rm command in Linux. It would be better if rm sent files to the trash instead, but it doesn't. Are these problems known, or am I using the software incorrectly? What is the difference between testdisk and photorec? Should I be using testdisk? Has anyone had luck with this software? Please help.
I got many files that look like this f369.exe , and I didn't have any windows 32 bit executable files on the hard drive with lost data.
This could mean Photorec just can't properly detect images (anymore). Did you mount the victimized disk read-only mode all the time? What was the filesystem type of the disk? Did you try other tools depending on filesystem like NTFSUndelete (NTFS, of course), Fatback (FAT) or Foremost (similar to Photorec)?
I tried recovering by letting photorec run over night. When I woke up, photorec as still running and said out of space. It has filled up my 120 gigabyte drive and wanted to keep going. It looks like I am going to have to compile the program from source code, so I can get the newest version, and then try this again.
Reserving minimally two times full disk capacity should do in most cases. Filling six times that is kinda odd.
I don't like the rm command in Linux. It would be better if rm sent files to the trash instead, but it doesn't.
It would not because then people forget emptying their thrashcan and the system fills anyway. Someone here at LQ who had a similar unfortunate experience recently wrote an rm wrapper script that moves to thrashcan, or was that you?
What is the difference between testdisk and photorec?
These tools aren't comparable.
Photorec tries to recover files using file header and footer information ("file" command or "magic" man page).
Testdisk tries to recover your Hard Disks Master Boot Record or Partition Table.
should i replace rm with that script? no, it wasn't me that made it, but i had been thinking about making one. i need to replace rm with the script and put it in a bin directory correct? i can't find the script you are talking about on the forum. i tried searching. The reason I didn't try other tools is because it is hard to find file recovery software for ext3, but if you know of any good ones, please let me know.
Last edited by fakie_flip; 08-11-2006 at 06:18 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.