Home | History | Annotate | Line # | Download | only in hp300
xfer revision 1.7
      1  1.7    perry 	$NetBSD: xfer,v 1.7 1998/01/09 18:46:25 perry Exp $	
      2  1.7    perry 
      3  1.1    glass Installation is supported from several media types, including:
      4  1.1    glass 	Tape
      5  1.2  thorpej 	CD-ROM
      6  1.2  thorpej 	NFS
      7  1.1    glass 	FTP
      8  1.1    glass 
      9  1.1    glass The steps necessary to prepare the distribution sets
     10  1.1    glass for installation depend on which method of installation
     11  1.1    glass you choose.  The various methods are explained below.
     12  1.1    glass 
     13  1.1    glass To prepare for installing via a tape:
     14  1.1    glass 
     15  1.2  thorpej 	If you wish to load SYS_INST from tape, it must
     16  1.2  thorpej 	appear on the tape before any other files.  To copy
     17  1.2  thorpej 	this onto tape, use a command like the following:
     18  1.2  thorpej 
     19  1.3      jtc 		dd if=SYS_INST of=<tape_device> obs=20b conv=osync
     20  1.2  thorpej 
     21  1.2  thorpej 	Note that not all HP BOOTROMs support booting from
     22  1.2  thorpej 	SCSI tapes.
     23  1.2  thorpej 
     24  1.2  thorpej 	Copying the miniroot to disk from tape is not currently
     25  1.2  thorpej 	supported.  However, it is planned for a future release.
     26  1.2  thorpej 
     27  1.2  thorpej 	If you wish to extract binary sets onto your disk from
     28  1.2  thorpej 	tape, you must first place them on the tape.  The easiest
     29  1.2  thorpej 	way to do this is with the dd(1) command.  Make sure you
     30  1.2  thorpej 	use a `no-rewind-on-close' tape device.  For example:
     31  1.2  thorpej 
     32  1.5   scottr 		for file in base.tgz etc.tgz; do
     33  1.3      jtc 			dd if=${file} of=/dev/nrst0
     34  1.2  thorpej 		done
     35  1.2  thorpej 
     36  1.2  thorpej 	Note that depending on your tape drive, you may need to
     37  1.2  thorpej 	explicitly set the EOF marker at the end of each file.
     38  1.2  thorpej 	It may also be necessary to use the `conv=osync' argument
     39  1.2  thorpej 	to dd(1).  Note that this argument is incompatible with the
     40  1.2  thorpej 	`bs=' argument.  Consult the tape-related manual pages on the
     41  1.2  thorpej 	system where the tapes are created for more details.
     42  1.2  thorpej 
     43  1.2  thorpej To prepare for installing via NFS:
     44  1.2  thorpej 
     45  1.2  thorpej 	SYS_INST currently requires an NFS server from which to
     46  1.2  thorpej 	copy the miniroot.
     47  1.2  thorpej 
     48  1.2  thorpej 		* This filesystem must be exported with root permissions,
     49  1.2  thorpej 		  but may be exported read-only.
     50  1.2  thorpej 
     51  1.2  thorpej 		* The miniroot image _must_ reside in the `root' of the
     52  1.2  thorpej 		  mounted filesystem.  For example, if the client system
     53  1.2  thorpej 		  mounts `server:/u', then the miniroot image must reside
     54  1.2  thorpej 		  in /u on the server.  This is due to limitations in the
     55  1.2  thorpej 		  file lookup code used in SYS_INST, and may be fixed in
     56  1.2  thorpej 		  a future release.
     57  1.2  thorpej 
     58  1.2  thorpej 		* If you also wish to install the binary sets from the
     59  1.2  thorpej 		  NFS server, place them in a properly exported filesystem
     60  1.2  thorpej 		  on the server.  Note that these files do not suffer from
     61  1.2  thorpej 		  the same placement restrictions as the miniroot.
     62  1.1    glass 
     63  1.1    glass To prepare for installing via FTP:
     64  1.1    glass 
     65  1.2  thorpej 	It is possible, using the `install' and `upgrade'
     66  1.2  thorpej 	programs in the miniroot, to extract the binary sets
     67  1.2  thorpej 	directly onto disk from an FTP server.  This is by far
     68  1.2  thorpej 	the easiest installation method, as you may specify to
     69  1.2  thorpej 	have all sets extracted at once, providing that they
     70  1.2  thorpej 	are located in the same directory on the server.
     71  1.2  thorpej 
     72  1.2  thorpej 	All that is required in this case is that you have
     73  1.2  thorpej 	network access to an FTP server.  This may be your
     74  1.2  thorpej 	account on another system, or may even be ftp.NetBSD.ORG
     75  1.2  thorpej 	itself.  If you wish to use ftp.NetBSD.ORG as your FTP
     76  1.2  thorpej 	file server, you may want to keep the following information
     77  1.2  thorpej 	handy:
     78  1.2  thorpej 
     79  1.3      jtc 		IP Address: ftp.NetBSD.ORG
     80  1.2  thorpej 		Login: anonymous
     81  1.2  thorpej 		Password: <your e-mail address>
     82  1.5   scottr 		Server path: /pub/NetBSD/NetBSD-_VER/hp300/binary/sets
     83  1.3      jtc 
     84  1.6   scottr 	Note: if you're not using a nameserver during installation,
     85  1.6   scottr 	you might find 204.152.184.75 handy; it's the IP address of
     86  1.6   scottr 	ftp.NetBSD.ORG as of December, 29, 1997.
     87