Subject: Re: problems installing netbsd/pmax on dec 5000/130
To: Kristoff Bonne <kristoff.bonne@mpl108.is.belgacom.be>
From: Matthew Schnierle <pyld@grove.iup.edu>
List: port-pmax
Date: 09/24/1997 11:08:01
On Wed, 24 Sep 1997, Kristoff Bonne wrote:

> Greetings,
> 
> I'm trying to install NetBSD 1.2/pmax on some decstation 5000/133 and 155, but I have some 
> serious problems.
> 
> When I use a OpenBSD 2.1 or ultrix V4.5 system to generate the NetBSD boot-disk, the 
> 'disklabel'-program does not run as it supposed to:
> - on the OpenBSD-box, I get a message (something like) '/dev/rz4c does not have a label'.
> When I do 'disklabel -B ...' (to create the label), it give an error 'some active partitions 
> would be moved or scrinked' (or something like that).
> 
> - On the ultrix-box, I get a coredump when trying to 'write' something; 'disklabel -r' does work 
> OK and also says 'no label'.
> I use the ultrix 'disk label-program' that comes with the netbsd-distribution).
> 
> 
> Some extra remarks:
> . The disk is a RZ25, and did have ultrix installed on it before.
> . A 'dd if=/dev/<openBSD-disk> of=/dev/<new disk>' works OK, so I guess the disc is OK. (?)
> 
> 
> Anybody any idea?

This appeared on the list sometime back (probably has reached FAQ status). 
It worked for me WRT the shrinking an open partition problem.  YMMV.

----------------------------------------------------------------------
Date: Wed, 27 Nov 1996 17:32:23 PST
From:  Brandon Browning <brandon@nwnet.net>
Cc:  port-pmax@NetBSD.ORG
Subject:  Re: (Fwd) Re: how to disklabel a RZ58 ???

[snip]

> disklabel: ioctl DIOCSDINFO: Open partition would move or shrink

Heh... spent two nights on this one setting up my machine.  The
solution is easier than it seems.

1) 'disklabel -e -r /dev/rrz2c' & add a partition 'a' (doesn't matter
   how big).  Save it.

2) 'disklabel -e -r /dev/rrz2a' <-- this is the critical line.  Notice
that the "open" partition is now _a_.  Modify your c partition to your
hearts content.  Save it.

3) 'disklabel -e -r /dev/rrz2c' <-- add your other partitions.

----------------------------------------------------------------------
 

-Matthew Schnierle
-pyld@grove.iup.edu
-http://www.iup.edu/~pyld/
-Member, Programmers Local 1036--AFL-CPIO.
-Stomp out Internet Spam.  http://www.vix.com/spam/