LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-10-2007, 11:16 PM   #1
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Rep: Reputation: 36
Complicated partition problem -


Ok, I screwed up. The long and the short of it is I formatted a partition on a system that the bios could not handle the size of the drive.

This drive is an IDE 300gig Western Digital. Has/had a 50gig NTFS partition and another 250gig NTFS. In my haste, replaced the motherboard with one who's BIOS apparently cannot read such large drives. I began to install XP on it, and it saw the different partitions, just considered them damaged. Anyway, I formatted the 50gigs before I realized what was going on.

My question is - if I slave the drive on a Linux machine, will an application like GPART help me fix things long enough to get the data on the 250gig partition off the drive? Or is there another solution? Just how screwed am I? I will learn HEX if that's what it takes
 
Old 01-11-2007, 12:50 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
You will be better off with windows tools trying to recover that data. If the partition was just deleted or reformatted with no data written to the drive, You should be able to get it back with some of the widely available data recovery tools.

The best freebie one is PC Inspector:

http://www.pcinspector.de/file_recovery/uk/welcome.htm

The best for pay one I've found is Ontrack Easy Recovery:

http://www.ontrack.com/easyrecoverydatarecovery/

But it's not cheap($200 for the home edition). However, they have a free trial version that will tell you what it can recover if you by it. Ontrack is pretty much the Cadillac of the data recovery software available

Another more modestly priced one that I've heard good things about but never used is GetDataBack($80):

http://www.runtime.org/buy_now.htm

The critical thing is to make sure no data is written to the drive you want to recover data from. The more data that was written to it, the more problems your likely to have.
 
Old 01-11-2007, 12:53 AM   #3
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Original Poster
Rep: Reputation: 36
Thanks so much for the help! I'll check all those out!

Yeah - that's the thing. I'm not exactly sure just what got written over - it was just going to format 50gigs, but if it didn't know where the 50 began and ended - God only knows what happened. I'm keeping my fingers crossed that it only messed with the 50gigs and only the File Allocation Table got wiped out.

-=[EDIT]=-
If money were no object - what's the best choice? And will trying with one mess up another attempt with another application?

Last edited by Galaxy_Stranger; 01-11-2007 at 01:07 AM.
 
Old 01-11-2007, 01:51 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
If moneys no object, the Ontrack one is the way to go. I believe they also have a service which will recover the data for you for a fee. But again, it's not cheap.

If you have a spare drive with lots of space, apparently 300GB of free space or a blank spare drive of the same or greater size, you can do a sector by sector backup of your damaged drive to it in linux using the dd command:

# dd if=/dev/<device file of damaged drive> of=/dev/<device file of backup drive>

You can even back it up to a file with:

# dd if=/dev/<device file of damaged drive> of=/<path to directory to store image file>/file_name.img

That way you can fool around with the drive to your hearts content and not worry about losing anything although the tools should not do anything to the drive itself. But I can't guarantee that.
Be advised that it takes a long time to run this software; I had to recover an 8GB partition with PC Inspector and it took 12 hours but I got my data back. You can try Ontrack's free version to see what data it can get; it should run faster than PC Inspector as it's a professional tool. Running the dd command on a 300GB drive will also take a long time so be prepared for that.

Formatting and partitioning operations are usually no problem to recover from because the data is still there. Those operations just mark the sectors on the drive; they do not overwrite data. If data started getting written to the drive, that's when you start having trouble.

Last edited by kilgoretrout; 01-11-2007 at 01:54 AM.
 
Old 01-11-2007, 01:58 AM   #5
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Original Poster
Rep: Reputation: 36
Very Cool.

If I use Ontrack, (or PC Inspector for that matter), will I be able to copy things out piece-meal? Or will I be restricted in how I can get the data off the drive?

This would give me time to pull stuff off and burn it, heheh.
 
Old 01-11-2007, 01:57 PM   #6
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
It's been a long time since I've used either tool but I don't believe so. I'd try PC Inspector and if that doesn't work or is taking too long, try the trial version of Ontrack and see if it can do the job faster/better. See what Ontrack can recover and decide if you want to pay for it.
 
Old 01-12-2007, 03:14 PM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
You may not be as screwed as you think.

If you are lucky, the 250 GB partition whose data you care about wasn't touched. If so, you can access it using a bootable Linux "live" CD such as Knoppix & copy it to safety.
 
  


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
more complicated Fedora problem theguitarness Linux - Newbie 4 03-07-2006 09:50 PM
ipw2200 ...this looks complicated jnsg Slackware 7 12-22-2005 11:03 AM
Complicated Network XTJ7 Linux - Networking 9 05-18-2004 12:48 PM
kinda complicated fragger Linux - Networking 10 01-27-2004 08:39 AM
Complicated Dual Boot problem with Win2K and RedHat 8 on separate ide controllers jweby Linux - General 7 06-23-2003 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:06 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