Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 23:42:28 -0400 (EDT)
From:      Scott Dodson <gsi22419@gsaix2.cc.GaSoU.EDU>
To:        questions@freebsd.org
Subject:   Disklabels/Superblocks how to fix?
Message-ID:  <Pine.A41.3.96.1010611233833.27154A-100000@gsaix2.cc.GaSoU.EDU>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A41.3.96.1010611233833.27154A-100000>