1 .\" $NetBSD: install,v 1.8 2008/04/30 13:10:49 martin Exp $
3 .\" Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 .\" POSSIBILITY OF SUCH DAMAGE.
31 you need to first boot an installation
32 program and then interact with the screen-menu program
34 The installation program actually consists of the
37 an in-memory file system of utility programs.
39 The installation methods are:
41 Installation from an existing
46 install kernel from an existing file system.
49 Copying a bootable diskimage onto the beginning of a disk and installing
52 .Sx Diskless installation
53 section later in these INSTALL notes.
56 Installation in a diskless environment.
57 This means that you will install
58 your entire system onto a remotely shared disk.
60 Booting the install kernel over the network and installing onto a local disk.
61 The beginning of the procedure is similar to diskless installation,
62 but you will eventually end up writing the system onto your local disk.
65 Using a helper machine with a SCSI controller to copy the bootable diskimage
66 onto the beginning of a disk, and moving the disk to the target machine.
68 .Sx Install via diskimage
69 section later in these INSTALL notes.
73 You should familiarize yourself with the console PROM environment
74 and the hardware configuration.
75 A good place to study PROM tricks is the IRIX "prom" manual page.
76 Be sure you know how to print the configuration of your machine,
77 and how to boot from disk or network, as appropriate.
79 To boot from disk, use:
82 .Ic "All machine types:"
84 .Dl "\*[Gt]\*[Gt] setenv systempartition scsi(0)disk(X)rdisk(0)partition(8)"
85 .Dl "\*[Gt]\*[Gt] setenv osloadpartition scsi(0)disk(X)rdisk(0)partition(0)"
86 .Dl "\*[Gt]\*[Gt] setenv osloadfilename netbsd"
87 .Dl "\*[Gt]\*[Gt] setenv osloadoptions auto"
88 .Dl "\*[Gt]\*[Gt] setenv osloader boot"
92 drives (including all SCSI-2 drives), the kernel should correctly detect
97 for the first time it's a very
98 good idea to pre-plan partition sizes for the disks onto which you're
101 Changing the size of partitions after you've
102 installed is difficult.
103 If you do not have a spare bootable disk, it may be simpler to re-install
107 To be able to boot from local disk an
108 SGI Volume Header partition is required.
109 This special partition is accessed by the PROM to load the
112 The partition should be about 2 MB in size, but can be reduced somewhat.
113 The minimum size can approach 150k, but this doesn't leave room for
114 upgrade boot programs.
116 .Ss2 Install via a bootable CD-ROM
120 CD-ROM is not ISO-formatted.
121 Since SGI PROMs can not boot from an ISO/CD-9660 filesystem,
122 the CD-ROM image is generated with an SGI Volume Header for the bootstrap loader
123 and an ISO/CD-9660-formatted partition for the distribution.
127 CD-ROM, enter the PROM command-line environment and execute one of the following
130 with the SCSI-ID of the CD-ROM:
132 (for most Indigo2 (IP22) and Indy (IP24) machines)
133 .(tag 12n -offset indent -compact
134 .It Ic "\*[Gt]\*[Gt] boot -f scsi(0)cdrom(X)rdisk(0)partition(8)ip2xboot"
136 (for Indigo (IP20) and Indigo2/Indy machines with old PROMs)
137 .(tag 12n -offset indent -compact
138 .It Ic "\*[Gt]\*[Gt] boot -f scsi(0)cdrom(X)rdisk(0)partition(8)aoutboot"
140 (for O2 (IP32) machines)
141 .(tag 12n -offset indent -compact
142 .It Ic "\*[Gt]\*[Gt] boot -f pci(0)scsi(0)cdrom(X)rdisk(0)partition(8)ip3xboot"
145 .Ss2 Installation for diskless configurations
146 This section assumes you know how to configure DHCP, TFTP,
147 and NFS services on your server.
150 Place the kernel into the TFTP server's download area.
153 suffix, you must first uncompress it using the
156 You must also decide which kernel you need to boot.
157 Because of differences in SGI hardware between different machines,
158 the kernel load addresses differ.
159 You will need GENERIC32_IP2x for the Indy and Indigo2,
160 ecoff-GENERIC32_IP2x for the Indigo (and Indy/Indigo2 machines with old PROMs),
161 and GENERIC32_IP3x for the O2.
163 .Dl server# Ic gzip -d -c netbsd-GENERIC32_IP2x.gz \*[Gt] /tftpboot/netbsd-sgimips
165 .Dl server# Ic gzip -d -c netbsd.ecoff-GENERIC32_IP2x.gz \*[Gt] /tftpboot/netbsd-sgimips
167 .Dl server# Ic gzip -d -c netbsd-GENERIC32_IP2x.gz \*[Gt] /tftpboot/netbsd-sgimips
170 Note that your DHCP server must be configured to specify
171 this file as the boot file for the client.
173 Unpack the distribution sets into the client's root directory
176 .Dl server# Ic cd /export/client/mipseb
177 .Dl server# Ic gzcat .../base.tgz | tar xvpf -
178 .Dl server# Ic gzcat .../etc.tgz | tar xvpf -
179 .Dl "[ repeat for all sets you wish to unpack ]"
181 Load the kernel from the TFTP server:
183 .Dl "\*[Gt]\*[Gt] setenv SystemPartition bootp():"
184 .Dl "\*[Gt]\*[Gt] setenv netaddr your.ip.here.please"
185 .Dl "\*[Gt]\*[Gt] boot"
188 The installation of your diskless
190 system is now complete!
191 You may now skip ahead to any post-installation instructions.
193 .Ss2 Installation to local disk from the network
194 This section is a subset of the above section, and also assumes that
195 you know how to configure DHCP and TFTP services on your server.
198 Place the install kernel into the TFTP server's download area.
199 Just as above, you need to place the correct bootable kernel into the
200 TFTP server's download area. However, instead of a GENERIC kernel,
201 you must use the correct INSTALL kernel. This kernel contains a
202 ramdisk with the installation tools and will allow you to proceed with
203 installation without further setup.
207 suffix, you must first uncompress it using the
210 As above, you must choose either the netbsd-INSTALL32_IP2x,
211 netbsd-INSTALL32_IP2x.ecoff, or netbsd-INSTALL32_IP3x kernel.
213 Note that your DHCP server must be configured to specify
214 this file as the boot file for the client.
216 Load the kernel from the TFTP server:
218 .Dl "\*[Gt]\*[Gt] setenv SystemPartition bootp():"
219 .Dl "\*[Gt]\*[Gt] setenv netaddr your.ip.here.please"
220 .Dl "\*[Gt]\*[Gt] boot"
223 .Ss2 Once you've booted the diskimage
225 Once you've booted the installation kernel you will need to
226 select your terminal type.
229 .\" for an SGI graphics console,
231 for a serial console with a vt100-compatible terminal, or
239 connection running in an
242 The system will then start the
245 .so ../common/sysinst