xref: /netbsd/distrib/notes/vax/xfer (revision bf9ec67e)
$NetBSD: xfer,v 1.9 2002/03/31 18:18:24 matt Exp $
. .so ../common/xfer . .Ss2 Creating boot tapes . Fetch the bootable bootfs image from

p .Dl Pa .../NetBSD-\*V/\*M/installation/bootfs/boot.fs

p and write it on the beginning of the tape. Under .Nx this is done (for MSCP tape, with SCSI tape the name is .Li nrst0 ) via:

p .Dl # Ic "mt -f /dev/nrmt0 rewind" .Dl # Ic "dd if=boot.fs of=/dev/nrmt0" .Dl # Ic "mt -f /dev/nrmt0 rewoffl"

p Under .Tn Ultrix the tape name is different:

p .Dl # Ic "mt -f /dev/rmt0h rewind" .Dl # Ic "dd if=boot.fs of=/dev/rmt0h" .Dl # Ic "mt -f /dev/rmt0h rewoffl"

p Of course, if you have a tape unit other than unit 0 you have to use the corresponding unit number.

p If you wish to install the sets from tape then stage you will need to download the *.tgz files from

p .Dl Pa .../NetBSD-\*V/\*M/binary/sets Ns Ar {50,33}

p (if your disk is less than 200 MB you will probably want to exclude the X sets) and then before the c "mt ... rewoffl" run

p .Dl # Ic "tar -cvf /dev/nrmt0 *.tgz"

p When you have booted the bootfs and completed the disk partitioning you will be prompted to c select medium for install. At this point you will need to press .Key CONTROL-Z to suspend the install tool, then

p .Dl # Ic "cd /mnt" .Dl # Ic "mt -f /dev/nrmt0 rewind" .Dl # Ic "mt -f /dev/nrmt0 fsf" .Dl # Ic "tar -xvf /dev/nrmt0" .Dl # Ic "fg"

p then select .Dq "install from local dir" and give

a /mnt . .(Note If your disk is small you will need to be careful about filling it up. .Note)

p If you are using any other OS to create bootable tapes, remember that the blocksize .Em must be 512 for the file to be bootable! Otherwise it just won't work. . .Ss2 Creating boot floppies . Fetch the bootable bootfs image from

p .Dl Pa .../NetBSD-\*V/\*M/installation/bootfs/boot.fs

p and c gunzip it. It is a 1.2MB bootable image that will boot from any floppy of size 1.2MB and bigger. Note that you .Em cannot install from RX50 floppies due to the small size. This may change in the future.

p All floppies except RX50 use a standardized format for storing data so writing the bootfs to the floppy can be done on any PC. From .Tn MS-DOS the preferred way to do this is using c rawrite.exe . . .Ss2 Booting from NFS server . All VAXen that can boot over network uses MOP, a .Tn DEC protocol. To be able to use MOP, a MOP daemon must be present on one of the machines on the local network. The boot principle is: .(bullet -compact -offset indent The VAX broadcast a wish to load an image. t A mopd answers and send the boot program to the VAX. t The boot program does rarp/bootp requests, mounts the root file system and loads the kernel. t The kernel is loaded and starts executing. .bullet)

p If your machine has a disk and network connection, it may be convenient for you to install .Nx over the network. This involves temporarily booting your machine over NFS, just long enough so you can initialize its disk. This method requires that you have access to an NFS server on your network so you can configure it to support diskless boot for your machine. Configuring the NFS server is normally a task for a system administrator, and is not trivial.

p If you are using a .Nx system as the boot-server, have a look at the .Xr diskless 8 manual page for guidelines on how to proceed with this. If the server runs another operating system, consult the documentation that came with it. (I.e. .Xr add_client 8 on .Tn SunOS . )

p There is also very useful documentation at .Lk http://www.netbsd.org/Documentation/network/netboot/

p You also must install a MOP loader. If you are booting from another .Nx machine, the MOP daemons are included in the distribution, otherwise you may have to install a MOP loader. A loader can be found at .Lk ftp.stacken.kth.se:/pub/OS/NetBSD/mopd Fetch the latest and read the installation instructions.

p The file that should be loaded is called boot and is located in

p .Dl Pa .../NetBSD-\*V/\*M/installation/netboot/boot

p The kernel to load is the same kernel as the bootfs uses and can be found in

p .Dl Pa .../NetBSD-\*V/\*M/installation/netboot/netbsd.ram.gz

p From the install program started in the kernel the rest of the system can be installed. There is also a very good (if somewhat out of date) FAQ for netbooting VAXen at .Lk http://world.std.com/~bdc/projects/vaxen/VAX-netboot-HOWTO.html that describes netbooting of VAXen from many different OS'es.