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