From: Conor Daly (conor.daly at domain oceanfree.net)
Date: Thu 13 Jun 2002 - 10:44:34 IST
On Thu, Jun 13, 2002 at 10:22:49AM +0100 or so it is rumoured hereabouts,
Philip Trickett thought:
> Hi,
>
> Would anyone have any suggestions for the following:
> A user, not really in an awake mode, was trying to create a new network
> boot floppy for the installation of RedHat 7.3 over a network. The
> command used was:
> dd if=bootnet.img of=/dev/hda
> Now, you can see the problem, as the first 1.44 mb of the hard disk was
> overwritten by the install floppy image, and the computer just does
> exactly as the install image would do when it is booted.
>
> It looks as if it took the partition tables with it as well when this
> happened as fdisk cannot see any partitions.
>
> Would anyone have any suggestions? As there was some stuff on the
> machine which was quite useful.
If you know the *exact* partition boundaries and types, you _may_ be able
to just remake them using fdisk (do NOT! mke2fs them after or you'll
definately lose them!). If the first partition is something easy (eg
/boot), you might get all your data back from other partitions but you're
not likely to get /dev/hda1 back (IMO that is...)
Conor
-- Conor Daly <conor.daly at domain oceanfree.net> Domestic Sysadmin :-) --------------------- Faenor.cod.ie 10:38am up 20 days, 19:56, 0 users, load average: 0.01, 0.06, 0.07 Hobbiton.cod.ie 10:44am up 20 days, 20:05, 2 users, load average: 0.05, 0.12, 0.09
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:14 GMT