From owner-freebsd-hackers Tue Feb 25 18:45:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA07313 for hackers-outgoing; Tue, 25 Feb 1997 18:45:57 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id SAA07306 for ; Tue, 25 Feb 1997 18:45:43 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 25 Feb 1997 21:45:09 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA20700; Tue, 25 Feb 97 21:45:07 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id VAA20343; Tue, 25 Feb 1997 21:42:51 -0500 Message-Id: <19970225214251.26667@ct.picker.com> Date: Tue, 25 Feb 1997 21:42:51 -0500 From: Randall Hopper To: Joerg Wunsch Cc: hackers@FreeBSD.ORG Subject: Re: Help correcting corrupted disklabel References: <19970222153631.23537@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: ; from J Wunsch on Feb 02, 1997 at 11:05:24PM Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk J Wunsch: |> This is a sliced disk with FreeBSD on slices 3 and 4 (wd1a and wd1s3e). | |wd1s3e is slice 3. Are you sure wd1a is another slice? I doubt, but |you didn't show us the fdisk output. My typo. I've got root and swap on wd1s3 with a data slice on wd1s4 (e). | disklabel -Brw wd1s3 |The disklabel is embedded in the (BSD) bootblocks. The above command |will rewrite them. Let's hope you didn't damage the filesystem |structure itself, in this case, you should get away with the above. Thanks for the suggestion. It appears it blew part of the file system so I made an unplanned upgrade to 2.2-GAMMA. Had most of my files backed up but I've been dd'ing my corrupted image to get back what little text data I needed. (Boy could I have used Norton Utilities for UFS... :-). Randall Hopper