From: David Neary (dneary at domain wanadoo.fr)
Date: Thu 13 Jun 2002 - 10:40:57 IST
Philip Trickett wrote:
> The command used was:
> dd if=bootnet.img of=/dev/hda
> It looks as if it took the partition tables with it as well when this
> happened as fdisk cannot see any partitions.
OK - first things first, get a partition table. Let's hope you
had a /boot partition in the first 144, and that you haven't
over-written the root partition. Boot a rescue disk, and re-write
the old partition table to hda using fdisk. You should now have
all your old data, at least. But you've probably nuked the start
of the first partition, which will cause issues. If it's the boot
partition, we're still in business. Re-format the partition, and
copy the kernel from the rescue disk over. Now try rebooting.
In the absence of a paper copy of teh partition table, or at the
very least a binary copy from another machine, you're in trouble.
If needs bee, you can manually edit the patrition table, but
you'd need to know where the partitions were. One good thing -
you only need to re-do the primary partitions, since the extended
partitions will still be OK.
-- David Neary, Marseille, France E-Mail: bolsh at domain gimp.org
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:14 GMT