$NetBSD: INSTALL,v 1.1 1995/09/16 12:00:21 ragge Exp $


How to install NetBSD/vax
-------------------------

1.	Device conventions.
	NetBSD standalone system addresses devices like
	'devicename(adapter, controller, unit, partition)'
	Known devicenames are:
		tms - TMSCP tape.
		ts  - TSV05/TS11 tape.
		ra  - RA??/RD?? disks/floppies.
		hp  - RP??/RM?? disks.

	You can omit parameters; ra(0,0) refers to disk 0 partition a
	on default controller. On tapes partition refers to file #
	on the tape.

	Example: DUB1 (DEC syntax) swap partition will be referred as
		ra(1,0,1), DRA2 root partition is hp(2,0).



2.	Installation.
	This document only covers installation of a miniroot
	filesystem on the swap partition of a disk. Installation
	of the remaining system is best done over network or
	from tape, but this is your own decision.
	The installation principle is to label the root disk,
	copy a miniroot filesystem onto the swap partition,
	boot up from that miniroot filesystem, then create
	root and the other wanted partitions and put system
	to it.
	You will have to deal with 2 files, one is just a boot
	filesystem containing 3 files: boot, copy and edlabel,
	the other is an image of a miniroot filesystem and can
	be split into several pieces depending of what you are
	going to install from.



2.1	INSTALLATION

2.1.1	Installation from TK50. (MicroVAX II)
	You will need a file called tk50-file1-???.fs and a
	file called tk50-file2-???.fs, where ??? is the
	revision og NetBSD. These files must be written on tape
	in sequential order; file 1 first and then file2.
	_Blocksize_must_be_512!_ Otherwise the tape will not be
	bootable. Then type:

	>>> B/3 MUA0

	This means that you will bring upp boot for asking 
	from TK50. (MUA0 is DEC naming). It will come up 
	something like

	  2..1..0..


	howto 0x3, bdev 0x12, booting...
	9852+456+34916 start 0x0

	Nboot
	: 


	At the prompt you type edlabel to label the disk, see
	README.edlabel about how to use it.
	When labeling is finished, halt the computer, bring up
	the Nboot prompt again and this time load copy, see
	README.copy about how to use it. Remember that you are
	copying from file 1 on the tape.

	Now go to step 3.


2.2	Installation from RX33/RX50. (MicroVAX II)
	The difference between RX33 and RX50 is its size. RX50
	is 400k and RX33 is 1200k.
	You will need a file called rxDD-bootdisk-???.fs and 
	a couple of files called rxDD-copy?-???.fs, where DD
	is 33 or 50 and ??? is the revision of NetBSD.
	The RX33 installation will be 3 floppies and RX50
	installation will be 7 floppies. 

	To boot from floppy type:

	>>> B/3 DUxy

	where x is the controller number and y is device number.
	You will now get up a prompt like

	Nboot
	:

        At the prompt you type edlabel to label the disk, see
        README.edlabel about how to use it.
        When labeling is finished, halt the computer, bring up
        the Nboot prompt again and this time load copy, see
        README.copy about how to use it. Remember that you are
        copying from partition 0 when using floppies.

	Now go to step 3.


2.3	Installation from TU58. (VAX 11/750).

	Not yet :-( But will be...


3.	Booting up miniroot.
	When copying is ready, bring the boot program up a third
	time, and this time bring up a real system by telling
	boot where you put your miniroot _and_ also the generic
	kernel name. Example: ra(0,1)gennetbsd,  boots gennetbsd
	from swap partition on ra0.

	When kernel is loaded, you will after a while get a
	question about Root device?. Respond to this with
	xx?*, where xx is the device name, ? is the unit
	number and * tells that the system shall use the swap
	partition as root partition. Example:

	Root device? ra0*

	After that a second question:

	Enter pathname of shell or RETURN for sh:

	Just type return. Now you will be in a normal single-user
	shell, and it's just to newfs your partitions, and start
	installation.

	A few things that you must remember to do from miniroot:
	disklabel -B <diskname>  to install boot blocks.
	MAKEDEV devices in the newly created root filesystem.
	Copy gennetbsd and boot from miniroot filesystem
	to the newly created root filesystem.


	Good luck! (You may need it)
	Ragge