2000-10-29 17:08:04 +03:00
|
|
|
.\" $NetBSD: xfer,v 1.8 2000/10/29 14:08:12 lukem Exp $
|
1999-01-13 10:30:01 +03:00
|
|
|
.
|
2000-10-10 16:55:15 +04:00
|
|
|
.so ../common/xfer
|
1999-01-13 10:30:01 +03:00
|
|
|
.
|
|
|
|
.Ss2 Creating boot tapes
|
|
|
|
.
|
2000-03-04 18:05:19 +03:00
|
|
|
Fetch the bootable bootfs image from
|
2000-10-29 17:08:04 +03:00
|
|
|
.Pp
|
|
|
|
.Dl Pa \&.../NetBSD-\*V/\*M/installation/bootfs/boot.fs.gz
|
|
|
|
.Pp
|
|
|
|
.Ic gunzip
|
|
|
|
.Pa boot.fs.gz
|
|
|
|
and write it on the beginning of the tape.
|
2000-10-10 16:55:15 +04:00
|
|
|
Under
|
|
|
|
.Nx
|
|
|
|
this is done (for MSCP tape, with SCSI tape the name is
|
2000-10-29 17:08:04 +03:00
|
|
|
.Li nrst0 )
|
|
|
|
via:
|
|
|
|
.Pp
|
|
|
|
.Dl # Ic "gunzip boot.fs.gz"
|
|
|
|
.Dl # Ic "mt -f /dev/nrmt0 rewind"
|
|
|
|
.Dl # Ic "dd if=boot.fs of=/dev/nrmt0"
|
|
|
|
.Dl # Ic "mt -f /dev/nrmt0 rewoffl"
|
|
|
|
.Pp
|
|
|
|
Under
|
|
|
|
.Tn Ultrix
|
|
|
|
the tape name is different:
|
|
|
|
.Pp
|
|
|
|
.Dl # Ic "gunzip boot.fs.gz"
|
|
|
|
.Dl # Ic "mt -f /dev/rmt0h rewind"
|
|
|
|
.Dl # Ic "dd if=boot.fs of=/dev/rmt0h"
|
|
|
|
.Dl # Ic "mt -f /dev/rmt0h rewoffl"
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
1999-05-07 04:15:16 +04:00
|
|
|
Of course, if you have a tape unit other than unit 0 you have to use
|
1997-06-30 23:00:52 +04:00
|
|
|
the corresponding unit number.
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
2000-03-04 18:05:19 +03:00
|
|
|
If you wish to install the sets from tape then stage you will need to
|
2000-10-10 16:55:15 +04:00
|
|
|
download the *.tgz files from
|
2000-10-29 17:08:04 +03:00
|
|
|
.Pp
|
|
|
|
.Dl Pa \&.../NetBSD-\*V/\*M/binary/sets Ns Ar {50,33}
|
|
|
|
.Pp
|
2000-10-10 16:55:15 +04:00
|
|
|
(if your disk is less than 200 MB you will probably want to exclude the
|
2000-10-29 17:08:04 +03:00
|
|
|
X sets) and then before the
|
|
|
|
.Ic "mt ... rewoffl"
|
|
|
|
run
|
|
|
|
.Pp
|
|
|
|
.Dl # Ic "tar -cvf /dev/nrmt0 *.tgz"
|
|
|
|
.Pp
|
2000-03-04 18:05:19 +03:00
|
|
|
When you have booted the bootfs and completed the disk partitioning
|
2000-10-29 17:08:04 +03:00
|
|
|
you will be prompted to
|
|
|
|
.Ic select medium
|
|
|
|
for install. At this point
|
|
|
|
you will need to press
|
|
|
|
.Key CONTROL-Z
|
|
|
|
to suspend the install tool, then
|
|
|
|
.Pp
|
|
|
|
.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"
|
|
|
|
.Pp
|
|
|
|
then select
|
|
|
|
.Dq "install from local dir"
|
|
|
|
and give
|
|
|
|
.Pa /mnt .
|
2000-10-10 16:55:15 +04:00
|
|
|
.(Note
|
|
|
|
If your disk is small you will need to be careful about filling it up.
|
|
|
|
.Note)
|
2000-03-04 18:05:19 +03:00
|
|
|
.Pp
|
1997-06-30 23:00:52 +04:00
|
|
|
If you are using any other OS to create bootable tapes, remember that
|
1999-01-13 10:30:01 +03:00
|
|
|
the blocksize
|
|
|
|
.Em must
|
|
|
|
be 512 for the file to be bootable! Otherwise it just won't work.
|
|
|
|
.
|
|
|
|
.Ss2 Creating boot floppies
|
|
|
|
.
|
2000-03-04 18:05:19 +03:00
|
|
|
Fetch the bootable bootfs image from
|
2000-10-29 17:08:04 +03:00
|
|
|
.Pp
|
|
|
|
.Dl Pa \&.../NetBSD-\*V/\*M/installation/bootfs/boot.fs.gz
|
|
|
|
.Pp
|
|
|
|
and
|
|
|
|
.Ic gunzip
|
|
|
|
it. It is a 1 MB bootable image that will boot from any
|
2000-10-10 16:55:15 +04:00
|
|
|
floppy of size 1 MB and bigger.
|
1999-05-07 04:15:16 +04:00
|
|
|
Note that you
|
|
|
|
.Em cannot
|
|
|
|
install from RX50 floppies due to the small size. This may change
|
|
|
|
in the future.
|
|
|
|
.Pp
|
2000-03-04 18:05:19 +03:00
|
|
|
All floppies except RX50 use a standardized format for storing data
|
2000-10-29 17:08:04 +03:00
|
|
|
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
|
|
|
|
.Ic rawrite.exe .
|
1999-01-13 10:30:01 +03:00
|
|
|
.
|
|
|
|
.Ss2 Booting from NFS server
|
|
|
|
.
|
2000-10-29 17:08:04 +03:00
|
|
|
All VAXen that can boot over network uses MOP, a
|
|
|
|
.Tn DEC
|
|
|
|
protocol.
|
1997-06-30 23:00:52 +04:00
|
|
|
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:
|
2000-10-10 16:55:15 +04:00
|
|
|
.(bullet -compact -offset indent
|
1999-05-07 04:15:16 +04:00
|
|
|
The VAX broadcast a wish to load an image.
|
1999-01-13 10:30:01 +03:00
|
|
|
.It
|
|
|
|
A mopd answers and send the boot program to the VAX.
|
|
|
|
.It
|
2000-10-29 17:08:04 +03:00
|
|
|
The boot program does rarp/bootp requests, mounts the root file system
|
1999-01-13 10:30:01 +03:00
|
|
|
and loads the kernel.
|
|
|
|
.It
|
|
|
|
The kernel is loaded and starts executing.
|
2000-10-10 16:55:15 +04:00
|
|
|
.bullet)
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
1997-06-30 23:00:52 +04:00
|
|
|
If your machine has a disk and network connection, it may be
|
2000-10-10 16:55:15 +04:00
|
|
|
convenient for you to install
|
|
|
|
.Nx
|
|
|
|
over the network. This
|
1997-06-30 23:00:52 +04:00
|
|
|
involves temporarily booting your machine over NFS, just long enough
|
1999-01-13 10:30:01 +03:00
|
|
|
so you can initialize its disk. This method requires that you have
|
1997-06-30 23:00:52 +04:00
|
|
|
access to an NFS server on your network so you can configure it to
|
1999-01-13 10:30:01 +03:00
|
|
|
support diskless boot for your machine. Configuring the NFS server
|
1997-06-30 23:00:52 +04:00
|
|
|
is normally a task for a system administrator, and is not trivial.
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
2000-10-10 16:55:15 +04:00
|
|
|
If you are using a
|
|
|
|
.Nx
|
|
|
|
system as the boot-server, have a look at
|
1999-01-13 10:30:01 +03:00
|
|
|
the
|
|
|
|
.Xr diskless 8
|
|
|
|
manual page for guidelines on how to proceed with
|
|
|
|
this. If the server runs another operating system, consult the
|
2000-10-29 17:08:04 +03:00
|
|
|
documentation that came with it. (I.e.
|
|
|
|
.Xr add_client 8
|
|
|
|
on
|
|
|
|
.Tn SunOS . )
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
2000-03-04 18:05:19 +03:00
|
|
|
There is also very useful documentation at
|
|
|
|
.Lk http://www.netbsd.org/Documentation/network/netboot/
|
|
|
|
.Pp
|
1997-06-30 23:00:52 +04:00
|
|
|
You also must install a MOP loader. If you are booting from another
|
2000-10-10 16:55:15 +04:00
|
|
|
.Nx
|
|
|
|
machine, the MOP daemons are included in the distribution,
|
2000-03-04 18:05:19 +03:00
|
|
|
otherwise you may have to install a MOP loader. A loader can be found at
|
1999-01-13 10:30:01 +03:00
|
|
|
.Lk ftp.stacken.kth.se:/pub/OS/NetBSD/mopd
|
|
|
|
Fetch the latest and read the
|
|
|
|
installation instructions.
|
|
|
|
.Pp
|
1999-05-07 04:15:16 +04:00
|
|
|
The file that should be loaded is called boot.mop and is located in
|
2000-10-29 17:08:04 +03:00
|
|
|
.Pp
|
|
|
|
.Dl Pa \&.../NetBSD-\*V/\*M/installation/netboot/boot.mop
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
2000-10-10 16:55:15 +04:00
|
|
|
The kernel to load is the same kernel as the bootfs uses and can
|
1999-05-07 04:15:16 +04:00
|
|
|
be found in
|
2000-10-29 17:08:04 +03:00
|
|
|
.Pp
|
|
|
|
.Dl Pa \&.../NetBSD-\*V/\*M/installation/netboot/netbsd.ram.gz
|
|
|
|
.Pp
|
1999-05-07 04:15:16 +04:00
|
|
|
From the install program started in the kernel the rest of the system
|
|
|
|
can be installed.
|
2000-03-04 18:05:19 +03:00
|
|
|
There is also a very good (if somewhat out of date) FAQ for netbooting
|
|
|
|
VAXen at
|
1999-05-07 04:15:16 +04:00
|
|
|
.Lk http://world.std.com/~bdc/projects/vaxen/VAX-netboot-HOWTO.html
|
|
|
|
that describes netbooting of VAXen from many different OS'es.
|