Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 1994 09:35:05 -0800
From:      alan@math.ucsb.edu (Alan D. Trombla)
To:        questions@freebsd.org
Subject:   HELP!! Boot block/disklabel wiped
Message-ID:  <19941225173505.AAA6921@emile.math.ucsb.edu>

next in thread | raw e-mail | index | archive | help
Hi,
This is the sad story:  Just got a new disk, wanted to install DOS on
a small piece of it (last time I make that mistake), so I booted a DOS
floppy.  Without any input from me, the floppy comes up with "OK it
looks like your configuration is incomplete ..." or something similar,
and proceeds to FORMAT THE HARD DISK!!  I go spastic and start banging 
keys and yelling, finally resetting when nothing seems to stop the 
monster.   

So the first part of the disk is history (I hope I am correct in
assuming that the format starts with the first cylinder and works
inward?), but the rest of the disk should be OK.  In particualar, my
/usr partition, which starts about 45 meg in, should be fine (please,
please...).

The problem is that I can't find that scrap of paper where I wrote
down the partition info, so,

My questions:
How can I reconstruct a disklabel? Is the disklabel/partition info 
stashed in some other well-known location on disk?  Do superblocks
know about there own partition?  Other partitions?  How can I locate a
superblock --- do they have some kind of magic cookie that I could
scan for?

Any and all help will be hugely appreciated!!

Thanks

Alan

Alan D. Trombla -------------------------------------- alan@math.ucsb.edu






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19941225173505.AAA6921>