*BSD News Article 45642


Return to BSD News archive

#! rnews 1485 sserve.cc.adfa.oz.au
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!news2.near.net!msgi.com!msgi.com!not-for-mail
From: gryphon@msgi.com (Coranth Gryphon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: HELP: disklabel'd the wrong disk
Date: 12 Jun 1995 11:53:20 -0400
Organization: MSG, Inc. (Burlington, MA)
Lines: 25
Sender: Coranth Gryphon <gryphon@msgi.com>
Message-ID: <3rhntg$f6g@hydra.msgi.com>
NNTP-Posting-Host: hydra.msgi.com

Hi. Is there any way to recover a disklabel if you overwrote
it by mistake? Here's what happened.

FreeBSD 2.0R system. I was reconfiguring my second disk (sd1).
I did a "disklabel -w -r sd0 maxtor318" by mistake.

I noticed this when things starting giving me nasty errors and
blowing up because the "sd0" is not a maxtor318. :-(

Is there ANY way to recover the disk format (it was of course
not in disktab :-{) ?

Thanx for the help.

-coranth

---------------------------------------------------------------------------
Coranth Gryphon  <gryphon@msgi.com>       MSG, Inc.
Phone: (617) 272-8665                     20 Blanchard Road, #11
FAX:   (617) 272-0397                     Burlington, MA  01803-5168
---------------------------------------------------+-----------------------
Programmer: "If I build it, they will come..."	   | #include <disclaim.h>
Manager:    "If I sell it, THEN you'll build it."  | #include <sys/quote.h>
---------------------------------------------------+-----------------------