Subject: Re: Problems installing RiscBSD
To: None <port-arm32@NetBSD.ORG>
From: Daniel Brown <crp02@holyrood.ed.ac.uk>
List: port-arm32
Date: 04/27/1997 19:32:49
> [Screen corruption when using 800x600
> 
> > have you tried 800x600x256 at 70 hz ?
> 
> Yes, that's corrupted too.

No comment on this one - though on a 2Mb VRAM machine, 1024x768x70Hz works
fine. I think Rob's the man to comment in detail, the answer hopefully
making its way into the appropriate FAQ. 

> I still can't get through to the main FTP site, and the new version
> doesn't seem to be available from the Imperial mirror.

ftp.ph.kcl.ac.uk seems to have problems with anonymous logins -
ftp.southern.com, on the other hands works fine - /pub/RiscBSD is the
place to be.

> The problem I've got now is that UnixFS can't find any directories. The
> instructions about partitioning the drive under BSD didn't seem very
> good when it came to explaining mount points. I allocated 32MB to root,
> 64MB to swap, 16MB to /var and the balance from ~800MB to /usr. I didn't
> really know what to enter for the mount points, so I put /var for the
> prompt after the 16MB partition, then /usr for the prompt after the
> final large partition. Is that right?

Seems fine to me.

> After running the MountHD4e Obey file for UnixFS, OpenRoot comes up with
> an empty window. If I use MountHD4a instead, the directories are there,
> but /usr is empty. I have followed the instructions for creating and
> seteting the access of the /distrib directory under BSD, and it seems to
> have worked, and ls shows several other things in /usr as well. I just
> can't read the /usr directory under UnixFS.

This is a consequence of the way Unix file systems work. Each file system
needs mounting before you can get at it - the usual way is to specify a
mount point on the root file system (which is mounted itself at boot
time). For example, if you mount wd0e on /usr, then the contents of the
wd0e partition attach themselves to /usr. If wd0e contained the directory
'distrib', then you'd get at it, after mounting it, by changing to
/usr/distrib, for example.

Under RISC OS, you mount each partition separately, and look at them under
separate filer windows. This means that MountHD4a/OpenROOT produces a
filer window containing the contents of the wd0a partition *only*, with no
other partitions mounted inside. To look at the contents of wd0e (usually
mounted on /usr), you need to do a MountHD4e, then an OpenROOT. Then you
see the contents of wd0e - all directories stripped of /usr. Thus
/usr/distrib under RiscBSD becomes just distrib under RiscOS.

As an aside - remember to run the Unmount script before finishing with
UnixFS - otherwise things may get a little confused/corrupted.

> I've just had a thought. I first tried to follow the instructions to
> create the /distrib directory in root instead of /usr, then realised my
> mistake. Maybe the chmod a+rx / command blocked read access to /usr form
> UnixFS?

/usr/distrib is the default one, mostly because /usr is normally the only
partition with enough space on it to receive all the sets needed. 
chmod a+rwx /usr/distrib should let UnixFS (and everyone else ;-) at it.

> I can see I'll have to get a Unix book ASAP, but I was hoping to get it
> installed this weekend :-(.

O'Reilly and Associates seem to have this corner of the market...

Hope the above helps,

Dan.