From owner-freebsd-questions Fri Jul 26 9:28:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15EB237B400 for ; Fri, 26 Jul 2002 09:28:50 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77E8B43E31 for ; Fri, 26 Jul 2002 09:28:49 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g6QGSku19423; Fri, 26 Jul 2002 12:28:46 -0400 (EDT) From: Jerry McAllister Message-Id: <200207261628.g6QGSku19423@clunix.cl.msu.edu> Subject: Re: restoring disklabel from an active disk? To: paulbeard@mac.com (paul beard) Date: Fri, 26 Jul 2002 12:28:45 -0400 (EDT) Cc: jerrymc@clunix.cl.msu.edu (Jerry McAllister), questions@FreeBSD.ORG In-Reply-To: <3D409DFC.7000500@mac.com> from "paul beard" at Jul 25, 2002 05:55:24 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Jerry McAllister wrote: > > But, try looking at the disk with fdisk with no extra flags - just > > the main disk name like da0 without slice info. > > like 'fdisk da0' > > and it will print out what it thinks the slices are. > > FreeBSD slices will have a sysid of 165. > > How it starts and ends will depend a little on the disk itself > > unless it is a SCSI disk (then you are lucky). > > It sees the whole disk (partition 1) as a freebsd slice (ID=165). > > So redoing that would be where to start: find out where my old > slice 2 needs to start, in other words, then let disklabel operate > on that. I guess I have forgotten what you said about your original setup. Getting old I guess. Do you need two slices? What was in the "other" slice? Can you read anything from the disk - files? If so, something is still working and is probably OK. If not, you are probably beyond the possibility of recovery short of going to one of those companies that specialize in recovering nuked disks. Generally if a new label is actually written to the disk, things are usually nuked and you have to start over. Once you get in to that area, it is getting beyond me. Good luck, ////jerry > > -- > Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / > paulbeard [at] mac [ dot] com / 206 529 8400 > > http://paulbeard.no-ip.org/movabletype > > USER, n.: > The word computer professionals use when they mean "idiot." > -- Dave Barry, "Claw Your Way to the Top" > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message