EcoModder.com

EcoModder.com (https://ecomodder.com/forum/)
-   The Lounge (https://ecomodder.com/forum/lounge.html)
-   -   Accidentally partioned a drive, how can I restore the data? (https://ecomodder.com/forum/showthread.php/accidentally-partioned-drive-how-can-i-restore-data-9343.html)

SVOboy 07-22-2009 04:39 PM

Accidentally partioned a drive, how can I restore the data?
 
The partitioning took like, 15 seconds, so I know the data isn't actually overwritten. As such I am wondering how I can recover it.

Using OSX 10.4, any help?

doviatt 07-22-2009 05:00 PM

How many partitions did you have?

You don't by chance have a copy of the original partition info (fdisk -l)...you could just put everything back (start and end sectors). If they were defaults you might be able to find these settings and reset them.


You are right your data is still there...just a bit inaccessible.

This info comes from a Linux perspective. OSX has similar tools and some times the same. Not quite sure about fdisk.

SVOboy 07-22-2009 05:05 PM

It has fdisk.

However, I don't think I have the original partition info. It was just one big partition on an external drive, however, so maybe I can reconstruct it knowing that?

roflwaffle 07-22-2009 05:14 PM

If you have a sufficient amount of spare storage I suggest using dd to make a copy of the image. Like doviatt said, if you can figure out what the original partition info was, just go back into fdisk and change everything back. Offhand I imagine it's probably FAT or HFS, but you should probably double check that.

doviatt 07-22-2009 05:15 PM

The fdisk -l just lists current known partition info. Non destructive. Try this and post results. I have access to some Mac Mini's I can poke at to help trouble shoot and try destructive things to so you don't have to loose your info.

Edit: fdisk -l /dev/sdx/ (use sda or sdb etc if sata or hda hdb etc if ide)
Edit 2: ok the above doesn't work on mac. I'm still checking how they define their drives.....

SVOboy 07-22-2009 05:58 PM

There is no fdisk -l command, says illegal operation.

I am on 10.5 now by the way, I just installed it in the last hour.

Thanks for the helping, trying to work it out :thumbup:

doviatt 07-22-2009 06:05 PM

The mac I have access to is sw_vers 10.5.3
I take it the subject drive is external?
Does the partition tab in disk utility show available space and Size being equal? If not drag the top of the blue partition window around.

hamsterpower 07-22-2009 06:11 PM

You could try Spinrite on it. this is not the primary purpose but it may work. You would have to pull the drive from the enclosure and temporarily install it in the main case.

GRC | Hard drive data recovery software

Good luck

SVOboy 07-22-2009 06:14 PM

This is how the screen looks atm in disk utility

http://benjaminftjones.com/images/Picture2.png

doviatt 07-22-2009 06:23 PM

Cool. Helpful pic.

Ok you now have 3 partitions. One called Media one called Blank_1 and Blank_2 on your external drive.

I will try something on my system. Like I said I can do destructive testing on this and loose nothing. I will re partition an external single partition drive like you have with the 3. Then I will try to partition again with the 1 partition option. This should restore things to the way they were. Don't try this yet on yours.

I'll let you know the results.


All times are GMT -4. The time now is 10:55 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com