I'm a little late replying, but that's because I just went through something very similar. This might be too late for the original poster but perhaps it will help someone else.
Someone suggested later on in this thread that the GetDataBack utility be used. I don't have any experience with that program, but I did try several others. BPR - Boot Sector & Partition Repair ($197) http://www.pccertify.com/products/bpr.htm DiskPatch ($40) http://www.diydatarecovery.nl/~tkuurstra/DiskPatch.htm Active Partition Recovery ($30) http://www.partition-recovery.com/ I didn't buy any of them, but APR seems to be the best for the price. It's faster than BPR at scanning and easier to use than DiskPatch. Instead of purchasing one of the above, however, I slaved my hard drive in another pc, booted up and ran PowerQuest's Partition Table Editor. It's available in both DOS and Win32 varieties. Look for ptedit.zip/ptedit32.zip at: ftp://ftp.powerquest.com/pub/utilities/ Also, head.zip contains several utilities for saving/restoring the mbr/first head of the hard drive and partinfo.zip/partin9x.zip/partinnt.zip can help you figure out the correct parameters to use with ptedit/ptedit32. I then manually zeroed out the bogus partition table entries and recreated the entry for the missing partition. Not for the faint of heart, but not too difficult either. BTW, as a starting point... For an NTFS drive as your first primary partition the parameters for ptedit would look similar to the following (these are only a starting point, DO NOT just use them VERBATIM): 07 80 0 1 1 2481 254 63 0 39857265 Where: 07 = Type 80 = Active 0 1 1 = Start Cylinders, Heads, Sectors 1023 254 63 = End Cylinders, Heads, Sectors (The above shouldn't vary for large partitions on LBA drives) 63 = Sectors preceding partition 1 (This could possibly be 0 as well) 39857265 = Length of partition in sectors (This is the number you will most likely need to change) Obviously if you are working with a different partition number, type position, etc then all of the above will change. In other words, DON'T just use what I've written here VERBATIM to edit your partition table with, LOOK IT UP! If you are not comfortable researching for the correct info and/or hex editing, etc. then DON'T DO THIS! INSTEAD, BUY one of the above mentioned programs and let it do the dirty work for you. Personally, I didn't have anything worth $30+ on the lost partition, so I had nothing to lose. (Read as: SUCCESSFULL DAILY AUTOMATED BACKUP) Good Luck! Josh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ryan Bowman Sent: Saturday, 31 May, 2003 18:10 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [uug] fixing partition table I need some serious help here. I accidentaly installed grub on (hd0,0) rather than (hd0) which means I overwrote the partition table for my main drive partition, and I need it back, rather than installing it on the MBR like I meant to. Are there any utilities or any way to reconstruct the partition info so I can have access to whatever files weren't written over? By the way, it's an NTFS partition that I screwed up, but it was 17GB of data and I'd really like get as much of it back as possible, so any help would be GREATLY appriciated. Ryan 'You will find it is YOU who are mistaken, about a great many things...' - Emperor Palpatine 'Don't be too proud of this technological terror you've constructed. The ability to destroy a planet is insignificant next to the power of the force.' - Lord Darth Vader _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
