Mon Apr 25 22:13:45 2011 UTC ()
Improve wording.


(wiz)
diff -r1.68 -r1.69 src/distrib/notes/common/xfer

cvs diff -r1.68 -r1.69 src/distrib/notes/common/xfer (switch to unified diff)

--- src/distrib/notes/common/xfer 2010/05/03 15:14:24 1.68
+++ src/distrib/notes/common/xfer 2011/04/25 22:13:45 1.69
@@ -1,727 +1,727 @@ @@ -1,727 +1,727 @@
1.\" $NetBSD: xfer,v 1.68 2010/05/03 15:14:24 tsutsui Exp $ 1.\" $NetBSD: xfer,v 1.69 2011/04/25 22:13:45 wiz Exp $
2.\" 2.\"
3.\" Copyright (c) 1999-2004 The NetBSD Foundation, Inc. 3.\" Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 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 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 17.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 18.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 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 22.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 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 24.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25.\" POSSIBILITY OF SUCH DAMAGE. 25.\" POSSIBILITY OF SUCH DAMAGE.
26.\" 26.\"
27. 27.
28.\" ---------- MD instructions on setting up boot media 28.\" ---------- MD instructions on setting up boot media
29. 29.
30.if \n[acorn26] \{\ 30.if \n[acorn26] \{\
31To boot 31To boot
32.Nx , 32.Nx ,
33you will need the bootloader 33you will need the bootloader
34.Pq Ic boot26 34.Pq Ic boot26
35and the kernel you wish to boot on a RISC OS file system somewhere. 35and the kernel you wish to boot on a RISC OS file system somewhere.
36.Ic boot26 36.Ic boot26
37can boot gzipped kernels, so there's no need to gunzip it. 37can boot gzipped kernels, so there's no need to gunzip it.
38.Pp 38.Pp
39.\} \" \n[acorn26] 39.\} \" \n[acorn26]
40. 40.
41.if \n[arc] \{\ 41.if \n[arc] \{\
42You will need to create a CD with an install kernel on it or have 42You will need to create a CD with an install kernel on it or have
43a FAT partition and working other OS (Windows NT) which can write 43a FAT partition and working other OS (Windows NT) which can write
44install files into it. 44install files into it.
45.Pp 45.Pp
46.\} \" \n[arc] 46.\} \" \n[arc]
47. 47.
48.if \n[cats] \{\ 48.if \n[cats] \{\
49You will need to create a CD with an install kernel on it or have another 49You will need to create a CD with an install kernel on it or have another
50machine available to allow net booting. 50machine available to allow net booting.
51.Pp 51.Pp
52.\} \" \n[cats] 52.\} \" \n[cats]
53. 53.
54.if \n[hp700] \{\ 54.if \n[hp700] \{\
55To boot 55To boot
56.Nx , 56.Nx ,
57you will need a server running the appropriate netboot protocol with a 57you will need a server running the appropriate netboot protocol with a
58Logical Interchange Format (LIF) volume of the kernel you wish to boot, or 58Logical Interchange Format (LIF) volume of the kernel you wish to boot, or
59the 59the
60.Pa netinstall.lif 60.Pa netinstall.lif
61volume available in the 61volume available in the
62.Pa hp700/installation 62.Pa hp700/installation
63directory of the 63directory of the
64.Nx 64.Nx
65distribution. 65distribution.
66.Pp 66.Pp
67Booting from CD is not currently available. 67Booting from CD is currently not supported.
68.Pp 68.Pp
69.\} \" \n[hp700] 69.\} \" \n[hp700]
70. 70.
71.if \n[i386] \{\ 71.if \n[i386] \{\
72If you are not booting off a CD-ROM, you will need to have some floppy 72If you are not booting off a CD-ROM, you will need to have some floppy
73disks to boot off; 73disks to boot off;
74either three 1.44 MB floppies or one 1.2 MB floppy. 74either three 1.44 MB floppies or one 1.2 MB floppy.
75.Pp 75.Pp
76Use 76Use
77.Pa boot1.fs 77.Pa boot1.fs
78and 78and
79.Pa boot2.fs 79.Pa boot2.fs
80for VGA installation. 80for VGA installation.
81.Pa boot-com1.fs 81.Pa boot-com1.fs
82and  82and
83.Pa boot-com2.fs 83.Pa boot-com2.fs
84are available if you wish to use a serial console. 84are available if you wish to use a serial console.
85.Pp 85.Pp
86If you are using a 86If you are using a
87.Ul 87.Ul
88system to write the floppy images to 88system to write the floppy images to
89disks, you should use the 89disks, you should use the
90.Xr dd 90.Xr dd
91command to copy the file system image(s) 91command to copy the file system image(s)
92(.fs file) directly to the raw floppy disk. 92(.fs file) directly to the raw floppy disk.
93It is suggested that you read the 93It is suggested that you read the
94.Xr dd 1 94.Xr dd 1
95manual page or ask your system administrator to determine the correct 95manual page or ask your system administrator to determine the correct
96set of arguments to use; it will be slightly different from system to 96set of arguments to use; it will be slightly different from system to
97system, and a comprehensive list of the possibilities is beyond the 97system, and a comprehensive list of the possibilities is beyond the
98scope of this document. 98scope of this document.
99.Pp 99.Pp
100If you are using 100If you are using
101.Tn MS-DOS 101.Tn MS-DOS
102to write the floppy image(s) to floppy disk, you should use the 102to write the floppy image(s) to floppy disk, you should use the
103.Ic rawrite 103.Ic rawrite
104utility, provided in the 104utility, provided in the
105.Pa i386/installation/misc 105.Pa i386/installation/misc
106directory of the 106directory of the
107.Nx 107.Nx
108distribution. 108distribution.
109It will write a file system image (.fs file) to a floppy disk. 109It will write a file system image (.fs file) to a floppy disk.
110A 110A
111.Ic rawrite32 111.Ic rawrite32
112is also available that runs under 112is also available that runs under
113.Tn MS Windows . 113.Tn MS Windows .
114.Pp 114.Pp
115.\} \" \n[i386] 115.\} \" \n[i386]
116. 116.
117.if \n[hp300]:\n[macppc] \{\ 117.if \n[hp300]:\n[macppc] \{\
118You should wait to decide where to put the 118You should wait to decide where to put the
119.Nx 119.Nx
120distribution sets until you have figured out how you are going to boot 120distribution sets until you have figured out how you are going to boot
121your system. 121your system.
122Refer back to this section after you have done so. 122Refer back to this section after you have done so.
123.Pp 123.Pp
124.\} 124.\}
125.if \n[macppc] \{\ 125.if \n[macppc] \{\
126.(Note 126.(Note
127Some 127Some
128.Tn Mac OS 128.Tn Mac OS
129.Ic ftp 129.Ic ftp
130clients default to downloading files in 130clients default to downloading files in
131.Sq ASCII 131.Sq ASCII
132mode. 132mode.
133This will render the 133This will render the
134.Nx 134.Nx
135files useless. 135files useless.
136Make sure to set your ftp program to download in 136Make sure to set your ftp program to download in
137.Sq binary 137.Sq binary
138mode. 138mode.
139.Note) 139.Note)
140.Pp 140.Pp
141.\} \" \n[macppc] 141.\} \" \n[macppc]
142. 142.
143.if \n[ews4800mips]:\n[news68k]:\n[newsmips] \{\ 143.if \n[ews4800mips]:\n[news68k]:\n[newsmips] \{\
144.(Note 144.(Note
145.Nx*M 145.Nx*M
146\*V 146\*V
147.if \n[ews4800mips] \{\ 147.if \n[ews4800mips] \{\
148does not support framebuffers other than onboard ones on 148does not support framebuffers other than onboard ones on
149EWS4800/350, EWS4800/360AD and EWS4800/360ADII so 149EWS4800/350, EWS4800/360AD and EWS4800/360ADII so
150you have to use serial console on installation procedure 150you have to use serial console on installation procedure
151if your machine doesn't have supported framebuffers listed above. 151if your machine doesn't have supported framebuffers listed above.
152.\} \" \n[ews4800mips] 152.\} \" \n[ews4800mips]
153.if \n[news68k] \{\ 153.if \n[news68k] \{\
154does not support any framebuffers (yet) so 154does not support any framebuffers (yet) so
155you have to use serial console on installation procedure. 155you have to use serial console on installation procedure.
156.\} \" \n[news68k] 156.\} \" \n[news68k]
157.if \n[newsmips] \{\ 157.if \n[newsmips] \{\
158does not support any framebuffers other than NWB-253 on NWS-3470D and 158does not support any framebuffers other than NWB-253 on NWS-3470D and
159XA on NWS-5000 (yet) so 159XA on NWS-5000 (yet) so
160you have to use serial console on installation procedure 160you have to use serial console on installation procedure
161if your machine doesn't have supported framebuffers listed above. 161if your machine doesn't have supported framebuffers listed above.
162.\} \" \n[newsmips] 162.\} \" \n[newsmips]
163.Note) 163.Note)
164.Pp 164.Pp
165You will need to have 165You will need to have
166.if \n[ews4800mips] two 1.44 MB floppy disks 166.if \n[ews4800mips] two 1.44 MB floppy disks
167.if \n[news68k] a 1.44 MB floppy disk 167.if \n[news68k] a 1.44 MB floppy disk
168.if \n[newsmips] two 1.44 MB floppy disks 168.if \n[newsmips] two 1.44 MB floppy disks
169to boot off. 169to boot off.
170You must put the boot floppy image onto this disk, which contains 170You must put the boot floppy image onto this disk, which contains
171software to install 171software to install
172.Nx 172.Nx
173system. 173system.
174.Pp 174.Pp
175If you are using a 175If you are using a
176.Ul 176.Ul
177system (such as 177system (such as
178.if \n[ews4800mips] \{\ 178.if \n[ews4800mips] \{\
179.Tn EWS-UX 179.Tn EWS-UX
180.\} \" \n[ews4800mips] 180.\} \" \n[ews4800mips]
181.if \n[news68k]:\n[newsmips] \{\ 181.if \n[news68k]:\n[newsmips] \{\
182.Tn NEWS-OS 182.Tn NEWS-OS
183.\} \" \n[news68k]:\n[newsmips] 183.\} \" \n[news68k]:\n[newsmips]
184or other 184or other
185.Nx 185.Nx
186machines) to write the floppy images to disks, you should use the 186machines) to write the floppy images to disks, you should use the
187.Xr dd 1 187.Xr dd 1
188command to copy the file system image(s) 188command to copy the file system image(s)
189(.fs file(s)) directly to the raw floppy disk. 189(.fs file(s)) directly to the raw floppy disk.
190It is suggested that you read the 190It is suggested that you read the
191.Xr dd 1 191.Xr dd 1
192manual page or ask your system administrator to determine the correct 192manual page or ask your system administrator to determine the correct
193set of arguments to use; it will be slightly different from system to 193set of arguments to use; it will be slightly different from system to
194system, and a comprehensive list of the possibilities is beyond the 194system, and a comprehensive list of the possibilities is beyond the
195scope of this document. 195scope of this document.
196.Pp 196.Pp
197If you have an i386 machine which runs 197If you have an i386 machine which runs
198.Tn MS-DOS 198.Tn MS-DOS
199and use it to write the floppy image(s) to floppy disk, 199and use it to write the floppy image(s) to floppy disk,
200you can use the 200you can use the
201.Ic rawrite 201.Ic rawrite
202utility, provided in the 202utility, provided in the
203.Pa i386/installation/misc 203.Pa i386/installation/misc
204directory of the 204directory of the
205.Nx 205.Nx
206distribution. 206distribution.
207It will write a file system image (.fs file) to a floppy disk. 207It will write a file system image (.fs file) to a floppy disk.
208A 208A
209.Ic rawrite32 209.Ic rawrite32
210is also available that runs under 210is also available that runs under
211.Tn MS Windows . 211.Tn MS Windows .
212.Pp 212.Pp
213Though 213Though
214.Nx*M 214.Nx*M
215uses the floppy disk to boot for the initial 215uses the floppy disk to boot for the initial
216installation, the 216installation, the
217.Nx*M 217.Nx*M
218kernel does not support the 218kernel does not support the
219floppy device. 219floppy device.
220Some other machines or systems are still required to write floppy images 220Some other machines or systems are still required to write floppy images
221even after 221even after
222.Nx*M 222.Nx*M
223has been installed. 223has been installed.
224.Pp 224.Pp
225If your machine doesn't have any SCSI disks, or the SCSI interface 225If your machine doesn't have any SCSI disks, or the SCSI interface
226on your machine is not supported, it can still run 226on your machine is not supported, it can still run
227.Nx*M 227.Nx*M
228diskless. 228diskless.
229No file transfer is needed, and all you have to do is to prepare files on 229No file transfer is needed, and all you have to do is to prepare files on
230the server. 230the server.
231More information about diskless setups can be found at 231More information about diskless setups can be found at
232.Lk http://www.NetBSD.org/docs/network/netboot/ 232.Lk http://www.NetBSD.org/docs/network/netboot/
233.Pp 233.Pp
234.if \n[ews4800mips] \{\ 234.if \n[ews4800mips] \{\
235The PROM uses the ordinary tftp protocol, so 235The PROM uses the ordinary tftp protocol, so
236you can load bootloader via network. 236you can load bootloader via network.
237The PROM also supports tape boot but 237The PROM also supports tape boot but
238.Nx*M 238.Nx*M
239does not support it currently. 239does not support it currently.
240.Pp 240.Pp
241After the boot floppy or diskless server is prepared, just set 241After the boot floppy or diskless server is prepared, just set
242boot device on the PROM menu which can be invoked by pressing ESC key 242boot device on the PROM menu which can be invoked by pressing ESC key
243right after hardware checks. 243right after hardware checks.
244.\} \" \n[ews4800mips] 244.\} \" \n[ews4800mips]
245.if \n[news68k] \{\ 245.if \n[news68k] \{\
246The 246The
247.Tn NEWS 247.Tn NEWS
248PROM also supports tape boot and network boot, but 248PROM also supports tape boot and network boot, but
249.Nx*M 249.Nx*M
250does not support them currently. 250does not support them currently.
251.Pp 251.Pp
252After the boot floppy is prepared, just type 252After the boot floppy is prepared, just type
253.Ic "bo fh" 253.Ic "bo fh"
254on the PROM prompt to boot it. 254on the PROM prompt to boot it.
255.Pp 255.Pp
256.\} \" \n[news68k] 256.\} \" \n[news68k]
257.if \n[newsmips] \{\ 257.if \n[newsmips] \{\
258On NWS-3xxx machines, the PROM also supports network boot but it uses 258On NWS-3xxx machines, the PROM also supports network boot but it uses
259an unusual protocol which is not supported by 259an unusual protocol which is not supported by
260.Nx*M . 260.Nx*M .
261On NWS-5000 machines, the PROM uses the ordinary tftp protocol, so 261On NWS-5000 machines, the PROM uses the ordinary tftp protocol, so
262you can load bootloader via network by 262you can load bootloader via network by
263.Ic "bo tftp()" 263.Ic "bo tftp()"
264command on the PROM prompt. 264command on the PROM prompt.
265.Pp 265.Pp
266The 266The
267.Tn NEWS 267.Tn NEWS
268PROM also supports tape boot, but 268PROM also supports tape boot, but
269.Nx*M 269.Nx*M
270does not support that currently. 270does not support that currently.
271.Pp 271.Pp
272After the boot floppy is prepared, just type 272After the boot floppy is prepared, just type
273.Ic "bo fd" 273.Ic "bo fd"
274(NWS-5000) or 274(NWS-5000) or
275.Ic "bo fh" 275.Ic "bo fh"
276(NWS-3xxx) on the PROM prompt to boot it. 276(NWS-3xxx) on the PROM prompt to boot it.
277.\} \" \n[newsmips] 277.\} \" \n[newsmips]
278.Pp 278.Pp
279.\} \" \n[ews4800mips]:\n[news68k]:\n[newsmips] 279.\} \" \n[ews4800mips]:\n[news68k]:\n[newsmips]
280. 280.
281.if \n[pmax] \{\ 281.if \n[pmax] \{\
282First-time installation on a bare machine is not supported, because most 282First-time installation on a bare machine is not supported, because most
283DECstations do not have any suitable load device. 283DECstations do not have any suitable load device.
284Some versions of the DECstation PROM are buggy and will not boot via 284Some versions of the DECstation PROM are buggy and will not boot via
285.Tn TFTP 285.Tn TFTP
286and bootp; other versions are buggy and do not boot via 286and bootp; other versions are buggy and do not boot via
287.Tn MOP . 287.Tn MOP .
288.Pp 288.Pp
289The only DECstation with a floppy-disk drive is the Personal DECstation, 289The only DECstation with a floppy-disk drive is the Personal DECstation,
290and that device is not supported as a boot device. 290and that device is not supported as a boot device.
291.Pp 291.Pp
292The recommended installation procedure is to boot an install kernel 292The recommended installation procedure is to boot an install kernel
293via 293via
294.Tn TFTP , 294.Tn TFTP ,
295or to use a 295or to use a
296.Dq helper 296.Dq helper
297system to write a miniroot diskimage onto a disk, move that 297system to write a miniroot diskimage onto a disk, move that
298disk to the target installation system, and then boot the miniroot. 298disk to the target installation system, and then boot the miniroot.
299.Pp 299.Pp
300.\} \" \n[pmax] 300.\} \" \n[pmax]
301. 301.
302.if \n[vax] \{\ 302.if \n[vax] \{\
303Installing on a 303Installing on a
304.Sq bare 304.Sq bare
305machine requires some bootable 305machine requires some bootable
306device; either a tape, CD-ROM or floppy drive or a NFS server together 306device; either a tape, CD-ROM or floppy drive or a NFS server together
307with a machine that can act as a MOP loader, such as another 307with a machine that can act as a MOP loader, such as another
308machine running 308machine running
309.Nx . 309.Nx .
310.Nx*M 310.Nx*M
311can use both BOOTP/DHCP and 311can use both BOOTP/DHCP and
312BOOTPARAMS for netboot installations. 312BOOTPARAMS for netboot installations.
313.Pp 313.Pp
314.\} \" \n[vax] 314.\} \" \n[vax]
315. 315.
316.if \n[x68k] \{\ 316.if \n[x68k] \{\
317You will have to prepare the `ramdisk-root' installation system. 317You will have to prepare the `ramdisk-root' installation system.
318There are two ways to invoke the 318There are two ways to invoke the
319.Nx 319.Nx
320installation system; 320installation system;
321.Pp 321.Pp
322.(bullet -compact -offset indent 322.(bullet -compact -offset indent
323Use the 323Use the
324.Pa loadbsd.x 324.Pa loadbsd.x
325utility to boot 325utility to boot
326.Nx 326.Nx
327from 327from
328.Tn Human68k 328.Tn Human68k
329.It 329.It
330Make a boot floppy which contains the installation system 330Make a boot floppy which contains the installation system
331.bullet) 331.bullet)
332.Pp 332.Pp
333If you choose the first method, 333If you choose the first method,
334you have to put the compressed installation kernel 334you have to put the compressed installation kernel
335.Pa netbsd-INSTALL.gz , 335.Pa netbsd-INSTALL.gz ,
336the 336the
337.Pa loadbsd.x 337.Pa loadbsd.x
338utility and the 338utility and the
339.Pa gzip.x 339.Pa gzip.x
340utility to a disk accessible from Human68k. 340utility to a disk accessible from Human68k.
341These files can be found in the 341These files can be found in the
342.Pa x68k/binary/kernel 342.Pa x68k/binary/kernel
343directory or 343directory or
344.Pa x68k/installation/misc 344.Pa x68k/installation/misc
345directory of the 345directory of the
346.Nx 346.Nx
347distribution. 347distribution.
348The 348The
349.Pa netbsd-INSTALL 349.Pa netbsd-INSTALL
350file needs to be uncompressed from 350file needs to be uncompressed from
351.Pa netbsd-INSTALL.gz 351.Pa netbsd-INSTALL.gz
352using the provided 352using the provided
353.Ic gzip.x 353.Ic gzip.x
354program with the 354program with the
355.Fl d 355.Fl d
356switch.  356switch.
357.Pp 357.Pp
358To invoke the installation system, just type 358To invoke the installation system, just type
359.Pp 359.Pp
360.Dl Ic "gzip.x -d netbsd-INSTALL.gz" 360.Dl Ic "gzip.x -d netbsd-INSTALL.gz"
361.Dl Ic "loadbsd.x netbsd-INSTALL" 361.Dl Ic "loadbsd.x netbsd-INSTALL"
362.Pp 362.Pp
363from the 363from the
364.Tn Human68k 364.Tn Human68k
365command line. 365command line.
366.Pp 366.Pp
367If you choose the second method, you have to make the boot floppy 367If you choose the second method, you have to make the boot floppy
368from the floppy image 368from the floppy image
369.Pa sysinst.fs . 369.Pa sysinst.fs .
370The image file can be found in 370The image file can be found in
371.Pa x68k/installation/floppy 371.Pa x68k/installation/floppy
372directory of the 372directory of the
373.Nx 373.Nx
374distribution. 374distribution.
375.Pp 375.Pp
376If you are using a 376If you are using a
377.Ul 377.Ul
378system to write the floppy image to 378system to write the floppy image to
379disks, you should use the 379disks, you should use the
380.Pa dd 380.Pa dd
381command to copy the file system images (.fs files) directly to the raw 381command to copy the file system images (.fs files) directly to the raw
382floppy disks. 382floppy disks.
383It is suggested that you read the 383It is suggested that you read the
384.Xr dd 1 384.Xr dd 1
385manual page or 385manual page or
386ask your system administrator to determine the correct set of 386ask your system administrator to determine the correct set of
387arguments to use; it will be slightly different from system to system, 387arguments to use; it will be slightly different from system to system,
388and a comprehensive list of the possibilities is beyond the scope of 388and a comprehensive list of the possibilities is beyond the scope of
389this document. 389this document.
390.Pp 390.Pp
391If you are using 391If you are using
392.Tn Human68k 392.Tn Human68k
393to write the floppy images to disks, you should use the 393to write the floppy images to disks, you should use the
394.Ic rawrite 394.Ic rawrite
395utility, provided in the 395utility, provided in the
396.Pa x68k/installation/misc 396.Pa x68k/installation/misc
397directory of the 397directory of the
398.Nx 398.Nx
399distribution. 399distribution.
400PC versions can be found in 400PC versions can be found in
401.Pa i386/installation/misc . 401.Pa i386/installation/misc .
402It will write the file system images (.fs files) to disks. 402It will write the file system images (.fs files) to disks.
403.Pp 403.Pp
404To use the boot floppy, insert the floppy to your floppy drive 0, 404To use the boot floppy, insert the floppy to your floppy drive 0,
405and reboot your computer with OPT.1 key pressed. 405and reboot your computer with OPT.1 key pressed.
406.Pp 406.Pp
407If you have less than 5MB of memory, you have to use the 407If you have less than 5MB of memory, you have to use the
408`floppy-root' installation system instead of the above 408`floppy-root' installation system instead of the above
409`ramdisk-root' installation system. 409`ramdisk-root' installation system.
410`Floppy-root' installation 410`Floppy-root' installation
411system is composed of two floppies, `kern' and `inst'. 411system is composed of two floppies, `kern' and `inst'.
412They are made from the floppy images 412They are made from the floppy images
413.Pa kern.fs 413.Pa kern.fs
414and 414and
415.Pa inst.fs 415.Pa inst.fs
416respectively, both of which are found in 416respectively, both of which are found in
417.Pa installation/floppy 417.Pa installation/floppy
418directory of the 418directory of the
419.Nx 419.Nx
420distribution. 420distribution.
421The 421The
422.Pa inst.fs 422.Pa inst.fs
423file needs to be uncompressed from 423file needs to be uncompressed from
424.Pa inst.fs.gz 424.Pa inst.fs.gz
425using the provided 425using the provided
426.Ic gzip.x 426.Ic gzip.x
427program with the 427program with the
428.Fl d 428.Fl d
429switch.  429switch.
430See above how to write the images to floppies. 430See above how to write the images to floppies.
431.Pp 431.Pp
432To start the `floppy-root' installation system, insert the `kern' floppy 432To start the `floppy-root' installation system, insert the `kern' floppy
433to your floppy drive 0, and reboot your computer with OPT.1 key pressed. 433to your floppy drive 0, and reboot your computer with OPT.1 key pressed.
434When you are prompted that `Insert file system floppy and press return.', 434When you are prompted that `Insert file system floppy and press return.',
435replace the `kern' floppy with `inst' floppy and press return key. 435replace the `kern' floppy with `inst' floppy and press return key.
436.Pp 436.Pp
437Once booted, the `floppy-root' installation system is identical with 437Once booted, the `floppy-root' installation system is identical with
438the `ramdisk-root' installation system, except that the former constantly 438the `ramdisk-root' installation system, except that the former constantly
439accesses the floppy disk. 439accesses the floppy disk.
440Floppy disks are relatively unreliable media and cause some warning messages 440Floppy disks are relatively unreliable media and cause some warning messages
441to report access errors, most of which are corrected and can be ignored. 441to report access errors, most of which are corrected and can be ignored.
442With the latter installation system the floppy disk is not used once the 442With the latter installation system the floppy disk is not used once the
443system has booted off and can be removed from the drive. 443system has booted off and can be removed from the drive.
444.Pp 444.Pp
445.(Note 445.(Note
446The `floppy-root' installation system cannot be used to install 446The `floppy-root' installation system cannot be used to install
447.Nx*M 447.Nx*M
448on a machine with less than 5MB of memory. 448on a machine with less than 5MB of memory.
449.Note) 449.Note)
450.Pp 450.Pp
451.\} \" \n[x68k] 451.\} \" \n[x68k]
452. 452.
453.if !\n[hp700]:\n[x68k] \{\ 453.if !\n[hp700]:\n[x68k] \{\
454Note that if you are installing or upgrading from writable media, 454Note that if you are installing or upgrading from writable media,
455it can be write-protected if you wish. 455it can be write-protected if you wish.
456These systems mount a root image from inside the kernel, and will not 456These systems mount a root image from inside the kernel, and will not
457need to write to the media. 457need to write to the media.
458If you booted from a floppy, the floppy disk may be removed from 458If you booted from a floppy, the floppy disk may be removed from
459the drive after the system has booted. 459the drive after the system has booted.
460.Pp 460.Pp
461.\} \" \n[x68k] 461.\} \" \n[x68k]
462. 462.
463.\" --------- MI instructions for getting distribution off installation medium 463.\" --------- MI instructions for getting distribution off installation medium
464. 464.
465Installation is supported from several media types, including: 465Installation is supported from several media types, including:
466.Pp 466.Pp
467.(bullet -offset indent -compact 467.(bullet -offset indent -compact
468. 468.
469.if \n[amiga] \{\ 469.if \n[amiga] \{\
470.Tn AmigaDOS 470.Tn AmigaDOS
471.It 471.It
472.\} \" \n[amiga] 472.\} \" \n[amiga]
473. 473.
474CD-ROM / DVD 474CD-ROM / DVD
475. 475.
476.It 476.It
477FTP 477FTP
478. 478.
479.if \n[x68k] \{\ 479.if \n[x68k] \{\
480.It 480.It
481Magneto-Optical (M-O) or other removable SCSI disk 481Magneto-Optical (M-O) or other removable SCSI disk
482.\} \" \n[x68k] 482.\} \" \n[x68k]
483. 483.
484.It 484.It
485Remote NFS partition 485Remote NFS partition
486. 486.
487.It 487.It
488Tape 488Tape
489. 489.
490.It 490.It
491Existing 491Existing
492.Nx 492.Nx
493.if \n[macppc] \{\ 493.if \n[macppc] \{\
494or 494or
495.Tn MacOS X 495.Tn MacOS X
496UFS 496UFS
497.\} \" \n[macppc] 497.\} \" \n[macppc]
498partitions, if performing an upgrade 498partitions, if performing an upgrade
499. 499.
500.bullet) 500.bullet)
501.Pp 501.Pp
502. 502.
503The steps necessary to prepare the distribution sets for installation 503The steps necessary to prepare the distribution sets for installation
504depend upon which installation medium you choose. 504depend upon which installation medium you choose.
505The steps for the various media are outlined below. 505The steps for the various media are outlined below.
506.if \n[sparc64] \{\ 506.if \n[sparc64] \{\
507.(Note 507.(Note
508If you are installing the 32-bit sparc distribution sets, you will need to  508If you are installing the 32-bit sparc distribution sets, you will need to
509rename 509rename
510.Pa sparc/binary/sets/kern-GENERIC_SUN4U.tgz 510.Pa sparc/binary/sets/kern-GENERIC_SUN4U.tgz
511to 511to
512.Pa kern-GENERIC.tgz 512.Pa kern-GENERIC.tgz
513since the \*M installation tools would otherwise attempt to install the  513since the \*M installation tools would otherwise attempt to install the
514kernel for 32-bit sparc computers which does not boot on \*M systems. 514kernel for 32-bit sparc computers which does not boot on \*M systems.
515.Note) 515.Note)
516.\} 516.\}
517. 517.
518.(tag CD-ROM\ /\ DVD 518.(tag CD-ROM\ /\ DVD
519. 519.
520.if \n[amiga] \{\ 520.if \n[amiga] \{\
521.It Em AmigaDOS partition 521.It Em AmigaDOS partition
522To install 522To install
523.Nx 523.Nx
524from an 524from an
525.Tn AmigaDOS 525.Tn AmigaDOS
526partition, you need to get the 526partition, you need to get the
527.Nx 527.Nx
528distribution sets you wish to install on your system on to an 528distribution sets you wish to install on your system on to an
529.Tn AmigaDOS 529.Tn AmigaDOS
530partition. 530partition.
531.Pp 531.Pp
532Note where you place the files as you will need this later. 532Note where you place the files as you will need this later.
533.Pp 533.Pp
534Once you have done this, you can proceed to the next 534Once you have done this, you can proceed to the next
535step in the installation process, preparing your hard disk. 535step in the installation process, preparing your hard disk.
536.\} \" \n[amiga] 536.\} \" \n[amiga]
537. 537.
538.It Em CD-ROM / DVD 538.It Em CD-ROM / DVD
539.if \n[amiga] \{\ 539.if \n[amiga] \{\
540To install 540To install
541.Nx 541.Nx
542from a CD-ROM drive, make sure it is a SCSI CD-ROM on a SCSI bus currently 542from a CD-ROM drive, make sure it is a SCSI CD-ROM on a SCSI bus currently
543supported by 543supported by
544.Nx 544.Nx
545(refer to the supported hardware list) or an ATAPI CD-ROM connected to the 545(refer to the supported hardware list) or an ATAPI CD-ROM connected to the
546A1200 or A4000 internal IDE connector. 546A1200 or A4000 internal IDE connector.
547If it is a SCSI CD-ROM on a non-supported SCSI bus like Blizzard-3 SCSI 547If it is a SCSI CD-ROM on a non-supported SCSI bus like Blizzard-3 SCSI
548or Apollo SCSI you must first copy the distribution sets to an 548or Apollo SCSI you must first copy the distribution sets to an
549.Tn AmigaDOS 549.Tn AmigaDOS
550partition as described above. 550partition as described above.
551.Pp 551.Pp
552If your SCSI CD-ROM is connected to a supported SCSI host adapter, 552If your SCSI CD-ROM is connected to a supported SCSI host adapter,
553or it is an ATAPI cd-rom connected to the A1200/A4000 internal IDE 553or it is an ATAPI cd-rom connected to the A1200/A4000 internal IDE
554connector, simply put the CD into the drive before installation. 554connector, simply put the CD into the drive before installation.
555.Pp 555.Pp
556.\} \" \n[amiga] 556.\} \" \n[amiga]
557Find out where the distribution set files are on the CD-ROM or DVD. 557Find out where the distribution set files are on the CD-ROM or DVD.
558Likely locations are 558Likely locations are
559.Pa binary/sets 559.Pa binary/sets
560and 560and
561.Pa \*M/binary/sets . 561.Pa \*M/binary/sets .
562.Pp 562.Pp
563Proceed to the instructions on installation. 563Proceed to the instructions on installation.
564. 564.
565.It Em FTP 565.It Em FTP
566The preparations for this installation/upgrade method are 566The preparations for this installation/upgrade method are
567easy; all you need to do is make sure that there's an FTP 567easy; all you need to do is make sure that there's an FTP
568site from which you can retrieve the 568site from which you can retrieve the
569.Nx 569.Nx
570distribution when you're about to 570distribution when you're about to
571install or upgrade. 571install or upgrade.
572If you don't have DHCP available on your network, 572If you don't have DHCP available on your network,
573you will need to know the numeric IP address of that site, and, 573you will need to know the numeric IP address of that site, and,
574if it's not on a network directly connected to the machine 574if it's not on a network directly connected to the machine
575on which you're installing or upgrading 575on which you're installing or upgrading
576.Nx , 576.Nx ,
577you need to know the numeric IP address of the router closest 577you need to know the numeric IP address of the router closest
578to the 578to the
579.Nx 579.Nx
580machine. 580machine.
581Finally, you need to know the numeric IP address of the 581Finally, you need to know the numeric IP address of the
582.Nx 582.Nx
583machine itself. 583machine itself.
584If you don't have access to a functioning nameserver during 584If you don't have access to a functioning nameserver during
585installation, the IPv4 address of 585installation, the IPv4 address of
586.Sy ftp.NetBSD.org 586.Sy ftp.NetBSD.org
587is 587is
588.Li 204.152.190.15 588.Li 204.152.190.15
589and the IPv6 address is 589and the IPv6 address is
590.Li 2001:4f8:3:7:230:48ff:fec6:9aaa:21 590.Li 2001:4f8:3:7:230:48ff:fec6:9aaa:21
591(as of May, 2010). 591(as of May, 2010).
592.Pp 592.Pp
593Once you have this information, you can proceed to the next 593Once you have this information, you can proceed to the next
594step in the installation or upgrade process. 594step in the installation or upgrade process.
595If you're installing 595If you're installing
596.Nx 596.Nx
597from scratch, go to the section on preparing your hard disk, below. 597from scratch, go to the section on preparing your hard disk, below.
598If you're upgrading an existing installation, go directly to 598If you're upgrading an existing installation, go directly to
599the section on upgrading. 599the section on upgrading.
600. 600.
601.if \n[x68k] \{\ 601.if \n[x68k] \{\
602.It Em M-O disk 602.It Em M-O disk
603To install 603To install
604.Nx 604.Nx
605from a device such as a removable SCSI disk or a magneto-optical disk, 605from a device such as a removable SCSI disk or a magneto-optical disk,
606the media 606the media
607.Em must 607.Em must
608be of the 608be of the
609.Tn IBM 609.Tn IBM
610.Em Super-floppy 610.Em Super-floppy
611format. 611format.
612The 612The
613.Tn Human68k 613.Tn Human68k
614format is not recognized by this release of the 614format is not recognized by this release of the
615.Nx*M . 615.Nx*M .
616If you have a 616If you have a
617.Tn MS-DOS 617.Tn MS-DOS
618or 618or
619.Tn MS Windows 619.Tn MS Windows
620machine with an M-O drive connected, use it. 620machine with an M-O drive connected, use it.
621If you don't, and if you have a program to handle 621If you don't, and if you have a program to handle
622.Tn IBM 622.Tn IBM
623format M-O for 623format M-O for
624.Tn Human68k , 624.Tn Human68k ,
625copy all the files in the subdirectory 625copy all the files in the subdirectory
626.Pa x68k/binaries 626.Pa x68k/binaries
627and 627and
628.Em "change their names to upper case". 628.Em "change their names to upper case".
629.\} \" \n[x68k] 629.\} \" \n[x68k]
630. 630.
631.It Em NFS 631.It Em NFS
632Place the 632Place the
633.Nx 633.Nx
634distribution sets you wish to install into a 634distribution sets you wish to install into a
635directory on an NFS server, and make that directory mountable 635directory on an NFS server, and make that directory mountable
636by the machine on which you are installing or upgrading 636by the machine on which you are installing or upgrading
637.Nx . 637.Nx .
638This will probably require modifying the 638This will probably require modifying the
639.Pa /etc/exports 639.Pa /etc/exports
640file on the NFS server and resetting its mount daemon (mountd). 640file on the NFS server and resetting its mount daemon (mountd).
641(Both of these actions will probably require superuser 641(Both of these actions will probably require superuser
642privileges on the server.) 642privileges on the server.)
643.Pp 643.Pp
644You need to know the numeric IP address of the NFS server, 644You need to know the numeric IP address of the NFS server,
645and, if you don't have DHCP available on your network and 645and, if you don't have DHCP available on your network and
646the server is not on a network directly connected to 646the server is not on a network directly connected to
647the machine on which you're installing or upgrading 647the machine on which you're installing or upgrading
648.Nx , 648.Nx ,
649you need to know the numeric IP address of the router closest 649you need to know the numeric IP address of the router closest
650to the 650to the
651.Nx 651.Nx
652machine. 652machine.
653Finally, you need to know the numeric IP address of the 653Finally, you need to know the numeric IP address of the
654.Nx 654.Nx
655machine itself. 655machine itself.
656.Pp 656.Pp
657Once the NFS server is set up properly and you have the 657Once the NFS server is set up properly and you have the
658information mentioned above, you can proceed to the next step 658information mentioned above, you can proceed to the next step
659in the installation or upgrade process. 659in the installation or upgrade process.
660If you're installing 660If you're installing
661.Nx 661.Nx
662from scratch, go to the section on preparing your hard disk, below. 662from scratch, go to the section on preparing your hard disk, below.
663If you're upgrading an existing installation, go directly to the 663If you're upgrading an existing installation, go directly to the
664section on upgrading. 664section on upgrading.
665. 665.
666.It Em Tape 666.It Em Tape
667To install 667To install
668.Nx 668.Nx
669from a tape, you need to make a tape that 669from a tape, you need to make a tape that
670contains the distribution set files, in 670contains the distribution set files, in
671.Sq tar 671.Sq tar
672format. 672format.
673.if \n[pmax]:\n[vax] \{\ 673.if \n[pmax]:\n[vax] \{\
674.(Note 674.(Note
675the tape devices with which 675the tape devices with which
676.Nx*M 676.Nx*M
677is believed to work is the 677is believed to work is the
678.Tn DEC 678.Tn DEC
679TK-50. 679TK-50.
680This is a very slow device. 680This is a very slow device.
681Installation via disk or network is recommended if possible. 681Installation via disk or network is recommended if possible.
682.Note) 682.Note)
683.\} \" \n[pmax]:\n[vax] 683.\} \" \n[pmax]:\n[vax]
684.Pp 684.Pp
685If you're making the tape on a 685If you're making the tape on a
686.Ul 686.Ul
687system, the easiest way 687system, the easiest way
688to do so is probably something like: 688to do so is probably something like:
689.Pp 689.Pp
690.Dl # Ic "tar -cf" Ar "tape_device dist_directories" 690.Dl # Ic "tar -cf" Ar "tape_device dist_directories"
691.Pp 691.Pp
692where 692where
693.Ar tape_device 693.Ar tape_device
694is the name of the tape device that 694is the name of the tape device that
695describes the tape drive you're using; possibly 695describes the tape drive you're using; possibly
696.Pa /dev/rst0 , 696.Pa /dev/rst0 ,
697or something similar, but it will vary from system to system. 697or something similar, but it will vary from system to system.
698(If you can't figure it out, ask your system administrator.) 698(If you can't figure it out, ask your system administrator.)
699In the above example, 699In the above example,
700.Ar dist_directories 700.Ar dist_directories
701are the 701are the
702distribution sets' directories, for the distribution sets you 702distribution sets' directories, for the distribution sets you
703wish to place on the tape. 703wish to place on the tape.
704For instance, to put the 704For instance, to put the
705.Sy kern-GENERIC, base, No and Sy etc 705.Sy kern-GENERIC, base, No and Sy etc
706distributions on tape (in 706distributions on tape (in
707order to do the absolute minimum installation to a new disk), 707order to do the absolute minimum installation to a new disk),
708you would do the following: 708you would do the following:
709.Pp 709.Pp
710.Dl # Ic "cd \&.../NetBSD-\*V" 710.Dl # Ic "cd \&.../NetBSD-\*V"
711.Dl # Ic "cd \*M/binary" 711.Dl # Ic "cd \*M/binary"
712.Dl # Ic "tar -cf" Ar tape_device Ic "kern-GENERIC base etc" 712.Dl # Ic "tar -cf" Ar tape_device Ic "kern-GENERIC base etc"
713.Pp 713.Pp
714.(Note 714.(Note
715You still need to fill in 715You still need to fill in
716.Ar tape_device No in the example. 716.Ar tape_device No in the example.
717.Note) 717.Note)
718.Pp 718.Pp
719Once you have the files on the tape, you can proceed to the 719Once you have the files on the tape, you can proceed to the
720next step in the installation or upgrade process. 720next step in the installation or upgrade process.
721If you're installing 721If you're installing
722.Nx 722.Nx
723from scratch, go to the section on preparing your hard disk, below. 723from scratch, go to the section on preparing your hard disk, below.
724If you're upgrading an existing installation, go directly to the section 724If you're upgrading an existing installation, go directly to the section
725on upgrading. 725on upgrading.
726. 726.
727.tag) 727.tag)