Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 1997 22:14:46 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        isis@jh2.tor.servtech.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Superblocks and Magic numbers
Message-ID:  <Pine.BSF.3.96.970712221229.6418H-100000@localhost>
In-Reply-To: <XFMail.970712180323.isis@jh2.tor.servtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970712221229.6418H-100000>