Subject: Re: unixfs problem
To: None <sjm@jb.man.ac.uk>
From: Rob Davison <rdavison@xtra.co.nz>
List: port-arm32
Date: 02/27/1997 10:55:10
In message <Pine.SOL.3.91.970226180959.1425A-100000@aten> you wrote:

> First of all, bb_riscbsd reports a filecore partition size of -3121 
> blocks. Should it be negative?

NO WAY!

> I used the hformbeta app to give RiscOS
> about 2.5 GB (5200 cylinders).

Hmmm. I played it safe and kept the filecore partition to 1998MB.

> Booting BSD from inst12.fs I then set the partitions on wd0 as follows:
>   /    41 cylinders
>   swap 49
>   /var 25
>   /usr 2165 (all that was left)
> 
> The RiscBSD partition offset is 5200, the number of blocks in the RiscOS 
> partition. Should it be 5201?

No, because the RISC OS partition starts at 00 (IIRC)

> Re-boot to RiscOS. Trying unixfs, e.g unixfs.wd0a, I get:
>   5
>   Error reading file system

I get exactly that error with unixfs when trying to mount the /usr
partition (which is at over 2GB on my disc). I can, however use the
root partition with unixfs which starts at under 2GB (just).

Is *anyone* using unixfs with partitions starting at >2GB on an ide disc?

> So, resorting to floppies I can get some sets installed. Got the rest by 
> FTPing from BSD; X etc running nicely. Then crunch... disc label corrupted.

Doesn't sound good...

> Is there a way to fix this without going all the way back to bb_riscbsd? 
> I didn't seem to be able to do anything much, with it not being able to 
> mount '/' owing to the bad disc label.

Only thing I can think of is to boot of floppy and use fsck -f on the hard
drive. I _think_ this will be possible but I'm fairly new to RiscBSD too...



Rob.
-- 
Rob Davison.
http://www.geocities.com/SiliconValley/7320