| @@ -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] \{\ |
31 | To boot | | 31 | To boot |
32 | .Nx , | | 32 | .Nx , |
33 | you will need the bootloader | | 33 | you will need the bootloader |
34 | .Pq Ic boot26 | | 34 | .Pq Ic boot26 |
35 | and the kernel you wish to boot on a RISC OS file system somewhere. | | 35 | and the kernel you wish to boot on a RISC OS file system somewhere. |
36 | .Ic boot26 | | 36 | .Ic boot26 |
37 | can boot gzipped kernels, so there's no need to gunzip it. | | 37 | can 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] \{\ |
42 | You will need to create a CD with an install kernel on it or have | | 42 | You will need to create a CD with an install kernel on it or have |
43 | a FAT partition and working other OS (Windows NT) which can write | | 43 | a FAT partition and working other OS (Windows NT) which can write |
44 | install files into it. | | 44 | install files into it. |
45 | .Pp | | 45 | .Pp |
46 | .\} \" \n[arc] | | 46 | .\} \" \n[arc] |
47 | . | | 47 | . |
48 | .if \n[cats] \{\ | | 48 | .if \n[cats] \{\ |
49 | You will need to create a CD with an install kernel on it or have another | | 49 | You will need to create a CD with an install kernel on it or have another |
50 | machine available to allow net booting. | | 50 | machine 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] \{\ |
55 | To boot | | 55 | To boot |
56 | .Nx , | | 56 | .Nx , |
57 | you will need a server running the appropriate netboot protocol with a | | 57 | you will need a server running the appropriate netboot protocol with a |
58 | Logical Interchange Format (LIF) volume of the kernel you wish to boot, or | | 58 | Logical Interchange Format (LIF) volume of the kernel you wish to boot, or |
59 | the | | 59 | the |
60 | .Pa netinstall.lif | | 60 | .Pa netinstall.lif |
61 | volume available in the | | 61 | volume available in the |
62 | .Pa hp700/installation | | 62 | .Pa hp700/installation |
63 | directory of the | | 63 | directory of the |
64 | .Nx | | 64 | .Nx |
65 | distribution. | | 65 | distribution. |
66 | .Pp | | 66 | .Pp |
67 | Booting from CD is not currently available. | | 67 | Booting 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] \{\ |
72 | If you are not booting off a CD-ROM, you will need to have some floppy | | 72 | If you are not booting off a CD-ROM, you will need to have some floppy |
73 | disks to boot off; | | 73 | disks to boot off; |
74 | either three 1.44 MB floppies or one 1.2 MB floppy. | | 74 | either three 1.44 MB floppies or one 1.2 MB floppy. |
75 | .Pp | | 75 | .Pp |
76 | Use | | 76 | Use |
77 | .Pa boot1.fs | | 77 | .Pa boot1.fs |
78 | and | | 78 | and |
79 | .Pa boot2.fs | | 79 | .Pa boot2.fs |
80 | for VGA installation. | | 80 | for VGA installation. |
81 | .Pa boot-com1.fs | | 81 | .Pa boot-com1.fs |
82 | and | | 82 | and |
83 | .Pa boot-com2.fs | | 83 | .Pa boot-com2.fs |
84 | are available if you wish to use a serial console. | | 84 | are available if you wish to use a serial console. |
85 | .Pp | | 85 | .Pp |
86 | If you are using a | | 86 | If you are using a |
87 | .Ul | | 87 | .Ul |
88 | system to write the floppy images to | | 88 | system to write the floppy images to |
89 | disks, you should use the | | 89 | disks, you should use the |
90 | .Xr dd | | 90 | .Xr dd |
91 | command to copy the file system image(s) | | 91 | command 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. |
93 | It is suggested that you read the | | 93 | It is suggested that you read the |
94 | .Xr dd 1 | | 94 | .Xr dd 1 |
95 | manual page or ask your system administrator to determine the correct | | 95 | manual page or ask your system administrator to determine the correct |
96 | set of arguments to use; it will be slightly different from system to | | 96 | set of arguments to use; it will be slightly different from system to |
97 | system, and a comprehensive list of the possibilities is beyond the | | 97 | system, and a comprehensive list of the possibilities is beyond the |
98 | scope of this document. | | 98 | scope of this document. |
99 | .Pp | | 99 | .Pp |
100 | If you are using | | 100 | If you are using |
101 | .Tn MS-DOS | | 101 | .Tn MS-DOS |
102 | to write the floppy image(s) to floppy disk, you should use the | | 102 | to write the floppy image(s) to floppy disk, you should use the |
103 | .Ic rawrite | | 103 | .Ic rawrite |
104 | utility, provided in the | | 104 | utility, provided in the |
105 | .Pa i386/installation/misc | | 105 | .Pa i386/installation/misc |
106 | directory of the | | 106 | directory of the |
107 | .Nx | | 107 | .Nx |
108 | distribution. | | 108 | distribution. |
109 | It will write a file system image (.fs file) to a floppy disk. | | 109 | It will write a file system image (.fs file) to a floppy disk. |
110 | A | | 110 | A |
111 | .Ic rawrite32 | | 111 | .Ic rawrite32 |
112 | is also available that runs under | | 112 | is 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] \{\ |
118 | You should wait to decide where to put the | | 118 | You should wait to decide where to put the |
119 | .Nx | | 119 | .Nx |
120 | distribution sets until you have figured out how you are going to boot | | 120 | distribution sets until you have figured out how you are going to boot |
121 | your system. | | 121 | your system. |
122 | Refer back to this section after you have done so. | | 122 | Refer 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 |
127 | Some | | 127 | Some |
128 | .Tn Mac OS | | 128 | .Tn Mac OS |
129 | .Ic ftp | | 129 | .Ic ftp |
130 | clients default to downloading files in | | 130 | clients default to downloading files in |
131 | .Sq ASCII | | 131 | .Sq ASCII |
132 | mode. | | 132 | mode. |
133 | This will render the | | 133 | This will render the |
134 | .Nx | | 134 | .Nx |
135 | files useless. | | 135 | files useless. |
136 | Make sure to set your ftp program to download in | | 136 | Make sure to set your ftp program to download in |
137 | .Sq binary | | 137 | .Sq binary |
138 | mode. | | 138 | mode. |
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] \{\ |
148 | does not support framebuffers other than onboard ones on | | 148 | does not support framebuffers other than onboard ones on |
149 | EWS4800/350, EWS4800/360AD and EWS4800/360ADII so | | 149 | EWS4800/350, EWS4800/360AD and EWS4800/360ADII so |
150 | you have to use serial console on installation procedure | | 150 | you have to use serial console on installation procedure |
151 | if your machine doesn't have supported framebuffers listed above. | | 151 | if your machine doesn't have supported framebuffers listed above. |
152 | .\} \" \n[ews4800mips] | | 152 | .\} \" \n[ews4800mips] |
153 | .if \n[news68k] \{\ | | 153 | .if \n[news68k] \{\ |
154 | does not support any framebuffers (yet) so | | 154 | does not support any framebuffers (yet) so |
155 | you have to use serial console on installation procedure. | | 155 | you have to use serial console on installation procedure. |
156 | .\} \" \n[news68k] | | 156 | .\} \" \n[news68k] |
157 | .if \n[newsmips] \{\ | | 157 | .if \n[newsmips] \{\ |
158 | does not support any framebuffers other than NWB-253 on NWS-3470D and | | 158 | does not support any framebuffers other than NWB-253 on NWS-3470D and |
159 | XA on NWS-5000 (yet) so | | 159 | XA on NWS-5000 (yet) so |
160 | you have to use serial console on installation procedure | | 160 | you have to use serial console on installation procedure |
161 | if your machine doesn't have supported framebuffers listed above. | | 161 | if your machine doesn't have supported framebuffers listed above. |
162 | .\} \" \n[newsmips] | | 162 | .\} \" \n[newsmips] |
163 | .Note) | | 163 | .Note) |
164 | .Pp | | 164 | .Pp |
165 | You will need to have | | 165 | You 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 |
169 | to boot off. | | 169 | to boot off. |
170 | You must put the boot floppy image onto this disk, which contains | | 170 | You must put the boot floppy image onto this disk, which contains |
171 | software to install | | 171 | software to install |
172 | .Nx | | 172 | .Nx |
173 | system. | | 173 | system. |
174 | .Pp | | 174 | .Pp |
175 | If you are using a | | 175 | If you are using a |
176 | .Ul | | 176 | .Ul |
177 | system (such as | | 177 | system (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] |
184 | or other | | 184 | or other |
185 | .Nx | | 185 | .Nx |
186 | machines) to write the floppy images to disks, you should use the | | 186 | machines) to write the floppy images to disks, you should use the |
187 | .Xr dd 1 | | 187 | .Xr dd 1 |
188 | command to copy the file system image(s) | | 188 | command 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. |
190 | It is suggested that you read the | | 190 | It is suggested that you read the |
191 | .Xr dd 1 | | 191 | .Xr dd 1 |
192 | manual page or ask your system administrator to determine the correct | | 192 | manual page or ask your system administrator to determine the correct |
193 | set of arguments to use; it will be slightly different from system to | | 193 | set of arguments to use; it will be slightly different from system to |
194 | system, and a comprehensive list of the possibilities is beyond the | | 194 | system, and a comprehensive list of the possibilities is beyond the |
195 | scope of this document. | | 195 | scope of this document. |
196 | .Pp | | 196 | .Pp |
197 | If you have an i386 machine which runs | | 197 | If you have an i386 machine which runs |
198 | .Tn MS-DOS | | 198 | .Tn MS-DOS |
199 | and use it to write the floppy image(s) to floppy disk, | | 199 | and use it to write the floppy image(s) to floppy disk, |
200 | you can use the | | 200 | you can use the |
201 | .Ic rawrite | | 201 | .Ic rawrite |
202 | utility, provided in the | | 202 | utility, provided in the |
203 | .Pa i386/installation/misc | | 203 | .Pa i386/installation/misc |
204 | directory of the | | 204 | directory of the |
205 | .Nx | | 205 | .Nx |
206 | distribution. | | 206 | distribution. |
207 | It will write a file system image (.fs file) to a floppy disk. | | 207 | It will write a file system image (.fs file) to a floppy disk. |
208 | A | | 208 | A |
209 | .Ic rawrite32 | | 209 | .Ic rawrite32 |
210 | is also available that runs under | | 210 | is also available that runs under |
211 | .Tn MS Windows . | | 211 | .Tn MS Windows . |
212 | .Pp | | 212 | .Pp |
213 | Though | | 213 | Though |
214 | .Nx*M | | 214 | .Nx*M |
215 | uses the floppy disk to boot for the initial | | 215 | uses the floppy disk to boot for the initial |
216 | installation, the | | 216 | installation, the |
217 | .Nx*M | | 217 | .Nx*M |
218 | kernel does not support the | | 218 | kernel does not support the |
219 | floppy device. | | 219 | floppy device. |
220 | Some other machines or systems are still required to write floppy images | | 220 | Some other machines or systems are still required to write floppy images |
221 | even after | | 221 | even after |
222 | .Nx*M | | 222 | .Nx*M |
223 | has been installed. | | 223 | has been installed. |
224 | .Pp | | 224 | .Pp |
225 | If your machine doesn't have any SCSI disks, or the SCSI interface | | 225 | If your machine doesn't have any SCSI disks, or the SCSI interface |
226 | on your machine is not supported, it can still run | | 226 | on your machine is not supported, it can still run |
227 | .Nx*M | | 227 | .Nx*M |
228 | diskless. | | 228 | diskless. |
229 | No file transfer is needed, and all you have to do is to prepare files on | | 229 | No file transfer is needed, and all you have to do is to prepare files on |
230 | the server. | | 230 | the server. |
231 | More information about diskless setups can be found at | | 231 | More 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] \{\ |
235 | The PROM uses the ordinary tftp protocol, so | | 235 | The PROM uses the ordinary tftp protocol, so |
236 | you can load bootloader via network. | | 236 | you can load bootloader via network. |
237 | The PROM also supports tape boot but | | 237 | The PROM also supports tape boot but |
238 | .Nx*M | | 238 | .Nx*M |
239 | does not support it currently. | | 239 | does not support it currently. |
240 | .Pp | | 240 | .Pp |
241 | After the boot floppy or diskless server is prepared, just set | | 241 | After the boot floppy or diskless server is prepared, just set |
242 | boot device on the PROM menu which can be invoked by pressing ESC key | | 242 | boot device on the PROM menu which can be invoked by pressing ESC key |
243 | right after hardware checks. | | 243 | right after hardware checks. |
244 | .\} \" \n[ews4800mips] | | 244 | .\} \" \n[ews4800mips] |
245 | .if \n[news68k] \{\ | | 245 | .if \n[news68k] \{\ |
246 | The | | 246 | The |
247 | .Tn NEWS | | 247 | .Tn NEWS |
248 | PROM also supports tape boot and network boot, but | | 248 | PROM also supports tape boot and network boot, but |
249 | .Nx*M | | 249 | .Nx*M |
250 | does not support them currently. | | 250 | does not support them currently. |
251 | .Pp | | 251 | .Pp |
252 | After the boot floppy is prepared, just type | | 252 | After the boot floppy is prepared, just type |
253 | .Ic "bo fh" | | 253 | .Ic "bo fh" |
254 | on the PROM prompt to boot it. | | 254 | on the PROM prompt to boot it. |
255 | .Pp | | 255 | .Pp |
256 | .\} \" \n[news68k] | | 256 | .\} \" \n[news68k] |
257 | .if \n[newsmips] \{\ | | 257 | .if \n[newsmips] \{\ |
258 | On NWS-3xxx machines, the PROM also supports network boot but it uses | | 258 | On NWS-3xxx machines, the PROM also supports network boot but it uses |
259 | an unusual protocol which is not supported by | | 259 | an unusual protocol which is not supported by |
260 | .Nx*M . | | 260 | .Nx*M . |
261 | On NWS-5000 machines, the PROM uses the ordinary tftp protocol, so | | 261 | On NWS-5000 machines, the PROM uses the ordinary tftp protocol, so |
262 | you can load bootloader via network by | | 262 | you can load bootloader via network by |
263 | .Ic "bo tftp()" | | 263 | .Ic "bo tftp()" |
264 | command on the PROM prompt. | | 264 | command on the PROM prompt. |
265 | .Pp | | 265 | .Pp |
266 | The | | 266 | The |
267 | .Tn NEWS | | 267 | .Tn NEWS |
268 | PROM also supports tape boot, but | | 268 | PROM also supports tape boot, but |
269 | .Nx*M | | 269 | .Nx*M |
270 | does not support that currently. | | 270 | does not support that currently. |
271 | .Pp | | 271 | .Pp |
272 | After the boot floppy is prepared, just type | | 272 | After 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] \{\ |
282 | First-time installation on a bare machine is not supported, because most | | 282 | First-time installation on a bare machine is not supported, because most |
283 | DECstations do not have any suitable load device. | | 283 | DECstations do not have any suitable load device. |
284 | Some versions of the DECstation PROM are buggy and will not boot via | | 284 | Some versions of the DECstation PROM are buggy and will not boot via |
285 | .Tn TFTP | | 285 | .Tn TFTP |
286 | and bootp; other versions are buggy and do not boot via | | 286 | and bootp; other versions are buggy and do not boot via |
287 | .Tn MOP . | | 287 | .Tn MOP . |
288 | .Pp | | 288 | .Pp |
289 | The only DECstation with a floppy-disk drive is the Personal DECstation, | | 289 | The only DECstation with a floppy-disk drive is the Personal DECstation, |
290 | and that device is not supported as a boot device. | | 290 | and that device is not supported as a boot device. |
291 | .Pp | | 291 | .Pp |
292 | The recommended installation procedure is to boot an install kernel | | 292 | The recommended installation procedure is to boot an install kernel |
293 | via | | 293 | via |
294 | .Tn TFTP , | | 294 | .Tn TFTP , |
295 | or to use a | | 295 | or to use a |
296 | .Dq helper | | 296 | .Dq helper |
297 | system to write a miniroot diskimage onto a disk, move that | | 297 | system to write a miniroot diskimage onto a disk, move that |
298 | disk to the target installation system, and then boot the miniroot. | | 298 | disk 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] \{\ |
303 | Installing on a | | 303 | Installing on a |
304 | .Sq bare | | 304 | .Sq bare |
305 | machine requires some bootable | | 305 | machine requires some bootable |
306 | device; either a tape, CD-ROM or floppy drive or a NFS server together | | 306 | device; either a tape, CD-ROM or floppy drive or a NFS server together |
307 | with a machine that can act as a MOP loader, such as another | | 307 | with a machine that can act as a MOP loader, such as another |
308 | machine running | | 308 | machine running |
309 | .Nx . | | 309 | .Nx . |
310 | .Nx*M | | 310 | .Nx*M |
311 | can use both BOOTP/DHCP and | | 311 | can use both BOOTP/DHCP and |
312 | BOOTPARAMS for netboot installations. | | 312 | BOOTPARAMS for netboot installations. |
313 | .Pp | | 313 | .Pp |
314 | .\} \" \n[vax] | | 314 | .\} \" \n[vax] |
315 | . | | 315 | . |
316 | .if \n[x68k] \{\ | | 316 | .if \n[x68k] \{\ |
317 | You will have to prepare the `ramdisk-root' installation system. | | 317 | You will have to prepare the `ramdisk-root' installation system. |
318 | There are two ways to invoke the | | 318 | There are two ways to invoke the |
319 | .Nx | | 319 | .Nx |
320 | installation system; | | 320 | installation system; |
321 | .Pp | | 321 | .Pp |
322 | .(bullet -compact -offset indent | | 322 | .(bullet -compact -offset indent |
323 | Use the | | 323 | Use the |
324 | .Pa loadbsd.x | | 324 | .Pa loadbsd.x |
325 | utility to boot | | 325 | utility to boot |
326 | .Nx | | 326 | .Nx |
327 | from | | 327 | from |
328 | .Tn Human68k | | 328 | .Tn Human68k |
329 | .It | | 329 | .It |
330 | Make a boot floppy which contains the installation system | | 330 | Make a boot floppy which contains the installation system |
331 | .bullet) | | 331 | .bullet) |
332 | .Pp | | 332 | .Pp |
333 | If you choose the first method, | | 333 | If you choose the first method, |
334 | you have to put the compressed installation kernel | | 334 | you have to put the compressed installation kernel |
335 | .Pa netbsd-INSTALL.gz , | | 335 | .Pa netbsd-INSTALL.gz , |
336 | the | | 336 | the |
337 | .Pa loadbsd.x | | 337 | .Pa loadbsd.x |
338 | utility and the | | 338 | utility and the |
339 | .Pa gzip.x | | 339 | .Pa gzip.x |
340 | utility to a disk accessible from Human68k. | | 340 | utility to a disk accessible from Human68k. |
341 | These files can be found in the | | 341 | These files can be found in the |
342 | .Pa x68k/binary/kernel | | 342 | .Pa x68k/binary/kernel |
343 | directory or | | 343 | directory or |
344 | .Pa x68k/installation/misc | | 344 | .Pa x68k/installation/misc |
345 | directory of the | | 345 | directory of the |
346 | .Nx | | 346 | .Nx |
347 | distribution. | | 347 | distribution. |
348 | The | | 348 | The |
349 | .Pa netbsd-INSTALL | | 349 | .Pa netbsd-INSTALL |
350 | file needs to be uncompressed from | | 350 | file needs to be uncompressed from |
351 | .Pa netbsd-INSTALL.gz | | 351 | .Pa netbsd-INSTALL.gz |
352 | using the provided | | 352 | using the provided |
353 | .Ic gzip.x | | 353 | .Ic gzip.x |
354 | program with the | | 354 | program with the |
355 | .Fl d | | 355 | .Fl d |
356 | switch. | | 356 | switch. |
357 | .Pp | | 357 | .Pp |
358 | To invoke the installation system, just type | | 358 | To 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 |
363 | from the | | 363 | from the |
364 | .Tn Human68k | | 364 | .Tn Human68k |
365 | command line. | | 365 | command line. |
366 | .Pp | | 366 | .Pp |
367 | If you choose the second method, you have to make the boot floppy | | 367 | If you choose the second method, you have to make the boot floppy |
368 | from the floppy image | | 368 | from the floppy image |
369 | .Pa sysinst.fs . | | 369 | .Pa sysinst.fs . |
370 | The image file can be found in | | 370 | The image file can be found in |
371 | .Pa x68k/installation/floppy | | 371 | .Pa x68k/installation/floppy |
372 | directory of the | | 372 | directory of the |
373 | .Nx | | 373 | .Nx |
374 | distribution. | | 374 | distribution. |
375 | .Pp | | 375 | .Pp |
376 | If you are using a | | 376 | If you are using a |
377 | .Ul | | 377 | .Ul |
378 | system to write the floppy image to | | 378 | system to write the floppy image to |
379 | disks, you should use the | | 379 | disks, you should use the |
380 | .Pa dd | | 380 | .Pa dd |
381 | command to copy the file system images (.fs files) directly to the raw | | 381 | command to copy the file system images (.fs files) directly to the raw |
382 | floppy disks. | | 382 | floppy disks. |
383 | It is suggested that you read the | | 383 | It is suggested that you read the |
384 | .Xr dd 1 | | 384 | .Xr dd 1 |
385 | manual page or | | 385 | manual page or |
386 | ask your system administrator to determine the correct set of | | 386 | ask your system administrator to determine the correct set of |
387 | arguments to use; it will be slightly different from system to system, | | 387 | arguments to use; it will be slightly different from system to system, |
388 | and a comprehensive list of the possibilities is beyond the scope of | | 388 | and a comprehensive list of the possibilities is beyond the scope of |
389 | this document. | | 389 | this document. |
390 | .Pp | | 390 | .Pp |
391 | If you are using | | 391 | If you are using |
392 | .Tn Human68k | | 392 | .Tn Human68k |
393 | to write the floppy images to disks, you should use the | | 393 | to write the floppy images to disks, you should use the |
394 | .Ic rawrite | | 394 | .Ic rawrite |
395 | utility, provided in the | | 395 | utility, provided in the |
396 | .Pa x68k/installation/misc | | 396 | .Pa x68k/installation/misc |
397 | directory of the | | 397 | directory of the |
398 | .Nx | | 398 | .Nx |
399 | distribution. | | 399 | distribution. |
400 | PC versions can be found in | | 400 | PC versions can be found in |
401 | .Pa i386/installation/misc . | | 401 | .Pa i386/installation/misc . |
402 | It will write the file system images (.fs files) to disks. | | 402 | It will write the file system images (.fs files) to disks. |
403 | .Pp | | 403 | .Pp |
404 | To use the boot floppy, insert the floppy to your floppy drive 0, | | 404 | To use the boot floppy, insert the floppy to your floppy drive 0, |
405 | and reboot your computer with OPT.1 key pressed. | | 405 | and reboot your computer with OPT.1 key pressed. |
406 | .Pp | | 406 | .Pp |
407 | If you have less than 5MB of memory, you have to use the | | 407 | If 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 |
411 | system is composed of two floppies, `kern' and `inst'. | | 411 | system is composed of two floppies, `kern' and `inst'. |
412 | They are made from the floppy images | | 412 | They are made from the floppy images |
413 | .Pa kern.fs | | 413 | .Pa kern.fs |
414 | and | | 414 | and |
415 | .Pa inst.fs | | 415 | .Pa inst.fs |
416 | respectively, both of which are found in | | 416 | respectively, both of which are found in |
417 | .Pa installation/floppy | | 417 | .Pa installation/floppy |
418 | directory of the | | 418 | directory of the |
419 | .Nx | | 419 | .Nx |
420 | distribution. | | 420 | distribution. |
421 | The | | 421 | The |
422 | .Pa inst.fs | | 422 | .Pa inst.fs |
423 | file needs to be uncompressed from | | 423 | file needs to be uncompressed from |
424 | .Pa inst.fs.gz | | 424 | .Pa inst.fs.gz |
425 | using the provided | | 425 | using the provided |
426 | .Ic gzip.x | | 426 | .Ic gzip.x |
427 | program with the | | 427 | program with the |
428 | .Fl d | | 428 | .Fl d |
429 | switch. | | 429 | switch. |
430 | See above how to write the images to floppies. | | 430 | See above how to write the images to floppies. |
431 | .Pp | | 431 | .Pp |
432 | To start the `floppy-root' installation system, insert the `kern' floppy | | 432 | To start the `floppy-root' installation system, insert the `kern' floppy |
433 | to your floppy drive 0, and reboot your computer with OPT.1 key pressed. | | 433 | to your floppy drive 0, and reboot your computer with OPT.1 key pressed. |
434 | When you are prompted that `Insert file system floppy and press return.', | | 434 | When you are prompted that `Insert file system floppy and press return.', |
435 | replace the `kern' floppy with `inst' floppy and press return key. | | 435 | replace the `kern' floppy with `inst' floppy and press return key. |
436 | .Pp | | 436 | .Pp |
437 | Once booted, the `floppy-root' installation system is identical with | | 437 | Once booted, the `floppy-root' installation system is identical with |
438 | the `ramdisk-root' installation system, except that the former constantly | | 438 | the `ramdisk-root' installation system, except that the former constantly |
439 | accesses the floppy disk. | | 439 | accesses the floppy disk. |
440 | Floppy disks are relatively unreliable media and cause some warning messages | | 440 | Floppy disks are relatively unreliable media and cause some warning messages |
441 | to report access errors, most of which are corrected and can be ignored. | | 441 | to report access errors, most of which are corrected and can be ignored. |
442 | With the latter installation system the floppy disk is not used once the | | 442 | With the latter installation system the floppy disk is not used once the |
443 | system has booted off and can be removed from the drive. | | 443 | system has booted off and can be removed from the drive. |
444 | .Pp | | 444 | .Pp |
445 | .(Note | | 445 | .(Note |
446 | The `floppy-root' installation system cannot be used to install | | 446 | The `floppy-root' installation system cannot be used to install |
447 | .Nx*M | | 447 | .Nx*M |
448 | on a machine with less than 5MB of memory. | | 448 | on 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] \{\ |
454 | Note that if you are installing or upgrading from writable media, | | 454 | Note that if you are installing or upgrading from writable media, |
455 | it can be write-protected if you wish. | | 455 | it can be write-protected if you wish. |
456 | These systems mount a root image from inside the kernel, and will not | | 456 | These systems mount a root image from inside the kernel, and will not |
457 | need to write to the media. | | 457 | need to write to the media. |
458 | If you booted from a floppy, the floppy disk may be removed from | | 458 | If you booted from a floppy, the floppy disk may be removed from |
459 | the drive after the system has booted. | | 459 | the 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 | . |
465 | Installation is supported from several media types, including: | | 465 | Installation 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 | . |
474 | CD-ROM / DVD | | 474 | CD-ROM / DVD |
475 | . | | 475 | . |
476 | .It | | 476 | .It |
477 | FTP | | 477 | FTP |
478 | . | | 478 | . |
479 | .if \n[x68k] \{\ | | 479 | .if \n[x68k] \{\ |
480 | .It | | 480 | .It |
481 | Magneto-Optical (M-O) or other removable SCSI disk | | 481 | Magneto-Optical (M-O) or other removable SCSI disk |
482 | .\} \" \n[x68k] | | 482 | .\} \" \n[x68k] |
483 | . | | 483 | . |
484 | .It | | 484 | .It |
485 | Remote NFS partition | | 485 | Remote NFS partition |
486 | . | | 486 | . |
487 | .It | | 487 | .It |
488 | Tape | | 488 | Tape |
489 | . | | 489 | . |
490 | .It | | 490 | .It |
491 | Existing | | 491 | Existing |
492 | .Nx | | 492 | .Nx |
493 | .if \n[macppc] \{\ | | 493 | .if \n[macppc] \{\ |
494 | or | | 494 | or |
495 | .Tn MacOS X | | 495 | .Tn MacOS X |
496 | UFS | | 496 | UFS |
497 | .\} \" \n[macppc] | | 497 | .\} \" \n[macppc] |
498 | partitions, if performing an upgrade | | 498 | partitions, if performing an upgrade |
499 | . | | 499 | . |
500 | .bullet) | | 500 | .bullet) |
501 | .Pp | | 501 | .Pp |
502 | . | | 502 | . |
503 | The steps necessary to prepare the distribution sets for installation | | 503 | The steps necessary to prepare the distribution sets for installation |
504 | depend upon which installation medium you choose. | | 504 | depend upon which installation medium you choose. |
505 | The steps for the various media are outlined below. | | 505 | The steps for the various media are outlined below. |
506 | .if \n[sparc64] \{\ | | 506 | .if \n[sparc64] \{\ |
507 | .(Note | | 507 | .(Note |
508 | If you are installing the 32-bit sparc distribution sets, you will need to | | 508 | If you are installing the 32-bit sparc distribution sets, you will need to |
509 | rename | | 509 | rename |
510 | .Pa sparc/binary/sets/kern-GENERIC_SUN4U.tgz | | 510 | .Pa sparc/binary/sets/kern-GENERIC_SUN4U.tgz |
511 | to | | 511 | to |
512 | .Pa kern-GENERIC.tgz | | 512 | .Pa kern-GENERIC.tgz |
513 | since the \*M installation tools would otherwise attempt to install the | | 513 | since the \*M installation tools would otherwise attempt to install the |
514 | kernel for 32-bit sparc computers which does not boot on \*M systems. | | 514 | kernel 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 |
522 | To install | | 522 | To install |
523 | .Nx | | 523 | .Nx |
524 | from an | | 524 | from an |
525 | .Tn AmigaDOS | | 525 | .Tn AmigaDOS |
526 | partition, you need to get the | | 526 | partition, you need to get the |
527 | .Nx | | 527 | .Nx |
528 | distribution sets you wish to install on your system on to an | | 528 | distribution sets you wish to install on your system on to an |
529 | .Tn AmigaDOS | | 529 | .Tn AmigaDOS |
530 | partition. | | 530 | partition. |
531 | .Pp | | 531 | .Pp |
532 | Note where you place the files as you will need this later. | | 532 | Note where you place the files as you will need this later. |
533 | .Pp | | 533 | .Pp |
534 | Once you have done this, you can proceed to the next | | 534 | Once you have done this, you can proceed to the next |
535 | step in the installation process, preparing your hard disk. | | 535 | step 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] \{\ |
540 | To install | | 540 | To install |
541 | .Nx | | 541 | .Nx |
542 | from a CD-ROM drive, make sure it is a SCSI CD-ROM on a SCSI bus currently | | 542 | from a CD-ROM drive, make sure it is a SCSI CD-ROM on a SCSI bus currently |
543 | supported by | | 543 | supported 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 |
546 | A1200 or A4000 internal IDE connector. | | 546 | A1200 or A4000 internal IDE connector. |
547 | If it is a SCSI CD-ROM on a non-supported SCSI bus like Blizzard-3 SCSI | | 547 | If it is a SCSI CD-ROM on a non-supported SCSI bus like Blizzard-3 SCSI |
548 | or Apollo SCSI you must first copy the distribution sets to an | | 548 | or Apollo SCSI you must first copy the distribution sets to an |
549 | .Tn AmigaDOS | | 549 | .Tn AmigaDOS |
550 | partition as described above. | | 550 | partition as described above. |
551 | .Pp | | 551 | .Pp |
552 | If your SCSI CD-ROM is connected to a supported SCSI host adapter, | | 552 | If your SCSI CD-ROM is connected to a supported SCSI host adapter, |
553 | or it is an ATAPI cd-rom connected to the A1200/A4000 internal IDE | | 553 | or it is an ATAPI cd-rom connected to the A1200/A4000 internal IDE |
554 | connector, simply put the CD into the drive before installation. | | 554 | connector, simply put the CD into the drive before installation. |
555 | .Pp | | 555 | .Pp |
556 | .\} \" \n[amiga] | | 556 | .\} \" \n[amiga] |
557 | Find out where the distribution set files are on the CD-ROM or DVD. | | 557 | Find out where the distribution set files are on the CD-ROM or DVD. |
558 | Likely locations are | | 558 | Likely locations are |
559 | .Pa binary/sets | | 559 | .Pa binary/sets |
560 | and | | 560 | and |
561 | .Pa \*M/binary/sets . | | 561 | .Pa \*M/binary/sets . |
562 | .Pp | | 562 | .Pp |
563 | Proceed to the instructions on installation. | | 563 | Proceed to the instructions on installation. |
564 | . | | 564 | . |
565 | .It Em FTP | | 565 | .It Em FTP |
566 | The preparations for this installation/upgrade method are | | 566 | The preparations for this installation/upgrade method are |
567 | easy; all you need to do is make sure that there's an FTP | | 567 | easy; all you need to do is make sure that there's an FTP |
568 | site from which you can retrieve the | | 568 | site from which you can retrieve the |
569 | .Nx | | 569 | .Nx |
570 | distribution when you're about to | | 570 | distribution when you're about to |
571 | install or upgrade. | | 571 | install or upgrade. |
572 | If you don't have DHCP available on your network, | | 572 | If you don't have DHCP available on your network, |
573 | you will need to know the numeric IP address of that site, and, | | 573 | you will need to know the numeric IP address of that site, and, |
574 | if it's not on a network directly connected to the machine | | 574 | if it's not on a network directly connected to the machine |
575 | on which you're installing or upgrading | | 575 | on which you're installing or upgrading |
576 | .Nx , | | 576 | .Nx , |
577 | you need to know the numeric IP address of the router closest | | 577 | you need to know the numeric IP address of the router closest |
578 | to the | | 578 | to the |
579 | .Nx | | 579 | .Nx |
580 | machine. | | 580 | machine. |
581 | Finally, you need to know the numeric IP address of the | | 581 | Finally, you need to know the numeric IP address of the |
582 | .Nx | | 582 | .Nx |
583 | machine itself. | | 583 | machine itself. |
584 | If you don't have access to a functioning nameserver during | | 584 | If you don't have access to a functioning nameserver during |
585 | installation, the IPv4 address of | | 585 | installation, the IPv4 address of |
586 | .Sy ftp.NetBSD.org | | 586 | .Sy ftp.NetBSD.org |
587 | is | | 587 | is |
588 | .Li 204.152.190.15 | | 588 | .Li 204.152.190.15 |
589 | and the IPv6 address is | | 589 | and 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 |
593 | Once you have this information, you can proceed to the next | | 593 | Once you have this information, you can proceed to the next |
594 | step in the installation or upgrade process. | | 594 | step in the installation or upgrade process. |
595 | If you're installing | | 595 | If you're installing |
596 | .Nx | | 596 | .Nx |
597 | from scratch, go to the section on preparing your hard disk, below. | | 597 | from scratch, go to the section on preparing your hard disk, below. |
598 | If you're upgrading an existing installation, go directly to | | 598 | If you're upgrading an existing installation, go directly to |
599 | the section on upgrading. | | 599 | the 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 |
603 | To install | | 603 | To install |
604 | .Nx | | 604 | .Nx |
605 | from a device such as a removable SCSI disk or a magneto-optical disk, | | 605 | from a device such as a removable SCSI disk or a magneto-optical disk, |
606 | the media | | 606 | the media |
607 | .Em must | | 607 | .Em must |
608 | be of the | | 608 | be of the |
609 | .Tn IBM | | 609 | .Tn IBM |
610 | .Em Super-floppy | | 610 | .Em Super-floppy |
611 | format. | | 611 | format. |
612 | The | | 612 | The |
613 | .Tn Human68k | | 613 | .Tn Human68k |
614 | format is not recognized by this release of the | | 614 | format is not recognized by this release of the |
615 | .Nx*M . | | 615 | .Nx*M . |
616 | If you have a | | 616 | If you have a |
617 | .Tn MS-DOS | | 617 | .Tn MS-DOS |
618 | or | | 618 | or |
619 | .Tn MS Windows | | 619 | .Tn MS Windows |
620 | machine with an M-O drive connected, use it. | | 620 | machine with an M-O drive connected, use it. |
621 | If you don't, and if you have a program to handle | | 621 | If you don't, and if you have a program to handle |
622 | .Tn IBM | | 622 | .Tn IBM |
623 | format M-O for | | 623 | format M-O for |
624 | .Tn Human68k , | | 624 | .Tn Human68k , |
625 | copy all the files in the subdirectory | | 625 | copy all the files in the subdirectory |
626 | .Pa x68k/binaries | | 626 | .Pa x68k/binaries |
627 | and | | 627 | and |
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 |
632 | Place the | | 632 | Place the |
633 | .Nx | | 633 | .Nx |
634 | distribution sets you wish to install into a | | 634 | distribution sets you wish to install into a |
635 | directory on an NFS server, and make that directory mountable | | 635 | directory on an NFS server, and make that directory mountable |
636 | by the machine on which you are installing or upgrading | | 636 | by the machine on which you are installing or upgrading |
637 | .Nx . | | 637 | .Nx . |
638 | This will probably require modifying the | | 638 | This will probably require modifying the |
639 | .Pa /etc/exports | | 639 | .Pa /etc/exports |
640 | file on the NFS server and resetting its mount daemon (mountd). | | 640 | file 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 |
642 | privileges on the server.) | | 642 | privileges on the server.) |
643 | .Pp | | 643 | .Pp |
644 | You need to know the numeric IP address of the NFS server, | | 644 | You need to know the numeric IP address of the NFS server, |
645 | and, if you don't have DHCP available on your network and | | 645 | and, if you don't have DHCP available on your network and |
646 | the server is not on a network directly connected to | | 646 | the server is not on a network directly connected to |
647 | the machine on which you're installing or upgrading | | 647 | the machine on which you're installing or upgrading |
648 | .Nx , | | 648 | .Nx , |
649 | you need to know the numeric IP address of the router closest | | 649 | you need to know the numeric IP address of the router closest |
650 | to the | | 650 | to the |
651 | .Nx | | 651 | .Nx |
652 | machine. | | 652 | machine. |
653 | Finally, you need to know the numeric IP address of the | | 653 | Finally, you need to know the numeric IP address of the |
654 | .Nx | | 654 | .Nx |
655 | machine itself. | | 655 | machine itself. |
656 | .Pp | | 656 | .Pp |
657 | Once the NFS server is set up properly and you have the | | 657 | Once the NFS server is set up properly and you have the |
658 | information mentioned above, you can proceed to the next step | | 658 | information mentioned above, you can proceed to the next step |
659 | in the installation or upgrade process. | | 659 | in the installation or upgrade process. |
660 | If you're installing | | 660 | If you're installing |
661 | .Nx | | 661 | .Nx |
662 | from scratch, go to the section on preparing your hard disk, below. | | 662 | from scratch, go to the section on preparing your hard disk, below. |
663 | If you're upgrading an existing installation, go directly to the | | 663 | If you're upgrading an existing installation, go directly to the |
664 | section on upgrading. | | 664 | section on upgrading. |
665 | . | | 665 | . |
666 | .It Em Tape | | 666 | .It Em Tape |
667 | To install | | 667 | To install |
668 | .Nx | | 668 | .Nx |
669 | from a tape, you need to make a tape that | | 669 | from a tape, you need to make a tape that |
670 | contains the distribution set files, in | | 670 | contains the distribution set files, in |
671 | .Sq tar | | 671 | .Sq tar |
672 | format. | | 672 | format. |
673 | .if \n[pmax]:\n[vax] \{\ | | 673 | .if \n[pmax]:\n[vax] \{\ |
674 | .(Note | | 674 | .(Note |
675 | the tape devices with which | | 675 | the tape devices with which |
676 | .Nx*M | | 676 | .Nx*M |
677 | is believed to work is the | | 677 | is believed to work is the |
678 | .Tn DEC | | 678 | .Tn DEC |
679 | TK-50. | | 679 | TK-50. |
680 | This is a very slow device. | | 680 | This is a very slow device. |
681 | Installation via disk or network is recommended if possible. | | 681 | Installation 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 |
685 | If you're making the tape on a | | 685 | If you're making the tape on a |
686 | .Ul | | 686 | .Ul |
687 | system, the easiest way | | 687 | system, the easiest way |
688 | to do so is probably something like: | | 688 | to 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 |
692 | where | | 692 | where |
693 | .Ar tape_device | | 693 | .Ar tape_device |
694 | is the name of the tape device that | | 694 | is the name of the tape device that |
695 | describes the tape drive you're using; possibly | | 695 | describes the tape drive you're using; possibly |
696 | .Pa /dev/rst0 , | | 696 | .Pa /dev/rst0 , |
697 | or something similar, but it will vary from system to system. | | 697 | or 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.) |
699 | In the above example, | | 699 | In the above example, |
700 | .Ar dist_directories | | 700 | .Ar dist_directories |
701 | are the | | 701 | are the |
702 | distribution sets' directories, for the distribution sets you | | 702 | distribution sets' directories, for the distribution sets you |
703 | wish to place on the tape. | | 703 | wish to place on the tape. |
704 | For instance, to put the | | 704 | For instance, to put the |
705 | .Sy kern-GENERIC, base, No and Sy etc | | 705 | .Sy kern-GENERIC, base, No and Sy etc |
706 | distributions on tape (in | | 706 | distributions on tape (in |
707 | order to do the absolute minimum installation to a new disk), | | 707 | order to do the absolute minimum installation to a new disk), |
708 | you would do the following: | | 708 | you 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 |
715 | You still need to fill in | | 715 | You 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 |
719 | Once you have the files on the tape, you can proceed to the | | 719 | Once you have the files on the tape, you can proceed to the |
720 | next step in the installation or upgrade process. | | 720 | next step in the installation or upgrade process. |
721 | If you're installing | | 721 | If you're installing |
722 | .Nx | | 722 | .Nx |
723 | from scratch, go to the section on preparing your hard disk, below. | | 723 | from scratch, go to the section on preparing your hard disk, below. |
724 | If you're upgrading an existing installation, go directly to the section | | 724 | If you're upgrading an existing installation, go directly to the section |
725 | on upgrading. | | 725 | on upgrading. |
726 | . | | 726 | . |
727 | .tag) | | 727 | .tag) |