On Thu, Jun 13, 2002 at 10:22:49AM +0100 or so it is rumoured hereabouts,
Philip Trickett thought:
>> 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 Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
10:38am up 20 days, 19:56, 0 users, load average: 0.01, 0.06, 0.07
10:44am up 20 days, 20:05, 2 users, load average: 0.05, 0.12, 0.09
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!