Hi Just a quick update:
First of all, thanks for all the replies!
My first partition /dev/hda1 is actually my win2k partition which I keep around for things that I just can't run on linux (like the Ericsson T68 sync software). So if the start of that is trashed, I don't really care, as it is FAT32, so I can read it.
I am using gpart at the moment to scan the disk, and it has found 2 partitins so far. This is a 48G disk so it is taking a while.
Once I have succeeded though, I'll put a bit up on the web about it. It is always useful.
Phil
Original Message:
-----------------
From: Conor Daly conor.daly at oceanfree.net
Date: Thu, 13 Jun 2002 10:47:56 +0100
To: ilug at linux.ie
Subject: Re: [ILUG] Agh! Help!
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 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
--
Irish Linux Users' Group: ilug at linux.iehttp://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
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!