From owner-freebsd-questions Mon Jun 23 11:04:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA18622 for questions-outgoing; Mon, 23 Jun 1997 11:04:02 -0700 (PDT) Received: from hercules.mip.ki.se (hercules.mip.ki.se [130.237.112.100]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA18578 for ; Mon, 23 Jun 1997 11:03:55 -0700 (PDT) Received: from [130.237.112.37] (znet.mip.ki.se [130.237.112.37]) by hercules.mip.ki.se (8.8.5/8.8.5) with ESMTP id UAA20639 for ; Mon, 23 Jun 1997 20:02:34 +0200 (CEST) Date: Mon, 23 Jun 1997 20:02:34 +0200 (CEST) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: freebsd-questions@FreeBSD.ORG From: Nabil Zary Subject: FAQ? for BAD SUPER BLOCK/fsck/disklabel Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, I have a Pentium (2 SCSI disks) with newly installed FreeBSD (2.2.1): Something happened to the boot device /dec/sd0 making it "unbootable". # fsck /dev/sd0 ** /dev/rsd0 BAD SUPER BLOCK: MAGIC NUMBER WRONG /dev/rsd0: NOT LABELED AS A BSD FILE SYSTEM (unused) I used /stand/sysinstall to label it and when I tried to mount it (> not clean, run fsck "manually"). Tried also: fsck -n -b 32 /dev/sd0s1a Alternate super block location: 32 ** /dev/rsd0s1a (NO WRITE) ** Last Mounted on ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1 files, 1 used, 31774 free (14 frags, 3970 blocks, 0.0% fragmentation) But whean I try to mount any partition > incorrect super block I just want to retrieve information from the /usr partition and reinstall everything so even "hash" ways are most welcomed! Best regards, Nabil Zary Stockholm, Sweden