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