Well, I got some rest and took a walk to clear my head.  After getting back,
I started Googling and found a few options.

First, some tools:
1. gpart (some instructions and download here:
http://smokeping.planetmirror.com/pub/gpart/)
2. fixdisktable
(ftp://bmrc.berkeley.edu/pub/linux/rescue/fixdisktable-0.3.tar.gz)
3. testdisk
(http://www.esiea.fr/pulic_html/Christophe.GRENIER/testdisk.html)

Last resort, some good information in case I needed to manually rebuild the
partition tables:
1. [uug] fixing partition table
(http://uug.byu.edu/pipermail/uug-list/2003-June/003957.html)
2. [vox-tech] HOWTO [NOT] remove lilo...
(http://lists.lugod.org/pipermail/vox-tech/2003-January/004300.html) and the
reply (http://lists.lugod.org/pipermail/vox-tech/2003-January/004302.html)

I gave 'gpart' a whirl, and lo and behold if it didn't do the trick
admirably.  Kudos to the maker of gpart!

Sorry for the "911" post before Googling, but I didn't expect my head to
clear up any day soon (what with the cold bug going around) and I needed my
comp back ASAP.

Once again, the power of Open Source software never ceases to amaze me!

HTH someone else,
Curtis

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: September 24, 2003 6:28 PM
To: [EMAIL PROTECTED]
Subject: Whoopsie using 'dd' cmd, need advice


I need to make a note not to try anything that requires thinking when I'm
coming down with a cold...

I was trying to get LILO onto the MBR of the first disk (I have two) in my
system by copying the MBR from the second disk.  I won't go into the gory
details why, but suffice it to say it could've waited until I'd had some
sleep.  :P

Here's what I did:

dd if=/dev/hdc of=/dev/hda bs=512 count=1

Looking at it now, I'm laughing because it's so wrong, but I was tired and
wanted results... well, I got some.  :P

My question:  to what extent have I eradicated data on the first disk?  Is
there a way to get the partition tables back?

Thank you in advance,
Curtis

Reply via email to