From owner-freebsd-questions Mon Jun 11 20:42:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gsaix2.cc.GaSoU.EDU (gsaix2.cc.GaSoU.edu [141.165.1.57]) by hub.freebsd.org (Postfix) with ESMTP id 4DCE537B401 for ; Mon, 11 Jun 2001 20:42:36 -0700 (PDT) (envelope-from gsi22419@gsaix2.cc.GaSoU.EDU) Received: from localhost (gsi22419@localhost) by gsaix2.cc.GaSoU.EDU (8.9.2/8.9.2) with SMTP id XAA50308 for ; Mon, 11 Jun 2001 23:42:29 -0400 Date: Mon, 11 Jun 2001 23:42:28 -0400 (EDT) From: Scott Dodson To: questions@freebsd.org Subject: Disklabels/Superblocks how to fix? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I had my hard drive split into three partitions. 5gb Fat32, 4GB UFS - Freebsd 4.x, and 3GB UFS - Freebsd-current I recently attended a lan party and decided to format the 3rd partition to fat32 since I haven't really been tracking current. All was well, things worked fine. Everything worked after i finished formatting/fdisk. After returning I set my machine up again, and I lost my windows D drive, no biggy. But the problem was my FreeBSD partition was messed up also. /dev/ad0s2 is my FreeBSD partition, I've got semi automatically selected slices configured. It will not mount /dev/ad0s2e or /dev/ad0s2f which are /usr and /var respectively. When trying to mount it says incorrect superblock. I try to run fsck against them and it says incomplete disklabel. I've tried editting them via sysinstall, it looks like it writes them, but nothing works. I've tried disklabel to edit the disklabels and it won't run. How can I fix these superblocks without losing everything? -- scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message