Benjamin Scott wrote:
>
> On Fri, 5 May 2000, Jeff Macdonald wrote:
> > Like a bonehead, I did this:
> > dd if=loaf1.img of=/dev/hda1
> > instead of this:
> > dd if=loaf1.img of=/dev/fd0
> >
> > So I figured I blew the partition table, and maybe just command.com?
>
> Derek's right, you are well and truly screwed. You blew away the partition
> table, the media descriptor, the root directory, and the file allocation
> tables. (You actually may not have blown away COMMAND.COM, as that file is
> not physical location dependent.) The FATs are the really nasty part. You
> can reconstruct chains of raw data if you have at least one good FAT, but
> otherwise, your file fragments are just so much random bytes... :-(
>
Is the partition table gone? He overwrote hda1, not hda (although,
with the FAT gone, MS-DOS doesn't know what data is where, so the data
is probably unrecoverable)?
If you want, I know the older versions of Norton let you hex edit the
data, but you would have to go through all the data by hand, & hope
you can recognize programs, data, etc. Massive pain, often it's
easier to recreate from scratch, then backup.
jeff
------------------------------------------------------------------------
Jeffry Smith Technical Sales Consultant Mission Critical
Linux
[EMAIL PROTECTED] phone:978.446.9166,x271 fax:
978.446.9470
------------------------------------------------------------------------
Thought for today: The explanation requiring the fewest assumptions
is the most likely to be correct.
-- William of Occam
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************