Subject: Re: [Q] DS3100 installation? (was: [Q] disklabel error)
To: None <port-pmax@NetBSD.ORG>
From: Reini (Reinhold Huber) <Reinhold.Huber@Fachschaften.TU-Muenchen.DE (Reinhold Huber)>
List: port-pmax
Date: 10/16/1997 10:37:55
Hi!

This is for the case your i386 has SCSI.

> > At 10:03 AM 10/15/97 +0900, you wrote:
> > >> Hi, all: I'm trying install NetBSD onto a DS3100 (24MB RAM), and am 
       using a
> > >> i386 NetBSD machine as my "helper."

Don't get too confused and do the following:
* Get yourself the file NetBSD/arch/pmax/32M-diskimage.gz
* Unzip it our build a pipeline to dd which gunzips it for you.
* dd that onto the disk you want to boot your 3100 first. It is very much 
  easier if you have two disks, but let's boot the machine first :)
  - Connect the boot harddisk to your i386 and find out its device.
  - type 

     dd if=32M-diskimage of=sdXc

    where X stands for the disk you want to use to boot the pmax
    Be _very_ _sure_ that you don't do this with the disk you use in the 
    i386. This operation destroys anything that might be helpful to find
    your data on this disk, and 32M of your data.
* Connect the disk to your pmax again.
* Boot it from prom typing
  boot -f rz(0,X,0)netbsd
  where X is the SCSI ID of your disk.
* Label the disk you want to install NetBSD on from the now running NetBSD.
  This is a bit tricky. Hints are in the install script of openbsd-pmax
  delivered with their diskimage.dd.gz.
  It's important to make the label writable with disklabel -W, then copy 
  a "crude label" from a labeled disk (e.g. the one with the dd'ed image),
  and then edit it with disklabel -e.
  You see if it worked with disklabel.
  Don't forget the -r switch in any operation to work on the disk directly.
* When the OS is up, ftp the distributions and unpack them from root,
  and there ist tar tvzf to look where the files go, first :)

You do not need to label the disk to boot NetBSD, there is a label on it
which works for disks large enough, that is, min. 32MB.

If the 32M-image from NetBSD does not work, try the OpenBSD image. You 
can use this one to install NetBSD, as well, but don't use the install 
script, since this will install OpenBSD.

Hope this helps,

Reinhold Huber