 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

17th April 2012, 12:01 AM
|
 |
Administrator
|
|
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309

|
|
Yikes! Oopsy!
I don't really want to talk about how it happened ... but ...
the 411:
A backup drive with a MINT10 install being used for back-up file storage
An unguarded moment with gparted, and the wrong drive selected.
All partitions deleted
I haven't written anything to it since. (I figured out the screw-up when the wrong drive noise came out of the box.)
Question: (to which, I'm afraid I already have the answer.)
Is there any reasonable way to restore the partitions, and therefore the data?
|

17th April 2012, 12:04 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,924

|
|
|
Re: Yikes! Oopsy!
Somewhat of a senior moment Dan? Seriously, wish I could tell you what you want to hear, but ... I can barely turn these danged things on.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

17th April 2012, 12:09 AM
|
 |
Administrator
|
|
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309

|
|
|
Re: Yikes! Oopsy!
Uhm ... Yeah. 500 gigs of photo archives just went into the great galactic bit-bucket. <..  ..>
|

17th April 2012, 12:21 AM
|
 |
Registered User
|
|
Join Date: Sep 2009
Posts: 1,409

|
|
|
Re: Yikes! Oopsy!
I've never had to do it, but I think I've read that partitions can be restored. If not, the bits are still there, unless you did a low level format. Considering my lack of experience, I'd say google is your friend. I'm sure there's a good thread by Anduic? perhaps on recovering data from dying drives.
Good luck,
dd_wizard
|

17th April 2012, 12:22 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,924

|
|
|
Re: Yikes! Oopsy!
That really s*cks. Any of it on old forgotten and decomissioned hard disks?
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

17th April 2012, 12:23 AM
|
|
Registered User
|
|
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,092

|
|
|
Re: Yikes! Oopsy!
Do you happen to know what the partition table entries were?
Mostly you just need to know the size of each partition, then recreate the list (mind, in the same order).
Once the partitions are re-established, everything should just suddenly reappear.
The only things lost should be boot blocks, and if you had LVM volumes on there (might be tricky).
I've done that - once with a "blank" new disk from the vendor (it had no partition table). I then, out of curiosity, ran a fsck on it before creating a filesystem... and poof - there was a valid filesystem. The only file in that filesystem turned out to be a slightly modified source to the date command.
|

17th April 2012, 12:23 AM
|
|
Registered User
|
|
Join Date: Jan 2010
Posts: 4,976

|
|
|
Re: Yikes! Oopsy!
https://www.linux.com/news/enterpris...our-hard-drive
Untested by me. I did once try test disk after a drive containing part of an LVM died, and the files were there, just almost impossible to find.
|

17th April 2012, 12:27 AM
|
 |
Retired Again - Administrator
|
|
Join Date: Nov 2007
Location: Reality
Posts: 3,034

|
|
|
Re: Yikes! Oopsy!
I feel your pain.
Quote:
Originally Posted by Dan
Is there any reasonable way to restore the partitions, and therefore the data?
|
Reasonable, no. But maybe possible.
I've not heard of any other way, but I've recovered some data (at work) before via a forensic service - data was extracted byte by byte, but what you really want to know is whether the partition/file tables can be recovered. I'd contact a professional forensic service and ask what they can do.
I use alternating backup disks and keep them locked away for this very reason ... not that that's much consolation now.
__________________
.
Marching to the beat of his own conundrum.
|

17th April 2012, 12:35 AM
|
 |
Registered User
|
|
Join Date: Sep 2009
Posts: 1,409

|
|
|
Re: Yikes! Oopsy!
Here's the thread I was thinking of, Dan. I almost spelled the author's name right, it's Adunaic.
dd_wizard
|

17th April 2012, 01:00 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: Yikes! Oopsy!
times like this you need leigh around  . goodluck Dan
|

17th April 2012, 01:13 AM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 876

|
|
|
Re: Yikes! Oopsy!
What about testdisk/photorecord?
|

17th April 2012, 01:13 AM
|
 |
Registered User
|
|
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,099

|
|
|
Re: Yikes! Oopsy!
What about gparted's Device/Attempt Data Rescue menu entry?
Looking at the gparted docs, they recommend using testdisk to recover partition tables:
http://gparted.sourceforge.net/displ...artition-table
|

17th April 2012, 01:31 AM
|
|
Registered User
|
|
Join Date: Feb 2010
Posts: 16

|
|
|
Re: Yikes! Oopsy!
Bad, really bad man.. whatever You do: Do NOT create a new file system if You are going for the data at the disk. Sorry to hear about it man. I myself ALWAYS disconnect every other drives than root+home during system install. Good Luck man.
|

17th April 2012, 01:39 AM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,689

|
|
|
Re: Yikes! Oopsy!
Was it only the partition tables that were changed? If so, searching for ext4 super-blocks should find the start blocks of the old partitions if you don't remember the details. I'm not sure how to do that off-hand, but I guess there should be magic numbers and header structures that can be searched for, or maybe the software others have mentioned can do it.
If you've modified the partition contents (e.g. formatting them), ext4 creates back-up super-blocks at regular intervals, so unless your new partitions match the old ones exactly, there should be old ones still present. After finding them, it's presumably a case of using fsck (with the -b option) to retrieve whatever hasn't been overwritten. It'd be a tedious process but I expect the bulk of your data (and file-system structure) should be intact as long as it wasn't physically overwritten.
---------- Post added at 01:39 AM ---------- Previous post was at 01:39 AM ----------
Oh, and insert the usual stuff about working with images rather than the original drive if that's feasible. I assume some of the software mentioned by others does this stuff for you, the main point is that most of the data should be recoverable with the right software, or professional data-recovery services.
Last edited by Gareth Jones; 17th April 2012 at 01:56 AM.
Reason: Made post a bit more cautious, I'm speaking theoretically rather than from practical experience I'm afraid.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 07:12 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|