LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 01-21-2007, 04:01 PM   #1
guldan27
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Rep: Reputation: 0
usb hard disk formated by accident - howto recover the files


Dear all,

I am running fedora core 6 on a Thinkpad R52 (http://www.thinkwiki.org/wiki/Category:R52) with the kernel version 2.6.18-1.2798.fc6

I was reinstalling my fedora core 6. In the early stages of the installation, I was asked what hard disk drive to use and which settings to apply. I chose to remove every previous partition and reformat everything (the default if you want a fresh start), as I thought that my only hdd recognized by the installation would be the one built into my laptop. But I was wrong, I forgot to unplug my usb hdd during installation and it got formatted (ext3) too, as well as being used to store the new fedora core 6.

Now I am wondering whether the is a good program to recover all/parts of my files, actually if that is possible in the first place.

Please help me, all my files would be gone if not.

Charles.
 
Old 01-21-2007, 07:59 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
If it installed FC6 to that drive, you'll be hard pressed to recover much (if anything). Anywhere that the installer wrote to is essentially completely gone. (At least, without a VERY expensive recovery process). I'd look at many of the tools on the FIRE LiveCD for data recovery on this drive. (I.e., testdisk, grave robber, etc.)
 
Old 01-21-2007, 11:34 PM   #3
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 328

Rep: Reputation: 31
In all likelihood the files are gone. The levels of destruction go from just repartitioning (leaves most of the former data intact), then formatting (that randomly bulldozes over the data structures that made up the previous file system), and then actually writing data to it (where the formatting changed blocks sparsely just to establish the new file system structure, now you are actually using a lot more disk blocks). Seems you have done the latter... sorry. That said, and since I believe your current usb disk's data are not so valuable now, you can try to put the original partition map (was probably the whole disk) back and aggressively run fsck. It's worth a try, but don't get your hopes up too high.

Good luck. mlp
 
Old 01-22-2007, 06:35 AM   #4
guldan27
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
thanks for the replies, I will give running the recovery live cds a shot and tell you what happens.

Charles.
 
  


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 Linux Hard Disk yangontha Linux - Hardware 5 12-19-2006 04:56 AM
How to recover data from hard disk dongyan_liu Linux - Newbie 1 12-01-2005 05:56 PM
Recover files from formatted hard disk bankfishin Linux - General 2 10-22-2004 04:39 PM
USB External Hard Disk problem with large files nick1.41 Linux - Hardware 0 05-26-2004 07:33 PM
how do i recover my Hard Disk and MBR? Pisces107 Linux - General 5 12-25-2003 11:12 PM


All times are GMT -5. The time now is 11:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration