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