2000-10-29 17:08:04 +03:00
|
|
|
.\" $NetBSD: install,v 1.4 2000/10/29 14:08:08 lukem Exp $
|
1999-04-24 22:47:14 +04:00
|
|
|
.\"
|
2000-10-04 02:43:37 +04:00
|
|
|
.\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
|
1999-04-24 22:47:14 +04:00
|
|
|
.\" 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.
|
|
|
|
.\"
|
2000-10-29 17:08:04 +03:00
|
|
|
Begin by creating an area in the server's file system for the
|
2000-10-10 16:55:15 +04:00
|
|
|
.Nx*M
|
|
|
|
image. This area must be exported read-write to the NeXT
|
1999-04-24 22:47:14 +04:00
|
|
|
workstation. In the simplest form of installation, the entire image is
|
2000-10-29 17:08:04 +03:00
|
|
|
exported as a single partition, mounted on
|
|
|
|
.Pa /
|
|
|
|
(by the target. This
|
1999-04-24 22:47:14 +04:00
|
|
|
corresponds to a local disk install with just one partition. It is also
|
2000-10-29 17:08:04 +03:00
|
|
|
possible to export
|
|
|
|
.Pa /usr or other partitions separately.
|
|
|
|
.Pa /usr
|
|
|
|
can be exported read-only, and multiple machines can all share the same
|
|
|
|
.Pa /usr
|
1999-04-24 22:47:14 +04:00
|
|
|
partition.
|
|
|
|
.Pp
|
|
|
|
To extract the sets into the exported area:
|
2000-10-29 17:08:04 +03:00
|
|
|
.Pp
|
|
|
|
.Dl # Ic "cd /path/to/exported/file-system"
|
|
|
|
.Dl # Ic "pax -zrvpe -f /path/to/base.tgz"
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
1999-04-24 22:47:14 +04:00
|
|
|
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
|
2000-10-29 17:08:04 +03:00
|
|
|
.Pp
|
|
|
|
.Dl # Ic "sh ./MAKEDEV all"
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
1999-04-24 22:47:14 +04:00
|
|
|
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
|
2000-10-29 17:08:04 +03:00
|
|
|
Edit the server's
|
|
|
|
.Pa /etc/exports
|
|
|
|
file to export the root
|
|
|
|
.Pq Pa /
|
|
|
|
and swap partitions to the target.
|
|
|
|
Both must be read-write, and allow full root privileges.
|
1999-04-24 22:47:14 +04:00
|
|
|
.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/
|
2000-10-29 17:08:04 +03:00
|
|
|
Note that your bootptab requires the tag
|
|
|
|
.Sq Li "vm=auto"
|
|
|
|
for
|
|
|
|
.Ic bootpd
|
1999-04-24 22:47:14 +04:00
|
|
|
to work with the NeXT.
|