Home | History | Annotate | Line # | Download | only in pmax
prep revision 1.4
      1  1.3  jonathan Currently NetBSD/pmax supports three different installation methods.
      2  1.3  jonathan From most convenient to least convenient, they are:
      3  1.3  jonathan 
      4  1.3  jonathan 	1. Booting as a diskless workstation via Ethernet,
      5  1.3  jonathan 	   followed by initialization of the local disk and
      6  1.3  jonathan 	   installing onto the local disk over NFS.
      7  1.3  jonathan 
      8  1.3  jonathan 	2. Copying a bootable diskimage onto the beginning of a disk
      9  1.3  jonathan 	   and installing onto that disk 
     10  1.4    mhitch 
     11  1.3  jonathan 	3. installation using a helper machine to set up a bootable
     12  1.3  jonathan 	   NetBSD/pmax  root filesystem, and moving the disk
     13  1.3  jonathan 	   to the target.
     14  1.3  jonathan 
     15  1.3  jonathan Before you start, you must choose an installation method.  If you have
     16  1.3  jonathan an Ethernet connection to an NFS server that can provide even ~30M for
     17  1.3  jonathan a diskless-root filesystem, then insatllation via the net is best.
     18  1.3  jonathan Next best, if your DECstation is already running Ultrix and has two
     19  1.3  jonathan disk drives (or one, if you live dangerously), is to copy a diskimage
     20  1.3  jonathan onto one drive.  Finally, you can install by using a second machine as
     21  1.3  jonathan a helper to prepare a bootable NetBSD/pmax disk.
     22  1.3  jonathan 
     23  1.3  jonathan If your target is going to run diskless, then installation proceeds as for
     24  1.3  jonathan method 1.
     25  1.3  jonathan 
     26  1.3  jonathan You should examine the guide on the NetBSD/pmax web site, which has
     27  1.3  jonathan more complete and more up-to-date instructions and tips than are given in
     28  1.3  jonathan this document.
     29  1.3  jonathan 
     30  1.3  jonathan You should familiarize yourself with the console PROM environment
     31  1.3  jonathan and the hardware configuration. The PROMs on the older Decstation
     32  1.3  jonathan 2100 and 3100 one syntax. The PROMs on the TurboChannel machines
     33  1.3  jonathan use a completely different syntax.  Be sure you know how to print
     34  1.3  jonathan the configuration of your machine, and how boot from disk or
     35  1.3  jonathan network, as appropriate.
     36  1.3  jonathan 
     37  1.3  jonathan On the 2100/3100, that's
     38  1.3  jonathan 	boot -f rz(0,N,0)netbsd		(boot from rzN)
     39  1.3  jonathan 	boot -f tftp()			(boot diskless via TFTP)
     40  1.3  jonathan 	boot -f tftp()			(boot via MOP from an Ultrix server)
     41  1.3  jonathan 
     42  1.3  jonathan On the 5000/200, the equivalent is
     43  1.3  jonathan 	boot 5/rzN/netbsd
     44  1.3  jonathan 	boot 6/tftp
     45  1.3  jonathan 	boot 6/mop
     46  1.3  jonathan 
     47  1.3  jonathan and on other  5000 series machines,
     48  1.3  jonathan 	boot 3/rzN/netbsd
     49  1.3  jonathan 	boot 3/tftp
     50  1.3  jonathan 	boot 3/mop
     51  1.3  jonathan 
     52  1.3  jonathan You will also need to know the total size (in sectors) and the
     53  1.3  jonathan approximate geometry of the disks you are installing onto, so that
     54  1.3  jonathan you can label your disks for the BSD fast filesystem (FFS).  The
     55  1.3  jonathan system comes with sample disk labels for DEC-supplied SCSI drives.
     56  1.3  jonathan For third-party drives you will need to get head/sector/cylinder
     57  1.3  jonathan information.  For newer ZBR drives you can safely make this
     58  1.3  jonathan information up.
     59  1.3  jonathan 
     60  1.3  jonathan 
     61  1.3  jonathan 
     62  1.3  jonathan If you're installing NetBSD/pmax for the first time it's a very good
     63  1.3  jonathan idea to pre-plan partition sizes for the disks on which you're
     64  1.3  jonathan installing NetBSD.  Changing the size of partitions after you've
     65  1.3  jonathan installed is difficult.  If you do not have a spare bootable disk, it
     66  1.3  jonathan may be simpler to re-install NetBSD again from scratch.
     67  1.3  jonathan 
     68  1.3  jonathan If you install by copying a disk image, and you want to change the size
     69  1.3  jonathan of the root partition from the default 32Mbytes, you will need a second
     70  1.3  jonathan `scratch' disk. You should copy the diskimage onto the `scratch' disk,
     71  1.3  jonathan boot the scratch disk, and use it to create a tailored root filesystem.
     72  1.3  jonathan This is because you cannot change the size of an active partition (i.e.,
     73  1.3  jonathan the root filesysem you booted). The standard trick to get around this is
     74  1.3  jonathan to put a cut-down miniroot into the swap partition, boot the miniroot,
     75  1.3  jonathan and use that system to change the root filesystem size.  DECstation
     76  1.3  jonathan PROMs don't reliably support booting off partitions other than the 'a'
     77  1.3  jonathan partition, which is why you need two disks to tailor the root filesystem
     78  1.3  jonathan size.
     79  1.3  jonathan 
     80  1.3  jonathan Assuming a classic partition scheme with separate root (`/') and /usr
     81  1.3  jonathan filesystems, a comfortable size for the NetBSD root filesystem partition
     82  1.3  jonathan is about 32M.  A good initial size for the swap partition is twice the
     83  1.3  jonathan amount of physical memory in your machine (though, unlike Ultrix, there
     84  1.3  jonathan are no restrictions on the size of the swap partition that would render
     85  1.3  jonathan part of your memory unusable).  The default swap size is 64Mbytes, which
     86  1.3  jonathan is adequate for doing a full system build.  A full binary installation,
     87  1.3  jonathan with X11R6.3, takes about 130MB in `/usr'.
     88