Home | History | Annotate | Line # | Download | only in i386
xfer revision 1.2.2.2
      1  1.2.2.2  cgd Installation is supported from several media types, including:
      2  1.2.2.2  cgd 
      3  1.2.2.2  cgd 	DOS floppies
      4  1.2.2.2  cgd 	Tape
      5  1.2.2.2  cgd 	Remote NFS partition
      6  1.2.2.2  cgd 	FTP
      7  1.2.2.2  cgd 
      8  1.2.2.2  cgd No matter which installation medium you choose, you'll need to have
      9  1.2.2.2  cgd two floppy disks available (either 1.2M or 1.44 will work, though
     10  1.2.2.2  cgd both should be the same type).  On the first, you'll put the
     11  1.2.2.2  cgd kernel-copy image that's appropriate for your system.  On the second,
     12  1.2.2.2  cgd you'll put the install or upgrade floppy image, depending on whether
     13  1.2.2.2  cgd you're installing NetBSD for the first time, or upgrading a previous
     14  1.2.2.2  cgd installation.
     15  1.2.2.2  cgd 
     16  1.2.2.2  cgd If you are using an Adaptec AHA-154x or Buslogic BT-54x SCSI host
     17  1.2.2.2  cgd adapter, you need the kcaha-10.fs kernel-copy image.  If you're using
     18  1.2.2.2  cgd a Buslogic BT-445, BT-74x, or BT-9xx SCSI host adapter, you'll need
     19  1.2.2.2  cgd the kcbt-10.fs image.  If you're using a disk controller other than
     20  1.2.2.2  cgd those mentioned above, either kernel-copy disk image will work for
     21  1.2.2.2  cgd you.
     22  1.2.2.2  cgd 
     23  1.2.2.2  cgd If you are using a UN*X-like system to write the floppy images to
     24  1.2.2.2  cgd disks, you should use the "dd" command to copy the file system images
     25  1.2.2.2  cgd (.fs files) directly to the raw floppy disks.  It is suggested that
     26  1.2.2.2  cgd you read the dd(1) manual page or ask your system administrator to
     27  1.2.2.2  cgd determine the correct set of arguments to use; it will be slightly
     28  1.2.2.2  cgd different from system to system, and a comprehensive list of the
     29  1.2.2.2  cgd possibilities is beyond the scope of this document.
     30  1.2.2.2  cgd 
     31  1.2.2.2  cgd If you are using DOS to write the floppy images to disks, you should
     32  1.2.2.2  cgd use the "rawrite" utility, provided in the "i386/utilities" directory
     33  1.2.2.2  cgd of the NetBSD distribution.  It will write the file system images (.fs
     34  1.2.2.2  cgd files) to disks.
     35  1.2.2.2  cgd 
     36  1.2.2.2  cgd Note that, when installing, the kernel-copy floppy can be write-protected
     37  1.2.2.2  cgd (i.e. read-only), but the install floppy MUST not be write-protected.
     38  1.2.2.2  cgd The install program needs to write some temporary files, and if the
     39  1.2.2.2  cgd disk is write-protected, it can't.  If you're upgrading your system,
     40  1.2.2.2  cgd both the kernel-copy and upgrade floppies may be write-protected.
     41  1.2.2.2  cgd 
     42  1.2.2.2  cgd Obviously, the steps necessary to prepare the distribution sets for
     43  1.2.2.2  cgd installation or upgrade depend on which installation medium you
     44  1.2.2.2  cgd choose.  The steps for the various media are outlined below.
     45  1.2.2.2  cgd 
     46  1.2.2.2  cgd To install or upgrade NetBSD using DOS floppies, you need to do the
     47  1.2.2.2  cgd following:
     48  1.2.2.2  cgd 
     49  1.2.2.2  cgd 	NOTE THAT THE NetBSD 1.0 DISTRIBUTION DOES _NOT_ SUPPORT
     50  1.2.2.2  cgd 	INSTALLATION VIA FLOPPY ON MACHINES WITH ONE FLOPPY DRIVE.
     51  1.2.2.2  cgd 	If you only have one floppy drive, it is recommended that you
     52  1.2.2.2  cgd 	install/upgrade the minimum sets (i.e. base10 and etc10 for
     53  1.2.2.2  cgd 	installation, base10 only for upgrade) via another method,
     54  1.2.2.2  cgd 	then load and extract the remaining sets by hand.  This will
     55  1.2.2.2  cgd 	be fixed in a future release.
     56  1.2.2.2  cgd 
     57  1.2.2.2  cgd 	Count the number of "set_name.xx" files that make up the
     58  1.2.2.2  cgd 	distribution sets you want to install or upgrade.  You will
     59  1.2.2.2  cgd 	need one fifth that number of 1.2M floppies, or one sixth that
     60  1.2.2.2  cgd 	number of 1.44M floppies.  You should only use one size of
     61  1.2.2.2  cgd 	floppy for the install or upgrade procedure; you can't use
     62  1.2.2.2  cgd 	some 1.2M floppies and some 1.44M floppies.  Additionally,
     63  1.2.2.2  cgd 	note that you can't boot and load the distributions from the
     64  1.2.2.2  cgd 	same floppy drive.  In other words, if you're booting the
     65  1.2.2.2  cgd 	install floppies from one drive, you will be reading these
     66  1.2.2.2  cgd 	floppies from the _other_, so be sure to use the right type
     67  1.2.2.2  cgd 	of floppies!
     68  1.2.2.2  cgd 
     69  1.2.2.2  cgd 	Format all of the floppies with DOS.  DO NOT make any of them
     70  1.2.2.2  cgd 	bootable DOS floppies, i.e. don't use "format/s" to format
     71  1.2.2.2  cgd 	them.  (If the floppies are bootable, then the DOS system
     72  1.2.2.2  cgd 	files that make them bootable will take up some space, and you
     73  1.2.2.2  cgd 	won't be able to fit as many distribution set parts per disk.)
     74  1.2.2.2  cgd 	If you're using floppies that are formatted for DOS by their
     75  1.2.2.2  cgd 	manufacturers, they probably aren't bootable, and you can use
     76  1.2.2.2  cgd 	them out of the box.
     77  1.2.2.2  cgd 
     78  1.2.2.2  cgd 	Place all of the "set_name.xx" files on the DOS disks, five
     79  1.2.2.2  cgd 	per disk if you're using 1.2M disks, six per disk if you're
     80  1.2.2.2  cgd 	using 1.44M disks.  How you do this is up to you; there are
     81  1.2.2.2  cgd 	many possibilities.  You could, for instance, use a DOS
     82  1.2.2.2  cgd 	terminal program to download them on to the floppies, or use
     83  1.2.2.2  cgd 	a UN*X-like system capable of reading and writing DOS file
     84  1.2.2.2  cgd 	systems (either with "mtools" or a real DOS file system)
     85  1.2.2.2  cgd 	to place them on the disk.
     86  1.2.2.2  cgd 
     87  1.2.2.2  cgd 	Once you have the files on DOS disks, you can proceed to the
     88  1.2.2.2  cgd 	next step in the installation or upgrade process.  If you're
     89  1.2.2.2  cgd 	installing NetBSD from scratch, go to the section on preparing
     90  1.2.2.2  cgd 	your hard disk, below.  If you're upgrading an existing
     91  1.2.2.2  cgd 	installation, go directly to the section on upgrading.
     92  1.2.2.2  cgd 
     93  1.2.2.2  cgd To install or upgrade NetBSD using a tape, you need to do the
     94  1.2.2.2  cgd following:
     95  1.2.2.2  cgd 
     96  1.2.2.2  cgd 	To install NetBSD from a tape, you need to make a tape that
     97  1.2.2.2  cgd 	contains the distribution set files, in "tar" format.  If
     98  1.2.2.2  cgd 	you're making the tape on a UN*X-like system, the easiest way
     99  1.2.2.2  cgd 	to do so is probably something like:
    100  1.2.2.2  cgd 
    101  1.2.2.2  cgd 		tar cf <tape_device> <dist_directories>
    102  1.2.2.2  cgd 
    103  1.2.2.2  cgd 	where "<tape_device>" is the name of the tape device that
    104  1.2.2.2  cgd 	describes the tape drive you're using (possibly /dev/rst0, or
    105  1.2.2.2  cgd 	something similar, but it will vary from system to system.
    106  1.2.2.2  cgd 	(If you can't figure it out, ask your system administrator.)
    107  1.2.2.2  cgd 	In the above example, "<dist_directories>" are the
    108  1.2.2.2  cgd 	distribution sets' directories, for the distribution sets you
    109  1.2.2.2  cgd 	wish to place on the tape.  For instance, to put the "base10"
    110  1.2.2.2  cgd 	and "etc10" distributions on tape (in order to do the absolute
    111  1.2.2.2  cgd 	minimum installation to a new disk), you would do the
    112  1.2.2.2  cgd 	following:
    113  1.2.2.2  cgd 
    114  1.2.2.2  cgd 		cd .../NetBSD-1.0		# the top of the tree
    115  1.2.2.2  cgd 		cd i386/binary
    116  1.2.2.2  cgd 		tar cf <tape_device> base10 etc10
    117  1.2.2.2  cgd 
    118  1.2.2.2  cgd 	(Note that you still need to fill in "<tape_device>" in the
    119  1.2.2.2  cgd 	example.)
    120  1.2.2.2  cgd 
    121  1.2.2.2  cgd 	Once you have the files on the tape, you can proceed to the
    122  1.2.2.2  cgd 	next step in the installation or upgrade process.  If you're
    123  1.2.2.2  cgd 	installing NetBSD from scratch, go to the section on preparing
    124  1.2.2.2  cgd 	your hard disk, below.  If you're upgrading an existing
    125  1.2.2.2  cgd 	installation, go directly to the section on upgrading.
    126  1.2.2.2  cgd 
    127  1.2.2.2  cgd To install or upgrade NetBSD using a remote partition, mounted via
    128  1.2.2.2  cgd NFS, you must do the following:
    129  1.2.2.2  cgd 
    130  1.2.2.2  cgd 	NOTE:	This method of installation is recommended only for
    131  1.2.2.2  cgd 		those already familiar with using BSD network
    132  1.2.2.2  cgd 		configuration and management commands.  If you aren't,
    133  1.2.2.2  cgd 		this documentation should help, but is not intended to
    134  1.2.2.2  cgd 		be all-encompassing.
    135  1.2.2.2  cgd 
    136  1.2.2.2  cgd 	Place the NetBSD distribution sets you wish to install into a
    137  1.2.2.2  cgd 	directory on an NFS server, and make that directory mountable
    138  1.2.2.2  cgd 	by the machine on which you are installing or upgrading NetBSD.
    139  1.2.2.2  cgd 	This will probably require modifying the /etc/exports file on
    140  1.2.2.2  cgd 	of the NFS server and resetting its mount daemon (mountd).
    141  1.2.2.2  cgd 	(Both of these actions will probably require superuser
    142  1.2.2.2  cgd 	privileges on the server.)
    143  1.2.2.2  cgd 
    144  1.2.2.2  cgd 	You need to know the the numeric IP address of the NFS server,
    145  1.2.2.2  cgd 	and, if the server is not on a network directly connected to
    146  1.2.2.2  cgd 	the machine on which you're installing or upgrading NetBSD,
    147  1.2.2.2  cgd 	you need to know the numeric IP address of the router closest
    148  1.2.2.2  cgd 	to the NetBSD machine.  Finally, you need to know the numeric
    149  1.2.2.2  cgd 	IP address of the NetBSD machine itself.
    150  1.2.2.2  cgd 
    151  1.2.2.2  cgd 	Once the NFS server is set up properly and you have the
    152  1.2.2.2  cgd 	information mentioned above, you can proceed to the next step
    153  1.2.2.2  cgd 	in the installation or upgrade process.  If you're installing
    154  1.2.2.2  cgd 	NetBSD from scratch, go to the section on preparing your hard
    155  1.2.2.2  cgd 	disk, below.  If you're upgrading an existing installation, go
    156  1.2.2.2  cgd 	directly to the section on upgrading.
    157  1.2.2.2  cgd 
    158  1.2.2.2  cgd To install or upgrade NetBSD by using FTP to get the installation
    159  1.2.2.2  cgd sets, you must do the following:
    160  1.2.2.2  cgd 
    161  1.2.2.2  cgd 	NOTE:	This method of installation is recommended only for
    162  1.2.2.2  cgd 		those already familiar with using BSD network
    163  1.2.2.2  cgd 		configuration and management commands.  If you aren't,
    164  1.2.2.2  cgd 		this documentation should help, but is not intended to
    165  1.2.2.2  cgd 		be all-encompassing.
    166  1.2.2.2  cgd 
    167  1.2.2.2  cgd 	The preparations for this installation/upgrade method are
    168  1.2.2.2  cgd 	easy; all you make sure that there's some FTP site from which
    169  1.2.2.2  cgd 	you can retrieve the NetBSD distribution when you're about to
    170  1.2.2.2  cgd 	install or upgrade.  You need to know the numeric IP address
    171  1.2.2.2  cgd 	of that site, and, if it's not on a network directly connected
    172  1.2.2.2  cgd 	to the machine on which you're installing or upgrading NetBSD,
    173  1.2.2.2  cgd 	you need to know the numeric IP address of the router closest
    174  1.2.2.2  cgd 	to the NetBSD machine.  Finally, you need to know the numeric
    175  1.2.2.2  cgd 	IP address of the NetBSD machine itself.
    176  1.2.2.2  cgd 
    177  1.2.2.2  cgd 	Once you have this information, you can proceed to the next
    178  1.2.2.2  cgd 	step in the installation or upgrade process.  If you're
    179  1.2.2.2  cgd 	installing NetBSD from scratch, go to the section on
    180  1.2.2.2  cgd 	preparing your hard disk, below.  If you're upgrading an
    181  1.2.2.2  cgd 	existing installation, go directly to the section on
    182  1.2.2.2  cgd 	upgrading.
    183  1.2.2.2  cgd 
    184  1.2.2.2  cgd If you are upgrading NetBSD, you also have the option of installing
    185  1.2.2.2  cgd NetBSD by putting the new distribution sets somewhere in your existing
    186  1.2.2.2  cgd file system, and using them from there.  To do that, you must do the
    187  1.2.2.2  cgd following:
    188  1.2.2.2  cgd 
    189  1.2.2.2  cgd 	Place the distribution sets you wish to upgrade somewhere in
    190  1.2.2.2  cgd 	your current file system tree.  At a bare minimum, you must
    191  1.2.2.2  cgd 	upgrade the "base" binary distribution, and so must put the
    192  1.2.2.2  cgd 	"base10" set somewhere in your file system.  If you wish,
    193  1.2.2.2  cgd 	you can do the other sets, as well, but you should NOT upgrade
    194  1.2.2.2  cgd 	the "etc" distribution; the "etc" distribution contains system
    195  1.2.2.2  cgd 	configuration files that you should review and update by hand.
    196  1.2.2.2  cgd 
    197  1.2.2.2  cgd 	Once you have done this, you can proceed to the next step in
    198  1.2.2.2  cgd 	the upgrade process, actually upgrading your system.
    199