install revision 1.8.2.3 1 1.1 briggs The installation can be broken down into three basic steps:
2 1.1 briggs * Run Mkfs to build a filesystem or filesystems.
3 1.8 ender * Run the Installer to load the files onto your filesystems.
4 1.8 ender * Run the Booter to boot the system.
5 1.1 briggs
6 1.1 briggs **** Preparing the filesystem(s)
7 1.1 briggs
8 1.8.2.2 mellon Double-click on the Mkfs application icon to start it up. It will ask you
9 1.8.2.2 mellon for the SCSI ID of the drive that you are installing upon. Once this is
10 1.8.2.2 mellon selected, it will present a list of the partitions on that disk. You must
11 1.8.2.2 mellon first convert the partitions to a type which NetBSD can understand. Select
12 1.8.2.2 mellon each partition on which you wish to build a filesystem and click on the
13 1.8.2.2 mellon "Change" button. If you are placing the entire installation on a single
14 1.8.2.2 mellon partition, select the "NetBSD Root&Usr" radio button. If you are using
15 1.8.2.2 mellon multiple partitions, select "NetBSD Root" for the root partition and
16 1.8.2.2 mellon "NetBSD Usr" for all the other partitions. You should select "NetBSD Swap"
17 1.8.2.2 mellon for the swap partition.
18 1.8 ender
19 1.8.2.2 mellon When you have finished converting each partition, select each partition and
20 1.8.2.2 mellon click on the "Format" button. You will now be asked for a bunch of
21 1.8 ender parameters for the hard drive and the filesystem. Usually, you can just
22 1.8.2.2 mellon take the defaults. If you are installing onto removable media (e.g. a Zip,
23 1.8.2.2 mellon Jaz, or Syquest), please see the FAQ. Note that although this dialog only
24 1.8.2.2 mellon has the "OK" button, you are not committed, yet. Once you get the values
25 1.8.2.2 mellon you want, press the "OK" button. A dialog will be presented at this point
26 1.8.2.2 mellon with two options: "Format" and "Cancel." If you choose "Cancel," nothing
27 1.8.2.2 mellon will be written to your drive. If you choose "Format," the program will
28 1.8.2.2 mellon proceed to make a filesystem.
29 1.8.2.2 mellon
30 1.8.2.2 mellon Mkfs is not a well-behaved Macintosh application. It will not allow any
31 1.8.2.2 mellon other tasks to run while it does (cooperative multitasking at its best).
32 1.8.2.2 mellon When it's finished, the program will put up a dialog to ask if you have
33 1.8.2.2 mellon scanned the output for any error messages. Usually there won't have been
34 1.8.2.2 mellon any errors, but do scan the output to make sure. Simply click on the "I
35 1.8.2.2 mellon Read It" button and the program will quit.
36 1.1 briggs
37 1.1 briggs Repeat as necessary for any extra partitions that you wish to make
38 1.1 briggs filesystems on. Note that you do _not_ need a filesystem on your swap
39 1.1 briggs partition.
40 1.1 briggs
41 1.8 ender When you are finished, click on the "Done" button and choose "Quit" from
42 1.8 ender the "File" menu to exit Mkfs.
43 1.8 ender
44 1.1 briggs **** Installing the files
45 1.1 briggs
46 1.8 ender Before using the Installer, it is probably a good idea to increase its
47 1.8.2.2 mellon memory allocation. Select the Installer icon by clicking on it and choose
48 1.8.2.2 mellon "Get Info" from the File menu. Increase both the Minimum and Preferred
49 1.8.2.2 mellon sizes to as much as you can spare.
50 1.8.2.2 mellon
51 1.8.2.2 mellon Double-click on the Installer icon to start it up. The Installer will
52 1.8.2.2 mellon present the same SCSI ID menu that Mkfs did. Select the same SCSI ID that
53 1.8.2.2 mellon you did for Mkfs--i.e., the one you are installing onto.
54 1.1 briggs
55 1.1 briggs If you are installing onto a single root partition, proceed to the
56 1.1 briggs "Installation of base files" section, below.
57 1.1 briggs
58 1.1 briggs If you have not created filesystems for the root, usr, and
59 1.1 briggs any other filesystems, go back to "Preparing the filesystem(s),"
60 1.1 briggs above.
61 1.1 briggs
62 1.8 ender When you started the Installer, it mounted your root partition.
63 1.1 briggs Just before it printed, "Mounting partition 'A' as /," it printed
64 1.1 briggs lines like:
65 1.1 briggs sd1 at scsi ID 5.
66 1.1 briggs This means that the device for scsi ID 5 is sd1. The partitions
67 1.1 briggs are signified by a trailing letter. For instance, sd1a would be
68 1.1 briggs the root partition of the second scsi disk in the chain, and sd0g
69 1.8.2.2 mellon would be the first Usr partition on the first scsi disk.
70 1.1 briggs
71 1.1 briggs You will need to know the proper device to mount the remaining
72 1.1 briggs partition(s) by hand:
73 1.1 briggs
74 1.1 briggs * Select "Build Devices" from the "File" menu.
75 1.1 briggs
76 1.1 briggs * Select "Mini Shell" from the "File" menu.
77 1.1 briggs
78 1.8 ender * You can use the 'disklabel' command to get a listing of
79 1.8 ender the available partitions and their types and sizes.
80 1.8 ender
81 1.1 briggs * Mount the filesystems you wish with the command:
82 1.1 briggs mount device path
83 1.1 briggs For example, if you wish to mount a usr partition from
84 1.1 briggs the first scsi disk, sd0, on /usr, you would type:
85 1.1 briggs mount /dev/sd0g /usr
86 1.1 briggs
87 1.8 ender * Type "fstab force" to create a proper /etc/fstab file
88 1.8 ender
89 1.1 briggs * Type "quit" after you have mounted all the filesystems.
90 1.1 briggs
91 1.1 briggs Installation of base files:
92 1.1 briggs
93 1.1 briggs Select the "Install" menu item from the "File" menu and install
94 1.8.2.2 mellon base.tgz, etc.tgz, netbsd.tgz, and any other sets you wish to
95 1.8.2.2 mellon install at this time (see the contents section for information
96 1.8.2.2 mellon about what's in each set). The Installer will print out the
97 1.8.2.2 mellon filename of each file as it is installed, and will take quite some
98 1.8.2.2 mellon time to install everything (the base package alone can take over an
99 1.8.2.2 mellon hour on a slow hard drive).
100 1.1 briggs
101 1.1 briggs As is the case with Mkfs, this is not a particularly well-behaved
102 1.1 briggs Macintosh application and the machine will be completely tied up
103 1.1 briggs while the installation takes place.
104 1.1 briggs
105 1.8.2.2 mellon At some point after installing the base set, select the "Build
106 1.8.2.2 mellon Devices" option from the "File" menu if you have not already done
107 1.8.2.2 mellon so. This will create a bunch of device nodes for you and will
108 1.8.2.2 mellon create your initial /etc/fstab. The Installer program also has an
109 1.8.2.2 mellon option to give you a mini-shell. Do not use this unless you are
110 1.8.2.2 mellon sure know what you are doing.
111 1.8 ender
112 1.8.2.2 mellon When you are finished installing all of the sets you wish to
113 1.8 ender install, exit the Installer by choosing "Quit" from the "File" menu.
114 1.8 ender
115 1.1 briggs **** Booting the system
116 1.1 briggs
117 1.7 scottr Prior to attempting to boot NetBSD/mac68k, please verify that all of
118 1.7 scottr the following are true:
119 1.7 scottr
120 1.7 scottr 1) 32-bit addressing is enabled[*] in the Memory control panel;
121 1.7 scottr
122 1.7 scottr 2) All forms of virtual memory are disabled (the Memory control
123 1.7 scottr panel, RAM Doubler, or other software-based memory enhancement
124 1.7 scottr products); and
125 1.7 scottr
126 1.7 scottr 3) Your system is in B&W mode (1-bit color or grayscale) as shown
127 1.8 ender by the Monitors control panel. You may choose to have the
128 1.8 ender Booter do this for you automatically by selecting the appropriate
129 1.8 ender check box and radio button in the "Monitors" dialog on the
130 1.8 ender "Options" menu.
131 1.7 scottr
132 1.8.2.2 mellon It is probably best to boot your machine with all extensions turned
133 1.8.2.2 mellon off[*]. You can do this by booting into MacOS with the SHIFT key held
134 1.8.2.2 mellon down. You may have to restart your Macintosh for changes to take effect
135 1.8.2.2 mellon before proceeding.
136 1.7 scottr
137 1.8 ender [* NOTE: If you have an older II-class system (including the II, IIx, IIcx,
138 1.8 ender and SE/30), it is necessary to install Connectix's MODE32 to work around
139 1.7 scottr ROM issues which prevent you from enabling 32-bit addressing. Please see
140 1.8 ender <http://www.netbsd.org/Ports/mac68k/faq/> for more information.]
141 1.7 scottr
142 1.5 scottr Double-click on the NetBSD/mac68k Booter icon to start the application.
143 1.8 ender Select "Booting" from the "Options" menu. Check that all of the items in
144 1.8 ender the resulting dialog look sane--especially the SCSI ID. If not, correct
145 1.8 ender them to your preference (the SCSI ID should be the only thing you need to
146 1.8 ender change). When you are satisfied with your choices, try booting NetBSD by
147 1.8 ender selecting "Boot Now" from the "Options" menu.
148 1.8 ender
149 1.8 ender If you wish to save your preferences, choose "Save Options" from the
150 1.8.2.2 mellon "File" menu before Booting (your preferences will not be saved if you
151 1.8.2.2 mellon forget to do this).
152 1.8 ender
153 1.8 ender If the system does not come up, send mail to scottr (a] netbsd.org describing
154 1.8 ender your software, your hardware, and as complete a description of the
155 1.8 ender problem as you can.
156 1.1 briggs
157 1.8 ender If the system does come up, congratulations, you have successfully
158 1.8.2.2 mellon installed NetBSD _VER. When you first boot into NetBSD, it will
159 1.8.2.2 mellon automatically drop you into single-user mode with the root filesystem
160 1.8.2.2 mellon mounted read-write. The system will ask you to choose a shell. Simply hit
161 1.8.2.2 mellon return to get to a prompt. If you are asked for a terminal type, respond
162 1.8.2.2 mellon with 'vt220' and hit return. At this point, you need to configure at least
163 1.8.2.2 mellon one file in the /etc directory. Change to the /etc directory and take a
164 1.8.2.2 mellon look at the /etc/rc.conf file. Modify it to your tastes, making sure that
165 1.8.2.2 mellon you set "rc_configured=YES" so that your changes will be enabled and a
166 1.8.2.2 mellon multi-user boot can proceed. If your /usr directory is on a separate
167 1.8.2.2 mellon partition and you do not know how to use 'ed' or 'ex', you will have to
168 1.8.2.2 mellon mount your /usr partition to gain access to 'vi'. Do the following:
169 1.8.2.2 mellon
170 1.8.2.2 mellon mount /usr
171 1.8.2.2 mellon export TERM=vt220
172 1.8.2.2 mellon
173 1.8.2.2 mellon You can then edit /etc/rc.conf with 'vi'. When you have finished, type
174 1.8.2.2 mellon 'exit' at the prompt to leave the single-user shell and continue with the
175 1.8.2.2 mellon multi-user boot. You should log in as "root" at the login prompt. There
176 1.8.2.2 mellon is no initial password, but if you're using the machine in a networked
177 1.8.2.2 mellon environment, you should create yourself an account and protect it and the
178 1.8.2.2 mellon "root" account with good passwords. Please see the adduser(8) man page for
179 1.8.2.2 mellon more information on how to add a new user.
180 1.1 briggs
181 1.8 ender Some of the files in the NetBSD _VER distribution might need to be
182 1.8.2.2 mellon tailored for your site. In particular, the /etc/resolv.conf file will
183 1.1 briggs almost definitely need to be adjusted, and other files in /etc will
184 1.8.2.2 mellon probably need to be modified, as well. Many of these files are described
185 1.8.2.2 mellon in section 5 of the manual pages. See intro(5) for more information. If
186 1.8.2.2 mellon you are unfamiliar with UN*X-like system administration, it's recommended
187 1.8.2.2 mellon that you buy a book that discusses it.
188