xfer revision 1.4 1 1.4 ross $NetBSD: xfer,v 1.4 1998/07/05 13:59:25 ross Exp $
2 1.3 perry
3 1.1 cjs Installation is supported from several media types, including:
4 1.1 cjs
5 1.2 cjs FTP
6 1.2 cjs Remote NFS partition
7 1.2 cjs CD-ROM
8 1.1 cjs
9 1.1 cjs No matter which installation medium you choose, you'll need to have
10 1.1 cjs either a 1.44 MB floppy disk (if your Alpha has a floppy drive to
11 1.2 cjs boot from) or you'll have to set up a server with BOOTP, TFTP and
12 1.2 cjs NFS to boot from as described later in this document.
13 1.1 cjs
14 1.1 cjs If you are using a UN*X-like system to write the floppy images to
15 1.4 ross disks, you should use the "dd" command to copy the file system
16 1.4 ross image ("floppy-144" file) directly to the raw floppy disk. It is
17 1.4 ross suggested that you read the dd(1) manual page or ask your system
18 1.4 ross administrator to determine the correct set of arguments to use; it
19 1.4 ross will be slightly different from system to system, and a comprehensive
20 1.4 ross list of the possibilities is beyond the scope of this document. The
21 1.4 ross command will look something like "dd if=floppy-144 bs=18k of=/dev/rfd0a".
22 1.1 cjs
23 1.4 ross If you are using DOS to create the boot floppy, you should use the
24 1.4 ross "rawrite" utility provided in the "i386/utilities" directory of
25 1.4 ross the NetBSD distribution to write the file system image ("floppy-144"
26 1.4 ross file) to a floppy.
27 1.1 cjs
28 1.1 cjs Note that, when installing or upgrading, the floppy can be
29 1.1 cjs write-protected if you wish. These systems mount ramdisks as their
30 1.1 cjs root file systems once booted, and will not need to write to the
31 1.1 cjs floppy itself at any time -- indeed, once booted, the floppy may be
32 1.1 cjs removed from the disk drive.
33 1.1 cjs
34 1.1 cjs Obviously, the steps necessary to prepare the distribution sets
35 1.1 cjs for installation depend on which installation medium you choose.
36 1.1 cjs The steps for the various media are outlined below.
37 1.1 cjs
38 1.2 cjs To install NetBSD using NFS to get the installation sets, you must
39 1.2 cjs do the following:
40 1.1 cjs
41 1.2 cjs Place the NetBSD distribution sets you wish to install into a
42 1.2 cjs directory on an NFS server, and make that directory mountable
43 1.2 cjs by the machine on which you are installing or upgrading NetBSD.
44 1.2 cjs This will probably require modifying the /etc/exports file on
45 1.2 cjs of the NFS server and resetting its mount daemon (mountd).
46 1.2 cjs (Both of these actions will probably require superuser
47 1.2 cjs privileges on the server.)
48 1.2 cjs
49 1.2 cjs You need to know the the numeric IP address of the NFS server,
50 1.2 cjs and, if the server is not on a network directly connected to
51 1.2 cjs the machine on which you're installing or upgrading NetBSD,
52 1.2 cjs you need to know the numeric IP address of the router closest
53 1.2 cjs to the NetBSD machine. Finally, you need to know the numeric
54 1.2 cjs IP address of the NetBSD machine itself. The install
55 1.2 cjs program will ask you to provide this information to be able
56 1.2 cjs to access the sets.
57 1.2 cjs
58 1.2 cjs Once the NFS server is set up properly and you have the
59 1.2 cjs information mentioned above, you can start the actual
60 1.2 cjs installation process.
61 1.2 cjs
62 1.2 cjs To install NetBSD by using FTP to get the installation sets, you
63 1.2 cjs must do the following:
64 1.2 cjs
65 1.2 cjs The preparations for this installation method are easy;
66 1.2 cjs all you make sure that there's some FTP site from which
67 1.2 cjs you can retrieve the NetBSD distribution when you're about
68 1.2 cjs to install. You need to know the numeric IP address of that
69 1.2 cjs site, and, if it's not on a network directly connected to
70 1.2 cjs the machine on which you're installing or upgrading NetBSD,
71 1.2 cjs you need to know the numeric IP address of the router
72 1.2 cjs closest to the NetBSD machine. Finally, you need to know
73 1.2 cjs the numeric IP address of the NetBSD machine itself. The
74 1.2 cjs install program will ask you to provide this information
75 1.2 cjs to be able to access the sets via ftp.
76 1.1 cjs
77 1.2 cjs Once you have this information, you can proceed to the actual
78 1.2 cjs installation.
79 1.2 cjs
80 1.2 cjs To install NetBSD by using a CD-ROM to get the installation sets,
81 1.2 cjs you must do the following:
82 1.2 cjs
83 1.2 cjs Have a CD-ROM with the installation sets on it, and a CD-ROM
84 1.2 cjs drive on your machine.
85 1.1 cjs
86 1.1 cjs If you are upgrading NetBSD, you also have the option of installing
87 1.1 cjs NetBSD by putting the new distribution sets somewhere in your existing
88 1.1 cjs file system, and using them from there. To do that, you must do the
89 1.1 cjs following:
90 1.1 cjs
91 1.1 cjs Place the distribution sets you wish to upgrade somewhere in
92 1.1 cjs your current file system tree. Please note that the /dev on
93 1.1 cjs the floppy used for upgrades only knows about wd0, wd1, sd0,
94 1.1 cjs sd1 and sd2. If you have more than two IDE drives or more than
95 1.1 cjs three SCSI drives, you should take care not to place the sets
96 1.1 cjs on the high numbered drives.
97 1.1 cjs
98 1.1 cjs At a bare minimum, you must upgrade the "base" and "kern"
99 1.1 cjs binary distribution, and so must put the "base" and
100 1.1 cjs "kern" sets somewhere in your file system. If you wish,
101 1.1 cjs you can do the other sets, as well, but you should NOT upgrade
102 1.1 cjs the "etc" distribution; the "etc" distribution contains system
103 1.1 cjs configuration files that you should review and update by hand.
104 1.1 cjs
105 1.2 cjs Once you have done this, you can proceed to the next step in
106 1.2 cjs the upgrade process, actually upgrading your system.
107