xfer revision 1.1
1
2Installation is supported from several media types, including:
3	* Tape
4	* NFS
5	* CD-ROM
6	* FTP
7
8Note that installing on a "bare" machine requires some bootable
9device; either a tape drive or Sun-compatible NFS server.
10
11The procedure for transferring the distribution sets onto
12installation media depends on the type of media.  Instructions
13for each type of media are given below.
14
15In order to create installation media, you will need all the 
16files in these two directories:
17	.../NetBSD-1.1/sun3/install
18	.../NetBSD-1-1/sun3/binary
19
20* Creating boot/install tapes:
21
22Installing from tape is the simplest method of all.
23This method uses two tapes; one called the "boot"
24tape, and another called the "install" tape.
25
26The boot tape is created as follows:
27
28	cd .../NetBSD-1.1/sun3/install
29	set T = /dev/nrst0
30	mt -f $T rewind
31	dd if=tapeboot of=$T bs=8k conv=sync
32	dd if=netbsd-rd of=$T bs=8k conv=sync
33	gzip -d < miniroot.gz | dd of=$T bs=8k
34	mt -f $T rewind
35
36The install tape is created as follows:
37
38	cd .../NetBSD-1.1/sun3/install
39	set T = /dev/nrst0
40	mt -f $T rewind
41	foreach f (base etc comp games man misc text)
42	  gzip -d < $f.gz | dd of=$T bs=8k
43	end
44	mt -f $T rewind
45
46If the tapes do not work as expected, you may need to explicitly
47set the EOF mark at the end of each tape segment.  It may also be
48necessary to use the `conv=osync' argument to dd(1).  Note that
49this argument is incompatible with the `bs=' argument.  Consult
50the tape-related manual pages on the system where the tapes are
51created for more details.
52
53* Boot/Install from NFS server:
54
55If your machine has a disk and network connection, but no tape drive,
56it may be convenient for you to install NetBSD over the network.  This
57involves temporarily booting your machine over NFS, just long enough
58so you can initialize its disk.  This method requires that you have
59access to an NFS server on your network so you can configure it to
60support diskless boot for your machine.  Configuring the NFS server
61is normally a task for a system administrator, and is not trivial.
62
63If you are using a NetBSD system as the boot-server, have a look at
64the diskless(8) manual page for guidelines on how to proceed with
65this.  If the server runs another operating system, consult the
66documentation that came with it (i.e. add_client(8) on SunOS).
67
68Your Sun3 expects to be able to download a second stage bootstrap
69program via TFTP after having acquired its IP address through RARP
70when instructed to boot "over the net".  It will look for a filename
71derived from the machine's IP address expressed in hexadecimal.  For
72example, a sun3 which has been assigned IP address 130.115.144.11
73will make an TFTP request for `8273900B'.  Normally, this file is a
74symbolic link to the NetBSD/sun3 "netboot" program, which should be
75located in a place where the TFTP daemon can find it (remember, many
76TFTP daemons run in a chroot'ed environment).  The netboot program
77may be found in the install directory of this distribution.
78
79The netboot program will query a bootparamd server to find the
80NFS server address and path name for its root, and then load a
81kernel from that location.  The server should have a copy of the
82netbsd-rd kernel in the root area for your client (no other files
83are needed in the client root) and /etc/bootparams on the server
84should have an entry for your client and its root directory.
85The client will need access to the miniroot image, which can be
86provided using NFS or remote shell.  If using NFS, miniroot.gz
87must be expanded on the server, because there is no gzip program
88in the RAMDISK image.  The unzipped miniroot takes 8MB of space.
89
90If you will be installing NetBSD on several clients, it may be useful
91to know that you can use a single NFS root for all the clients as long
92as they only use the netbsd-rd kernel.  There will be no conflict
93between clients because the RAM-disk kernel will not use the NFS root.
94No swap file is needed; the RAM-disk kernel does not use that either.
95
96* Install/Upgrade from CD-ROM:
97
98This method requires that you boot from another device (i.e. tape
99or network, as described above).  You may need to make a boot tape
100on another machine using the files provided on the CD-ROM.  Once
101you have booted netbsd-rd (the RAM-disk kernel) and loaded the
102miniroot, you can load any of the distribution sets directly from
103the CD-ROM.  The "install" program in the miniroot automates the
104work required to mount the CD-ROM and extract the files.
105
106* Install/Upgrade via FTP:
107
108This method requires that you boot from another device (i.e. tape
109or network, as described above).  You may need to make a boot tape
110on another machine using the files in .../install (which you get
111via FTP).  Once you have booted netbsd-rd (the RAM-disk kernel)
112and loaded the miniroot, you can load any of the distribution sets
113over the net using FTP.  The "install" program in the miniroot
114automates the work required to configure the network interface and
115transfer the files.
116
117This method, of course, requires network access to an FTP server.
118This might be a local system, or it might even be ftp.NetBSD.ORG
119itself.  If you wish to use ftp.NetBSD.ORG as your FTP file
120server, you may want to keep the following information handy:
121
122	IP Address: 205.149.163.23
123	Login: anonymous
124	Password: <your e-mail address>
125	Server path: /pub/NetBSD/NetBSD-1.1/sun3/binary
126