LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2011, 02:42 PM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 578

Rep: Reputation: 37
Question Recover files


Hi Guys,

I have an external 250gb hard drive where I had copied all my documents, pictures, etc etc. I wanted to reinstall windows xp on internal hard drive but I made a mistake and deleted the partition on the 250gb external hard drive. Is there a way to recover those files? I didn't format the 250gb hard drive. If yes, which software do you guys recommend?

@Moderator: If this needs to be posted on another forum please let me know.
Thanks
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-10-2011, 03:47 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Try running testdisk on the drive.
 
1 members found this post helpful.
Old 06-10-2011, 03:55 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
photorec ?
http://www.cgsecurity.org/wiki/PhotoRec
extundelete-0.2.0.tar.bz2
http://extundelete.sourceforge.net/

take it someplace and pay $1000/gig


if ONLY the partation table was removed and the drive was NOT wrote to then
"SystemRescueCd"
http://www.sysresccd.org/Main_Page
might be able to recover the table
 
1 members found this post helpful.
Old 06-14-2011, 11:14 AM   #4
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 578

Original Poster
Rep: Reputation: 37
ok, I ran photorec and I was able to recover all my files. is there any way to run photorec and keep the original files names? I have a whole bunch of files name like 0458945.jpg etc etc
thanks
 
Old 06-14-2011, 01:06 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
You can try running testdisk to restore the partition table. If that works, the directory structure is restored and the files will have their names again.

There are a few scripts out there that can help try to rename files by reading embedded metadata. The photorec site has a few of them here.
 
2 members found this post helpful.
Old 06-15-2011, 01:27 PM   #6
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 578

Original Poster
Rep: Reputation: 37
Thank you for the info.
 
Old 06-15-2011, 02:42 PM   #7
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
@ceantuco: if you'll accept unsolicited advice this time, please mark the thread "solved", and consider punching the "helpful" button for those who helped. This is one of those threads where a couple strangers saved you a chunk of time and/or $$.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover Files saran_redhat Linux - Newbie 4 09-09-2010 10:18 AM
recover files after rm -rf ufmale Linux - Software 2 05-08-2009 04:37 PM
How to recover files kadharris Linux - Newbie 5 02-20-2007 04:16 AM
HELP: How to recover rm -rf files? fhleung Linux - Newbie 3 05-10-2006 12:43 PM
Recover Files Pablop Linux - Newbie 3 10-19-2005 06:45 PM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration