LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I recover my files in my hard disk? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-recover-my-files-in-my-hard-disk-880922/)

SHENGTON 05-15-2011 11:37 PM

How can I recover my files in my hard disk?
 
Hello guys, good noon. :)

All my important files is already gone because I accidentally reformatted my 160GB hard disk. What software should I use to recover my files?

Thanks and God bless.

gilead 05-15-2011 11:49 PM

Have you looked at tools like testdisk and photorec? I've had varying results with these but if you're going to use them, don't boot from the affected disk or make any writes to it.

SHENGTON 05-16-2011 12:33 AM

Hello gilead, good afternnon. :)

Yes, just installed now. Is testdisk designed for recovering files or the photorec?

Thanks and God bless. ;)

TobiSGD 05-16-2011 05:49 AM

You have to use photorec. Keep in mind that it will find almost all files on the disk, not only the ones you want, so you have to have a big enough backup medium.

I hope you learned how important it is to backup regularly.

vikas027 05-16-2011 06:19 AM

Quote:

Originally Posted by TobiSGD (Post 4357695)
You have to use photorec. Keep in mind that it will find almost all files on the disk, not only the ones you want, so you have to have a big enough backup medium.

I hope you learned how important it is to backup regularly.

Indeed, I just installed new machine CENTOS 5.6, created a test file -- /tmp/vikas.pdf and deleted it to test photorec.

It recovered 1.3 GB of files and was asking more space, God knows what it had recovered.
No way this is possible.

It didn't worked out for me.


All times are GMT -5. The time now is 02:29 PM.