Subject: Re: Mounting the root fs rw
To: Bill Studenmund <skippy@macro.stanford.edu>
From: Michael L. Hitch <mhitch@lightning.oscs.montana.edu>
List: port-pmax
Date: 09/13/1998 12:02:41
On Sep 13, 10:50am, Bill Studenmund wrote:
> On Sun, 13 Sep 1998, Ole Jakob Skjelten wrote:
>
> > Secondly I've run into another slight problem. I've dd'ed the diskimage to
> > a scsi-disk and booted it. It works just fine, and I have a second disk
> > installed and ready to be set up with sysinst. The problem is, however,
> > that the disk that received the diskimage is mounted read-only, and the
> > sysint script requires the disk to be rw. Now, that should simply be a
> > matter of remounting it, but I don't seem to be able to do just that. The
> > disk I have the fs on is rz5 and there is no /dev/rz5a file in my /dev
> > directory, or any /dev/rz5* files for that matter.
>
> Try sd5a, etc...
This is a DECstation - there are no sd* devices yet.
SCSI targets 5 and 6 have been "reserved" for tape devices in the past,
and only recently had disk configurations enable for them. I suspect that
1.3.2 did not include rz5 and rz6 in /dev/MAKEDEV and no devices for them
were created on the diskimage.
The easiest fix is to change the disk ID to 0-4, which should have devices
defined. An alternative might be to mount the kernfs filesystem, which
should contain a "rootdev" entry, which can be used to mount the root
partition - something like this:
mount -t kernfs none /mnt
mount -u / /mnt/rootdev
umount /mnt
Michael
--
Michael L. Hitch mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University Bozeman, MT USA