Subject: Can't write fstab
To: Rick GC <rickgc@calweb.com>
From: Bertram Barth <bertram@ifib.uni-karlsruhe.de>
List: port-vax
Date: 03/25/1997 15:27:11
Rick GC writes:
> I have loaded Netbsd 1.1A into my uVax3600 but am unable to mount the
> miniroot with write access.  The command I am using here is "# mount -u
> /dev/ra0b /".  The system comes back with "# ffs: /dev/ra0b on /: specified
> device does not match mounted device". I can not run "ed" until I get write
> access here, does anyone know why I cannot?

There should be no need to edit files in miniroot while it'slocated 
in swap partition eg. ra0b, this filesystem is intended to be interim
and its only purpose is to present a running system in order to
prepare/install the "real" root device (eg. ra0a).

So the idea is that you copy miniroot into swap partition and boot from
it (that's what you've done). Then you should `newfs` your /dev/rra0a
and /dev/rra0e (or whatever name it has on your system), then mount
/dev/ra0a on /mnt, `mkdir /mnt/usr` and `mount /dev/ra0e /mnt/usr`.
Now `cd /mnt` and install the binary distribution at this place.

After rebooting your root-partition is "ra0a" and this partition
is mountable read-write, if you mount "ra0e" on /usr, then you can
use vi instead of ed to edit your config files like fstab etc.

Ciao,
	bertram