Subject: Re: machine crashed, dumped, and is now *hosed*
To: Andrew Brown <codewarrior@daemon.org>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-i386
Date: 05/06/1997 18:16:46
-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 6 May 1997, Andrew Brown wrote:

> >	Do you know what/where the original partitions were on the disk?
> >	If you can reset the disk label you should be able to check each
> >	partition in turn to determine which are salvagable.
> 
> unfortunately no, i don't.  not off the top of my head anyway.  netbsd
> was the first 600 meg (or so) and the dos partition was next (size
> relatively unknown).  then a few linux filesystems and a swap partition.
> i can probably guess about the order, but i have no idea about the sizes.
> 
	Hmm.. you should be able to get back the first netbsd partition by
	just setting up a large 'a' partition covering the first 600mb
	and then trying to 'fsck -n' it (if it looks good, do the real
	fsck).
	After that all I could suggest is guessting the start of the
	next partition.. hmm, if you can determine the magic number
	at the start of the a partition you should be able to search
	/dev/rsdXc until you find another one...

	Maybe someone else has written something to do this?

> >	The DOS partition is probably a good place to begin (checking it
> >	under NetBSD).
> 
> while i can probably find the dos partition easily enough.  i don't
> need any of that.  i was gonna trash it anyway.  i want the other
> stuff.  :(

	It at least gives you a known starting/ending point - one
	partition will most likely start directly after it.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBM2/YAvVDrdqCH8ZRAQGI2QP/bsp4aIhptdyTUOFODvmTU+lk/Nfgz3IA
F/nAHqcdBkJ8VJjdFWazP9okupbef6l2zExQo7tsHH+T08jQhHCnC14UEzaQAvE6
pRd8WHyayWC9RUvJFArwfMGb1w815wlvgjQqY9ABp1o4iLVMDsuvbfhxLpba8HtK
8qCweDOdyGk=
=vgu7
-----END PGP SIGNATURE-----