74 lines
3.5 KiB
Plaintext
74 lines
3.5 KiB
Plaintext
|
.\" $NetBSD: install,v 1.1 1999/04/24 18:47:14 dbj Exp $
|
||
|
.\"
|
||
|
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||
|
.\" All rights reserved.
|
||
|
.\"
|
||
|
.\" Redistribution and use in source and binary forms, with or without
|
||
|
.\" modification, are permitted provided that the following conditions
|
||
|
.\" are met:
|
||
|
.\" 1. Redistributions of source code must retain the above copyright
|
||
|
.\" notice, this list of conditions and the following disclaimer.
|
||
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
|
.\" notice, this list of conditions and the following disclaimer in the
|
||
|
.\" documentation and/or other materials provided with the distribution.
|
||
|
.\" 3. All advertising materials mentioning features or use of this software
|
||
|
.\" must display the following acknowledgement:
|
||
|
.\" This product includes software developed by the NetBSD
|
||
|
.\" Foundation, Inc. and its contributors.
|
||
|
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
||
|
.\" contributors may be used to endorse or promote products derived
|
||
|
.\" from this software without specific prior written permission.
|
||
|
.\"
|
||
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
||
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
||
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
||
|
.\"
|
||
|
Begin by creating an area in the server's filesystem for the
|
||
|
NetBSD/next68k image. This area must be exported read-write to the NeXT
|
||
|
workstation. In the simplest form of installation, the entire image is
|
||
|
exported as a single partition, mounted on / by the target. This
|
||
|
corresponds to a local disk install with just one partition. It is also
|
||
|
possible to export /usr or other partitions seperately. /usr can be
|
||
|
exported read-only, and multiple machines can all share the same /usr
|
||
|
partition.
|
||
|
.Pp
|
||
|
To extract the sets into the exported area:
|
||
|
.Bd -literal -offset indent
|
||
|
cd /path/to/exported/filesystem
|
||
|
pax -zrvpe -f /path/to/base.tgz
|
||
|
.Ed
|
||
|
and repeat for any other sets you wish to install. You'll almost
|
||
|
certainly need the etc.tgz set.
|
||
|
.Pp
|
||
|
Edit the files in the etc directory to reflect reality. rc.conf and
|
||
|
fstab will certainly need to be edited.
|
||
|
.Pp
|
||
|
cd into the dev directory in the exported area and run
|
||
|
.Bd -literal -offset indent
|
||
|
sh ./MAKEDEV all
|
||
|
.Ed
|
||
|
to create the various device nodes.
|
||
|
.Pp
|
||
|
Create an empty swap file, and place it somewhere where it can also
|
||
|
be exported to the target.
|
||
|
.Pp
|
||
|
Edit the server's /etc/exports file to export the root and swap
|
||
|
partitions to the target. Both must be read-write, and allow full root
|
||
|
privileges.
|
||
|
.Pp
|
||
|
You'll also need to set up a tftp server and bootp server to enable
|
||
|
netbooting. These services don't have to run on the same machine that
|
||
|
exports the target image, but it is often convenient to do so. More
|
||
|
information on configuring these services can be found at
|
||
|
.Lk http://www.netbsd.org/Documentation/network/netboot/
|
||
|
Note that your bootptab requires the tag "vm=auto" for bootpd
|
||
|
to work with the NeXT.
|