From owner-freebsd-questions Sat Jul 12 22:15:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA06031 for questions-outgoing; Sat, 12 Jul 1997 22:15:09 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.186.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA06026 for ; Sat, 12 Jul 1997 22:15:06 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id WAA06486; Sat, 12 Jul 1997 22:14:46 -0700 (PDT) Date: Sat, 12 Jul 1997 22:14:46 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: isis@jh2.tor.servtech.com cc: freebsd-questions@FreeBSD.ORG Subject: Re: Superblocks and Magic numbers In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 12 Jul 1997 isis@jh2.tor.servtech.com wrote: > Hi I am having a problem with my main HD. > Its IDE. I can fsck , mount, and read the right label > on wd0s1. any other part of it , I get the following error from fsck: > BAD SUPER BLOCK: MAGIC NUMBER WRONG > /dev/rwd0: NOT LABELED AS A BSD FILE SYSTEM (unused) > I know the fdisk and disklabel parameters, and want to recover the drive but don > t know how to fix the SUPER BLOCK or MAGIC number. You need to make sure you're trying to mount the block device /dev/wd0s1a (or whatever partition you're trying to boot) in /etc/fstab. /dev/rwd0 is the raw disk device; the first few blocks ara your boot blocks and are certainly not a filesystem :) If this doesn't make sense, post your /etc/fstab and we'll make sure it's correct. I assume this error from fsck comes up on bootup. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo