RE: Re: [ILUG] Agh! Help!

From: phil at domain techworks.ie
Date: Thu 13 Jun 2002 - 11:43:48 IST


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 domain oceanfree.net
Date: Thu, 13 Jun 2002 10:47:56 +0100
To: ilug at domain 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 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
-- 
Irish Linux Users' Group: ilug at domain linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at domain linux.ie
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:14 GMT