xfer revision 1.4.4.1 1 Installation is supported from several media types, including:
2
3 DOS floppies
4 Tape
5 Remote NFS partition
6 FTP
7
8 No matter which installation medium you choose, you'll need to have
9 two floppy disks (either 1.2M or 1.44 will work, though both should be
10 the same type). On the first, you'll put the kernel-copy image that's
11 appropriate for your system. On the second, you'll put the install or
12 upgrade floppy image, depending on whether you're installing NetBSD
13 for the first time, or upgrading a previous installation.
14
15 If you are using an Adaptec SCSI host adapter, you need the kcadp12.fs
16 kernel-copy image. If you're using any other SCSI host adapter,
17 you'll need the kcoth12.fs image. If you're using a non-SCSI disk
18 controller, either kernel-copy disk image will work for you.
19
20 If you are using a UN*X-like system to write the floppy images to
21 disks, you should use the "dd" command to copy the file system images
22 (.fs files) directly to the raw floppy disks. It is suggested that
23 you read the dd(1) manual page or ask your system administrator to
24 determine the correct set of arguments to use; it will be slightly
25 different from system to system, and a comprehensive list of the
26 possibilities is beyond the scope of this document.
27
28 If you are using DOS to write the floppy images to disks, you should
29 use the "rawrite" utility, provided in the "i386/utilities" directory
30 of the NetBSD distribution. It will write the file system images (.fs
31 files) to disks.
32
33 Note that, when installing, the kernel-copy floppy can be write-protected
34 (i.e. read-only), but the install floppy MUST not be write-protected.
35 The install program needs to write some temporary files, and if the
36 disk is write-protected, it can't. If you're upgrading your system,
37 both the kernel-copy and upgrade floppies may be write-protected.
38
39 Obviously, the steps necessary to prepare the distribution sets for
40 installation or upgrade depend on which installation medium you
41 choose. The steps for the various media are outlined below.
42
43 To install or upgrade NetBSD using DOS floppies, you need to do the
44 following:
45
46 Count the number of "set_name.xx" files that make up the
47 distribution sets you want to install or upgrade. You will
48 need one fifth that number of 1.2M floppies, or one sixth that
49 number of 1.44M floppies. You should only use one size of
50 floppy for the install or upgrade procedure; you can't use
51 some 1.2M floppies and some 1.44M floppies.
52
53 Format all of the floppies with DOS. DO NOT make any of them
54 bootable DOS floppies, i.e. don't use "format/s" to format
55 them. (If the floppies are bootable, then the DOS system
56 files that make them bootable will take up some space, and you
57 won't be able to fit as many distribution set parts per disk.)
58 If you're using floppies that are formatted for DOS by their
59 manufacturers, they probably aren't bootable, and you can use
60 them out of the box.
61
62 Place all of the "set_name.xx" files on the DOS disks, five
63 per disk if you're using 1.2M disks, six per disk if you're
64 using 1.44M disks. How you do this is up to you; there are
65 many possibilities. You could, for instance, use a DOS
66 terminal program to download them on to the floppies, or use
67 a UN*X-like system capable of reading and writing DOS file
68 systems (either with "mtools" or a real DOS file system)
69 to place them on the disk.
70
71 Once you have the files on DOS disks, you can proceed to the
72 next step in the installation or upgrade process. If you're
73 installing NetBSD from scratch, go to the section on preparing
74 your hard disk, below. If you're upgrading an existing
75 installation, go directly to the section on upgrading.
76
77 To install or upgrade NetBSD using a tape, you need to do the
78 following:
79
80 To install NetBSD from a tape, you need to make a tape that
81 contains the distribution set files, in "tar" format. If
82 you're making the tape on a UN*X-like system, the easiest way
83 to do so is probably something like:
84
85 tar cf <tape_device> <dist_directories>
86
87 where "<tape_device>" is the name of the tape device that
88 describes the tape drive you're using (possibly /dev/rst0, or
89 something similar, but it will vary from system to system.
90 (If you can't figure it out, ask your system administrator.)
91 In the above example, "<dist_directories>" are the
92 distribution sets' directories, for the distribution sets you
93 wish to place on the tape. For instance, to put the "base12"
94 and "etc12" distributions on tape (in order to do the absolute
95 minimum installation to a new disk), you would do the
96 following:
97
98 cd .../NetBSD-1.2 # the top of the tree
99 cd i386/binary
100 tar cf <tape_device> base12 etc12
101
102 (Note that you still need to fill in "<tape_device>" in the
103 example.)
104
105 Once you have the files on the tape, you can proceed to the
106 next step in the installation or upgrade process. If you're
107 installing NetBSD from scratch, go to the section on preparing
108 your hard disk, below. If you're upgrading an existing
109 installation, go directly to the section on upgrading.
110
111 To install or upgrade NetBSD using a remote partition, mounted via
112 NFS, you must do the following:
113
114 NOTE: This method of installation is recommended only for
115 those already familiar with using BSD network
116 configuration and management commands. If you aren't,
117 this documentation should help, but is not intended to
118 be all-encompassing.
119
120 Place the NetBSD distribution sets you wish to install into a
121 directory on an NFS server, and make that directory mountable
122 by the machine on which you are installing or upgrading NetBSD.
123 This will probably require modifying the /etc/exports file on
124 of the NFS server and resetting its mount daemon (mountd).
125 (Both of these actions will probably require superuser
126 privileges on the server.)
127
128 You need to know the the numeric IP address of the NFS server,
129 and, if the server is not on a network directly connected to
130 the machine on which you're installing or upgrading NetBSD,
131 you need to know the numeric IP address of the router closest
132 to the NetBSD machine. Finally, you need to know the numeric
133 IP address of the NetBSD machine itself.
134
135 Once the NFS server is set up properly and you have the
136 information mentioned above, you can proceed to the next step
137 in the installation or upgrade process. If you're installing
138 NetBSD from scratch, go to the section on preparing your hard
139 disk, below. If you're upgrading an existing installation, go
140 directly to the section on upgrading.
141
142 To install or upgrade NetBSD by using FTP to get the installation
143 sets, you must do the following:
144
145 NOTE: This method of installation is recommended only for
146 those already familiar with using BSD network
147 configuration and management commands. If you aren't,
148 this documentation should help, but is not intended to
149 be all-encompassing.
150
151 The preparations for this installation/upgrade method are
152 easy; all you make sure that there's some FTP site from which
153 you can retrieve the NetBSD distribution when you're about to
154 install or upgrade. You need to know the numeric IP address
155 of that site, and, if it's not on a network directly connected
156 to the machine on which you're installing or upgrading NetBSD,
157 you need to know the numeric IP address of the router closest
158 to the NetBSD machine. Finally, you need to know the numeric
159 IP address of the NetBSD machine itself.
160
161 Once you have this information, you can proceed to the next
162 step in the installation or upgrade process. If you're
163 installing NetBSD from scratch, go to the section on
164 preparing your hard disk, below. If you're upgrading an
165 existing installation, go directly to the section on
166 upgrading.
167
168 If you are upgrading NetBSD, you also have the option of installing
169 NetBSD by putting the new distribution sets somewhere in your existing
170 file system, and using them from there. To do that, you must do the
171 following:
172
173 Place the distribution sets you wish to upgrade somewhere in
174 your current file system tree. At a bare minimum, you must
175 upgrade the "base" binary distribution, and so must put the
176 "base12" set somewhere in your file system. If you wish,
177 you can do the other sets, as well, but you should NOT upgrade
178 the "etc" distribution; the "etc" distribution contains system
179 configuration files that you should review and update by hand.
180
181 Once you have done this, you can proceed to the next step in
182 the upgrade process, actually upgrading your system.
183