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