LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 01:42 PM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Rep: Reputation: 88
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, 02:47 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

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

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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, 10:14 AM   #4
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
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, 12:06 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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, 12:27 PM   #6
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
Thank you for the info.
 
Old 06-15-2011, 01: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



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 09:18 AM
recover files after rm -rf ufmale Linux - Software 2 05-08-2009 03:37 PM
How to recover files kadharris Linux - Newbie 5 02-20-2007 03:16 AM
HELP: How to recover rm -rf files? fhleung Linux - Newbie 3 05-10-2006 11:43 AM
Recover Files Pablop Linux - Newbie 3 10-19-2005 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 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
Open Source Consulting | Domain Registration