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