Subject: Re: fixing files after fsck -y (more)
To: None <port-mac68k@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-mac68k
Date: 06/01/2000 12:02:14
In article <NDBBLHKGBKPCDLCGOCEPMEMBCDAA.dhorrock@falcon.fste.ac.cowan.edu.au>,
Darrell Horrocks <dhorrock@falcon.fste.ac.cowan.edu.au> wrote:
> On a similar note (I think) I am still having install hassles on a Pbook
> 180c.  Have the install going right, and getting the prompts that I should
> be.  HOWEVER, after dropping me to a single user prompt (so I can edit
> rc.conf) I find that the root filesystem is only mounted RO now RW.  SO a
> fsck and I find the error:
> 
> ** /dev/rsd0a
> BAD SUPERBLOCK: MAGIC NUMBER WRONG
> 
> I haven't been able to locate a similar problem in the mailinglist archive,
> but I feel it may be something to do with the formatting information.
> 
> Can anyone help with this?

try:

fsck -o b=32 to pick the first alternate superblock.

christos