Subject: Re: Restoring BSD partitions and disk-labels.
To: Gareth Fairey <gareth@fairey.org.uk>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 07/31/2002 20:46:36
On Wed, Jul 31, 2002 at 12:41:53PM +0100, Gareth Fairey wrote:
> While rearranging the partitions on the hard disk of my home computer 
> under Linux, I did a stupid thing. My NetBSD disklabel was visible to 
> Linux, so I could access my NetBSD partitions there, but I managed to 
> inadvertantly create an ext2 filesystem on the root partition. I've 
> saved a copy of that partition elsewhere, where it is still visible, 
> whereas the disklabel is not now accessible at all.
> 
> Is there anything I can do to recover the data from that partition? 
> (That's my main concern as I'm happy to re-install)

Well, if you have overwritten it with other data, there's no much luck you
can recover it.
For the disklabel, if you have a backup of the root partition, you
should have a copy in var/backups/disklabel.wd0

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--