Home | History | Annotate | Line # | Download | only in x68k
xfer revision 1.1.2.2
      1  1.1.2.2  mycroft Installation is supported from several media types, including:
      2  1.1.2.2  mycroft 
      3  1.1.2.2  mycroft 	Magneto-Optical disk (MO)
      4  1.1.2.2  mycroft 	Tape
      5  1.1.2.2  mycroft 	Remote NFS partition
      6  1.1.2.2  mycroft 	FTP
      7  1.1.2.2  mycroft 
      8  1.1.2.2  mycroft No matter which installation medium you choose, you'll need to have
      9  1.1.2.2  mycroft a floppy disk.  On the first, you'll put the install or upgrade floppy
     10  1.1.2.2  mycroft image, depending on whether you're installing NetBSD for the first time,
     11  1.1.2.2  mycroft or upgrading a previous installation.
     12  1.1.2.2  mycroft 
     13  1.1.2.2  mycroft If you are using a UN*X-like system to write the floppy images to
     14  1.1.2.2  mycroft disks, you should use the "dd" command to copy the file system images
     15  1.1.2.2  mycroft (.fs files) directly to the raw floppy disks.  It is suggested that
     16  1.1.2.2  mycroft you read the dd(1) manual page or ask your system administrator to
     17  1.1.2.2  mycroft determine the correct set of arguments to use; it will be slightly
     18  1.1.2.2  mycroft different from system to system, and a comprehensive list of the
     19  1.1.2.2  mycroft possibilities is beyond the scope of this document.
     20  1.1.2.2  mycroft 
     21  1.1.2.2  mycroft If you are using Human68k to write the floppy images to disks, you should
     22  1.1.2.2  mycroft use the "rawrite" utility, provided in the "x68k/utils" directory
     23  1.1.2.2  mycroft of the NetBSD distribution.  It will write the file system images (.fs
     24  1.1.2.2  mycroft files) to disks.
     25  1.1.2.2  mycroft 
     26  1.1.2.2  mycroft Note that, when installing, the install floppy MUST not be write-protected.
     27  1.1.2.2  mycroft The install program needs to write some temporary files, and if the
     28  1.1.2.2  mycroft disk is write-protected, it can't.  If you're upgrading your system,
     29  1.1.2.2  mycroft the upgrade floppy may be write-protected.
     30  1.1.2.2  mycroft 
     31  1.1.2.2  mycroft Obviously, the steps necessary to prepare the distribution sets for
     32  1.1.2.2  mycroft installation or upgrade depend on which installation medium you
     33  1.1.2.2  mycroft choose.  The steps for the various media are outlined below.
     34  1.1.2.2  mycroft 
     35  1.1.2.2  mycroft To install or upgrade NetBSD using MO, the MO media MUST be of the
     36  1.1.2.2  mycroft IBM `Super-floppy' format.  The Human68k format is not recognized by this
     37  1.1.2.2  mycroft release of the NetBSD/x68k.  If you have a MS-DOS (or MS-Windows) machine
     38  1.1.2.2  mycroft with an MO drive connected, use it.  If you don't, and if you have
     39  1.1.2.2  mycroft a program to handle IBM format MO for Human68k, copy all the files in
     40  1.1.2.2  mycroft the subdirectory "x68k/binaries" and RENAME THEIR NAME IN UPPER CASE.
     41  1.1.2.2  mycroft 
     42  1.1.2.2  mycroft To install or upgrade NetBSD using a tape, you need to do the
     43  1.1.2.2  mycroft following:
     44  1.1.2.2  mycroft 
     45  1.1.2.2  mycroft 	To install NetBSD from a tape, you need to make a tape that
     46  1.1.2.2  mycroft 	contains the distribution set files, in "tar" format.  If
     47  1.1.2.2  mycroft 	you're making the tape on a UN*X-like system, the easiest way
     48  1.1.2.2  mycroft 	to do so is probably something like:
     49  1.1.2.2  mycroft 
     50  1.1.2.2  mycroft 		tar cf <tape_device> <dist_directories>
     51  1.1.2.2  mycroft 
     52  1.1.2.2  mycroft 	where "<tape_device>" is the name of the tape device that
     53  1.1.2.2  mycroft 	describes the tape drive you're using (possibly /dev/rst0, or
     54  1.1.2.2  mycroft 	something similar, but it will vary from system to system.
     55  1.1.2.2  mycroft 	(If you can't figure it out, ask your system administrator.)
     56  1.1.2.2  mycroft 	In the above example, "<dist_directories>" are the
     57  1.1.2.2  mycroft 	distribution sets' directories, for the distribution sets you
     58  1.1.2.2  mycroft 	wish to place on the tape.  For instance, to put the "base121"
     59  1.1.2.2  mycroft 	and "etc121" distributions on tape (in order to do the absolute
     60  1.1.2.2  mycroft 	minimum installation to a new disk), you would do the
     61  1.1.2.2  mycroft 	following:
     62  1.1.2.2  mycroft 
     63  1.1.2.2  mycroft 		cd .../NetBSD-1.2.1		# the top of the tree
     64  1.1.2.2  mycroft 		cd x68k/binary
     65  1.1.2.2  mycroft 		tar cf <tape_device> base121 etc121
     66  1.1.2.2  mycroft 
     67  1.1.2.2  mycroft 	(Note that you still need to fill in "<tape_device>" in the
     68  1.1.2.2  mycroft 	example.)
     69  1.1.2.2  mycroft 
     70  1.1.2.2  mycroft 	Once you have the files on the tape, you can proceed to the
     71  1.1.2.2  mycroft 	next step in the installation or upgrade process.  If you're
     72  1.1.2.2  mycroft 	installing NetBSD from scratch, go to the section on preparing
     73  1.1.2.2  mycroft 	your hard disk, below.  If you're upgrading an existing
     74  1.1.2.2  mycroft 	installation, go directly to the section on upgrading.
     75  1.1.2.2  mycroft 
     76  1.1.2.2  mycroft To install or upgrade NetBSD using a remote partition, mounted via
     77  1.1.2.2  mycroft NFS, you must do the following:
     78  1.1.2.2  mycroft 
     79  1.1.2.2  mycroft 	NOTE:	This method of installation is recommended only for
     80  1.1.2.2  mycroft 		those already familiar with using BSD network
     81  1.1.2.2  mycroft 		configuration and management commands.  If you aren't,
     82  1.1.2.2  mycroft 		this documentation should help, but is not intended to
     83  1.1.2.2  mycroft 		be all-encompassing.
     84  1.1.2.2  mycroft 
     85  1.1.2.2  mycroft 	Place the NetBSD distribution sets you wish to install into a
     86  1.1.2.2  mycroft 	directory on an NFS server, and make that directory mountable
     87  1.1.2.2  mycroft 	by the machine on which you are installing or upgrading NetBSD.
     88  1.1.2.2  mycroft 	This will probably require modifying the /etc/exports file on
     89  1.1.2.2  mycroft 	of the NFS server and resetting its mount daemon (mountd).
     90  1.1.2.2  mycroft 	(Both of these actions will probably require superuser
     91  1.1.2.2  mycroft 	privileges on the server.)
     92  1.1.2.2  mycroft 
     93  1.1.2.2  mycroft 	You need to know the the numeric IP address of the NFS server,
     94  1.1.2.2  mycroft 	and, if the server is not on a network directly connected to
     95  1.1.2.2  mycroft 	the machine on which you're installing or upgrading NetBSD,
     96  1.1.2.2  mycroft 	you need to know the numeric IP address of the router closest
     97  1.1.2.2  mycroft 	to the NetBSD machine.  Finally, you need to know the numeric
     98  1.1.2.2  mycroft 	IP address of the NetBSD machine itself.
     99  1.1.2.2  mycroft 
    100  1.1.2.2  mycroft 	Once the NFS server is set up properly and you have the
    101  1.1.2.2  mycroft 	information mentioned above, you can proceed to the next step
    102  1.1.2.2  mycroft 	in the installation or upgrade process.  If you're installing
    103  1.1.2.2  mycroft 	NetBSD from scratch, go to the section on preparing your hard
    104  1.1.2.2  mycroft 	disk, below.  If you're upgrading an existing installation, go
    105  1.1.2.2  mycroft 	directly to the section on upgrading.
    106  1.1.2.2  mycroft 
    107  1.1.2.2  mycroft To install or upgrade NetBSD by using FTP to get the installation
    108  1.1.2.2  mycroft sets, you must do the following:
    109  1.1.2.2  mycroft 
    110  1.1.2.2  mycroft 	NOTE:	This method of installation is recommended only for
    111  1.1.2.2  mycroft 		those already familiar with using BSD network
    112  1.1.2.2  mycroft 		configuration and management commands.  If you aren't,
    113  1.1.2.2  mycroft 		this documentation should help, but is not intended to
    114  1.1.2.2  mycroft 		be all-encompassing.
    115  1.1.2.2  mycroft 
    116  1.1.2.2  mycroft 	The preparations for this installation/upgrade method are
    117  1.1.2.2  mycroft 	easy; all you make sure that there's some FTP site from which
    118  1.1.2.2  mycroft 	you can retrieve the NetBSD distribution when you're about to
    119  1.1.2.2  mycroft 	install or upgrade.  You need to know the numeric IP address
    120  1.1.2.2  mycroft 	of that site, and, if it's not on a network directly connected
    121  1.1.2.2  mycroft 	to the machine on which you're installing or upgrading NetBSD,
    122  1.1.2.2  mycroft 	you need to know the numeric IP address of the router closest
    123  1.1.2.2  mycroft 	to the NetBSD machine.  Finally, you need to know the numeric
    124  1.1.2.2  mycroft 	IP address of the NetBSD machine itself.
    125  1.1.2.2  mycroft 
    126  1.1.2.2  mycroft 	Once you have this information, you can proceed to the next
    127  1.1.2.2  mycroft 	step in the installation or upgrade process.  If you're
    128  1.1.2.2  mycroft 	installing NetBSD from scratch, go to the section on
    129  1.1.2.2  mycroft 	preparing your hard disk, below.  If you're upgrading an
    130  1.1.2.2  mycroft 	existing installation, go directly to the section on
    131  1.1.2.2  mycroft 	upgrading.
    132  1.1.2.2  mycroft 
    133  1.1.2.2  mycroft If you are upgrading NetBSD, you also have the option of installing
    134  1.1.2.2  mycroft NetBSD by putting the new distribution sets somewhere in your existing
    135  1.1.2.2  mycroft file system, and using them from there.  To do that, you must do the
    136  1.1.2.2  mycroft following:
    137  1.1.2.2  mycroft 
    138  1.1.2.2  mycroft 	Place the distribution sets you wish to upgrade somewhere in
    139  1.1.2.2  mycroft 	your current file system tree.  At a bare minimum, you must
    140  1.1.2.2  mycroft 	upgrade the "base" binary distribution, and so must put the
    141  1.1.2.2  mycroft 	"base121" set somewhere in your file system.  If you wish,
    142  1.1.2.2  mycroft 	you can do the other sets, as well, but you should NOT upgrade
    143  1.1.2.2  mycroft 	the "etc" distribution; the "etc" distribution contains system
    144  1.1.2.2  mycroft 	configuration files that you should review and update by hand.
    145  1.1.2.2  mycroft 
    146  1.1.2.2  mycroft 	Once you have done this, you can proceed to the next step in
    147  1.1.2.2  mycroft 	the upgrade process, actually upgrading your system.
    148