Subject: single-disk, netbsd-only install
To: maximum entropy <entropy@zippy.bernstein.com>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 11/19/1997 21:10:07
>Hi folks,
>
>OK, I finally managed to install a single-disk system from scratch.


Oh... The original intent was that you could dd the diskimage onto the
raw disk, boot it as the `a' partition, and use sysinst to install
_into_ the root you're running out of.  I tested this on a machine at
home; it worked fine for me.  

Sysinst is smart enough to check for this and _not_ newfs the current
root. But you need to be careful to not change the location or size of
the `a` partition.  THat probalby makes life really hard for
single-disk RZ23 installs.


>The key points are that you must boot with a root in a swap partition,
>and when partitioning the disk in sysinst you must MANUALLY change
>sysinst's partition table so that the b partition is in exactly the
>same place, and exactly the same size (doing this seems to require
>specifying sizes and offsets in blocks.)

Hm. the real problem is that if you move the 'b' partition, the
partition offests into the mounted read/write root in 'b' will change.
Which may cause disaster. 

And of course if you set up an `a' partition (or any other) that
intersects with the current root, newfs'ing that partition will nuke
your currently-mounted root.

Either of these are bugs.  If you tried either one (or both) and it
broke, please PR it.