2002-04-16 00:57:55 +04:00
|
|
|
.\" $NetBSD: install,v 1.24 2002/04/15 20:57:55 gmcgarry Exp $
|
1999-01-13 10:30:01 +03:00
|
|
|
.\"
|
2000-10-10 16:55:15 +04:00
|
|
|
.\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
|
1999-01-13 10:30:01 +03: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.
|
|
|
|
.\"
|
1994-09-18 04:33:41 +04:00
|
|
|
The installation can be broken down into three basic steps:
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
2000-10-10 16:55:15 +04:00
|
|
|
.(bullet -compact
|
2000-10-29 17:08:04 +03:00
|
|
|
Run Mkfs to build a file system or file systems.
|
1999-01-13 10:30:01 +03:00
|
|
|
.It
|
2000-10-29 17:08:04 +03:00
|
|
|
Run the Installer to load the files onto your file systems.
|
1999-01-13 10:30:01 +03:00
|
|
|
.It
|
|
|
|
Run the Booter to boot the system.
|
2000-10-10 16:55:15 +04:00
|
|
|
.bullet)
|
1999-01-13 10:30:01 +03:00
|
|
|
.
|
2000-10-29 17:08:04 +03:00
|
|
|
.Ss2 Preparing the file system(s)
|
1999-01-13 10:30:01 +03:00
|
|
|
.
|
|
|
|
Double-click on the Mkfs application icon to start it up. It will ask you
|
2000-10-29 17:08:04 +03:00
|
|
|
for the SCSI-ID of the drive that you are installing upon. Once this is
|
1997-11-24 21:15:11 +03:00
|
|
|
selected, it will present a list of the partitions on that disk. You must
|
1999-01-13 10:30:01 +03:00
|
|
|
first convert the partitions to a type which
|
|
|
|
.Nx
|
|
|
|
can understand. Select
|
2000-10-29 17:08:04 +03:00
|
|
|
each partition on which you wish to build a file system and click on the
|
|
|
|
.Dq Change
|
|
|
|
button. If you are placing the entire installation on a single
|
|
|
|
partition, select the
|
|
|
|
.Dq NetBSD Root\*&Usr
|
|
|
|
radio button. If you are using
|
|
|
|
multiple partitions, select
|
|
|
|
.Dq NetBSD Root
|
|
|
|
for the root partition
|
|
|
|
.Pq Pa /
|
|
|
|
and
|
|
|
|
.Dq NetBSD Usr
|
|
|
|
for all the other partitions. You should select
|
|
|
|
.Dq NetBSD Swap
|
1999-01-13 10:30:01 +03:00
|
|
|
for the swap partition.
|
|
|
|
.Pp
|
1997-11-24 21:15:11 +03:00
|
|
|
When you have finished converting each partition, select each partition and
|
2000-10-29 17:08:04 +03:00
|
|
|
click on the
|
|
|
|
.Dq Format
|
|
|
|
button. You will now be asked for a bunch of
|
|
|
|
parameters for the hard drive and the file system. Usually, you can just
|
1999-01-13 10:30:01 +03:00
|
|
|
take the defaults. If you are installing onto removable media (e.g. a Zip,
|
|
|
|
Jaz, or Syquest), please see the FAQ. Note that although this dialog only
|
2000-10-29 17:08:04 +03:00
|
|
|
has the
|
|
|
|
.Dq OK
|
|
|
|
button, you are not committed, yet. Once you get the values
|
|
|
|
you want, press the
|
|
|
|
.Dq OK
|
|
|
|
button. A dialog will be presented at this point
|
|
|
|
with two options:
|
|
|
|
.Dq Format
|
|
|
|
and
|
|
|
|
.Dq Cancel .
|
|
|
|
If you choose
|
|
|
|
.Dq Cancel ,
|
|
|
|
nothing will be written to your drive. If you choose
|
|
|
|
.Dq Format ,
|
|
|
|
the program will
|
|
|
|
proceed to make a file system.
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
|
|
|
Mkfs is not a well-behaved Macintosh application. It will not allow any
|
1997-11-24 21:15:11 +03:00
|
|
|
other tasks to run while it does (cooperative multitasking at its best).
|
|
|
|
When it's finished, the program will put up a dialog to ask if you have
|
1999-01-13 10:30:01 +03:00
|
|
|
scanned the output for any error messages. Usually there won't have been
|
2000-10-29 17:08:04 +03:00
|
|
|
any errors, but do scan the output to make sure. Simply click on the
|
|
|
|
.Dq "I Read It"
|
|
|
|
button and the program will quit.
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
1994-09-18 04:33:41 +04:00
|
|
|
Repeat as necessary for any extra partitions that you wish to make
|
2000-10-29 17:08:04 +03:00
|
|
|
file systems on. Note that you do
|
|
|
|
.Em not
|
|
|
|
need a file system on your swap partition.
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
2000-10-29 17:08:04 +03:00
|
|
|
When you are finished, click on the
|
|
|
|
.Dq Done
|
|
|
|
button and choose
|
|
|
|
.Dq Quit
|
|
|
|
from the
|
|
|
|
.Dq File
|
|
|
|
menu to exit Mkfs.
|
1999-01-13 10:30:01 +03:00
|
|
|
.
|
|
|
|
.Ss2 Installing the files
|
|
|
|
.
|
1997-10-20 04:01:36 +04:00
|
|
|
Before using the Installer, it is probably a good idea to increase its
|
1999-01-13 10:30:01 +03:00
|
|
|
memory allocation. Select the Installer icon by clicking on it and choose
|
2000-10-29 17:08:04 +03:00
|
|
|
.Dq Get Info
|
|
|
|
from the File menu. Increase both the Minimum and Preferred
|
1997-11-24 21:15:11 +03:00
|
|
|
sizes to as much as you can spare.
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
|
|
|
Double-click on the Installer icon to start it up. The Installer will
|
2000-10-29 17:08:04 +03:00
|
|
|
present the same SCSI-ID menu that Mkfs did. Select the same SCSI-ID that
|
|
|
|
you did for Mkfs - i.e., the one you are installing onto.
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
2000-10-29 17:08:04 +03:00
|
|
|
If you are installing onto a single root partition
|
|
|
|
.Pq Pa / ,
|
|
|
|
proceed to the
|
1999-01-13 10:30:01 +03:00
|
|
|
.Sx Installation\ of\ base\ files
|
|
|
|
section, below.
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
2000-10-29 17:08:04 +03:00
|
|
|
If you have not created file systems for
|
|
|
|
.Pa /
|
|
|
|
(root),
|
|
|
|
.Pa usr ,
|
|
|
|
and any other file systems, go back to
|
|
|
|
.Sx Preparing the file system(s)
|
1999-01-13 10:30:01 +03:00
|
|
|
above.
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
2000-10-29 17:08:04 +03:00
|
|
|
When you started the Installer, it mounted your root partition
|
|
|
|
.Pq Pa / .
|
|
|
|
Just before it printed,
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
2000-10-29 17:08:04 +03:00
|
|
|
.Dl "Mounting partition 'A' as / ",
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
2000-10-29 17:08:04 +03:00
|
|
|
it printed lines like:
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
2000-10-29 17:08:04 +03:00
|
|
|
.Dl "sd1 at scsi ID 5" .
|
|
|
|
.Pp
|
|
|
|
This means that the device for SCSI-ID 5 is
|
|
|
|
.Li sd1 .
|
|
|
|
The partitions
|
|
|
|
are signified by a trailing letter. For instance,
|
|
|
|
.Li sd1a
|
|
|
|
would be
|
|
|
|
the root partition
|
|
|
|
.Pq Pa /
|
|
|
|
of the second SCSI disk in the chain, and
|
|
|
|
.Li sd0g
|
|
|
|
would be the first Usr partition on the first SCSI disk.
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
2000-10-29 17:08:04 +03:00
|
|
|
You will need to know the proper device to mount the remaining
|
|
|
|
partition(s) by hand:
|
|
|
|
.(enum -offset indent
|
|
|
|
Select
|
|
|
|
.Dq Build Devices
|
|
|
|
from the
|
|
|
|
.Dq File
|
|
|
|
menu.
|
|
|
|
.It
|
|
|
|
Select
|
|
|
|
.Dq Mini Shell
|
|
|
|
from the
|
|
|
|
.Dq File
|
|
|
|
menu.
|
|
|
|
.It
|
|
|
|
You can use the
|
|
|
|
.Ic disklabel
|
|
|
|
command to get a listing of
|
|
|
|
the available partitions and their types and sizes.
|
|
|
|
.It
|
1999-01-13 10:30:01 +03:00
|
|
|
Create the directory mount point(s) with the command:
|
2000-10-29 17:08:04 +03:00
|
|
|
.Pp
|
|
|
|
.Dl # Ic "mkdir path"
|
|
|
|
.Pp
|
|
|
|
E.g. for the
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pa /usr
|
|
|
|
partition type:
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
2000-10-29 17:08:04 +03:00
|
|
|
.Dl # Ic "mkdir /usr"
|
|
|
|
.It
|
|
|
|
Mount the file systems you wish with the command:
|
|
|
|
.Pp
|
|
|
|
.Dl # Ic "mount device path"
|
|
|
|
For example, if you wish to mount a
|
|
|
|
.Pa /usr
|
|
|
|
partition from the first SCSI disk
|
|
|
|
.Li sd0 ,
|
|
|
|
on
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pa /usr , No you would type:
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
2000-10-29 17:08:04 +03:00
|
|
|
.Dl # Ic "mount /dev/sd0g /usr"
|
|
|
|
.It
|
|
|
|
Type
|
|
|
|
.Dl # Ic "fstab force"
|
|
|
|
to create a proper
|
|
|
|
.Pa /etc/fstab
|
1999-01-13 10:30:01 +03:00
|
|
|
file.
|
2000-10-29 17:08:04 +03:00
|
|
|
.It
|
1999-01-13 10:30:01 +03:00
|
|
|
Type
|
|
|
|
.Ic quit
|
2000-10-29 17:08:04 +03:00
|
|
|
after you have mounted all the file systems.
|
2000-10-10 16:55:15 +04:00
|
|
|
.bullet)
|
1999-01-13 10:30:01 +03:00
|
|
|
.
|
2000-10-10 16:55:15 +04:00
|
|
|
.Ss2 Installation of base files
|
1999-01-13 10:30:01 +03:00
|
|
|
.
|
|
|
|
Select the
|
|
|
|
.Ic Install
|
2000-10-10 16:55:15 +04:00
|
|
|
menu item from the
|
1999-01-13 10:30:01 +03:00
|
|
|
.Ic File
|
|
|
|
menu and install
|
|
|
|
.Pa base.tgz , etc.tgz , netbsd.tgz ,
|
|
|
|
and any other sets you wish to
|
|
|
|
install at this time. (See the contents section for information
|
|
|
|
about what's in each set.) The Installer will print out the
|
|
|
|
filename of each file as it is installed, and will take quite some
|
|
|
|
time to install everything (the base package alone can take over an
|
|
|
|
hour on a slow hard drive).
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
1999-01-13 10:30:01 +03:00
|
|
|
As is the case with Mkfs, this is not a particularly well-behaved
|
|
|
|
Macintosh application and the machine will be completely tied up
|
|
|
|
while the installation takes place.
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
1999-01-13 10:30:01 +03:00
|
|
|
At some point after installing the base set, select the
|
|
|
|
.Ic Build Devices
|
2000-10-10 16:55:15 +04:00
|
|
|
option from the
|
1999-01-13 10:30:01 +03:00
|
|
|
.Ic File
|
|
|
|
menu if you have not already done
|
|
|
|
so. This will create a bunch of device nodes for you and will
|
|
|
|
create your initial
|
|
|
|
.Pa /etc/fstab .
|
|
|
|
The Installer program also has an
|
|
|
|
option to give you a mini-shell. Do not use this unless you are
|
|
|
|
sure know what you are doing.
|
2000-10-10 16:55:15 +04:00
|
|
|
.Pp
|
1999-01-13 10:30:01 +03:00
|
|
|
When you are finished installing all of the sets you wish to
|
|
|
|
install, exit the Installer by choosing
|
|
|
|
.Ic Quit No from the Ic File
|
|
|
|
.No menu.
|
|
|
|
.
|
|
|
|
.Ss2 Booting the system
|
|
|
|
.
|
2000-10-10 16:55:15 +04:00
|
|
|
Prior to attempting to boot
|
|
|
|
.Nx*M ,
|
|
|
|
please verify that all of
|
1997-07-26 03:29:42 +04:00
|
|
|
the following are true:
|
2000-10-10 16:55:15 +04:00
|
|
|
.(enum
|
|
|
|
32-bit addressing is enabled [1] in the Memory control panel;
|
1999-01-13 10:30:01 +03:00
|
|
|
.It
|
|
|
|
All forms of virtual memory are disabled (the Memory control
|
|
|
|
panel, RAM Doubler, or other software-based memory enhancement
|
|
|
|
products); and
|
|
|
|
.It
|
|
|
|
Your system is in B\*&W mode (1-bit color or grayscale) as shown
|
|
|
|
by the Monitors control panel. You may choose to have the
|
|
|
|
Booter do this for you automatically by selecting the appropriate
|
|
|
|
check box and radio button in the
|
2000-10-10 16:55:15 +04:00
|
|
|
.Ic Monitors No dialog on the
|
1999-01-13 10:30:01 +03:00
|
|
|
.Ic Options No menu .
|
2000-10-10 16:55:15 +04:00
|
|
|
.enum)
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
1997-11-24 21:15:11 +03:00
|
|
|
It is probably best to boot your machine with all extensions turned
|
2000-10-29 17:08:04 +03:00
|
|
|
off [1]. You can do this by booting into
|
|
|
|
.Tn MacOS
|
|
|
|
with the SHIFT key held
|
1999-01-13 10:30:01 +03:00
|
|
|
down. You may have to restart your Macintosh for changes to take effect
|
|
|
|
before proceeding.
|
2000-10-10 16:55:15 +04:00
|
|
|
.(tag [1]
|
|
|
|
.It [1]
|
1999-05-31 10:38:16 +04:00
|
|
|
If your version of the Memory control panel does not have a 32-bit
|
|
|
|
addressing mode radio button, this means that your system is already
|
|
|
|
32-bit clean and is running in 32-bit addressing mode by default. If the
|
2002-04-16 00:57:55 +04:00
|
|
|
Booter complains that you are not in 32-bit mode, it may be necessary
|
2000-10-29 17:08:04 +03:00
|
|
|
for you to press the
|
|
|
|
.Dq Use Defaults
|
|
|
|
button in the Memory control panel to
|
1999-05-31 10:38:16 +04:00
|
|
|
restore 32-bit addressing. You should probably reboot after doing so.
|
1999-01-13 10:30:01 +03:00
|
|
|
If you have an older II-class system (including the II, IIx, IIcx,
|
1997-10-20 04:01:36 +04:00
|
|
|
and SE/30), it is necessary to install Connectix's MODE32 to work around
|
1999-01-13 10:30:01 +03:00
|
|
|
ROM issues which prevent you from enabling 32-bit addressing. Please see
|
|
|
|
.if !dHTML .br
|
2000-10-29 17:08:04 +03:00
|
|
|
.Lk http://www.netbsd.org/Ports/\*M/faq/ the\ FAQ
|
1999-01-13 10:30:01 +03:00
|
|
|
.if !dHTML .br
|
|
|
|
for more information.
|
|
|
|
.tag)
|
|
|
|
.Pp
|
2000-10-10 16:55:15 +04:00
|
|
|
Double-click on the
|
|
|
|
.Nx*M
|
|
|
|
Booter icon to start the application.
|
|
|
|
Select
|
1999-01-13 10:30:01 +03:00
|
|
|
.Ic Booting
|
2000-10-10 16:55:15 +04:00
|
|
|
from the
|
1999-01-13 10:30:01 +03:00
|
|
|
.Ic Options
|
|
|
|
menu. Check that all of the items in
|
2000-10-29 17:08:04 +03:00
|
|
|
the resulting dialog look sane - especially the SCSI-ID. If not, correct
|
|
|
|
them to your preference (the SCSI-ID should be the only thing you need to
|
1999-01-13 10:30:01 +03:00
|
|
|
change). When you are satisfied with your choices, try booting
|
|
|
|
.Nx
|
|
|
|
by selecting
|
|
|
|
.Ic Boot Now No from the
|
|
|
|
.Ic Options No menu.
|
|
|
|
.Pp
|
|
|
|
If you wish to save your preferences, choose
|
|
|
|
.Ic Save Options
|
|
|
|
from the
|
|
|
|
.Ic File
|
|
|
|
menu before Booting (your preferences will not be saved if you
|
1997-11-24 21:15:11 +03:00
|
|
|
forget to do this).
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
|
|
|
If the system does not come up, send mail to
|
2000-10-29 17:08:04 +03:00
|
|
|
.Mt port-\*M@netbsd.org
|
1998-05-19 17:45:01 +04:00
|
|
|
describing your software, your hardware, and as complete a description of
|
|
|
|
the problem as you can.
|
1999-01-13 10:30:01 +03:00
|
|
|
.Pp
|
|
|
|
If the system does come up, congratulations, you have successfully installed
|
|
|
|
.Nx \*V .
|