install revision 1.2.4.1 1 The installation can be broken down into three basic steps:
2 * Run Mkfs to build a filesystem or filesystems.
3 * Run Install Utility to load the files onto your filesystems.
4 * Run the booter to boot the system.
5
6 **** Preparing the filesystem(s)
7
8 Double-click on the Mkfs application icon to start it up. It will ask
9 you for the SCSI ID of the drive that you are installing upon. Once
10 this is selected, it will present a list of the partitions on that disk.
11 Select the partition on which you wish to build a filesystem and click
12 on the "Format" button. You will now be asked for a bunch of parameters
13 for the hard drive and the filesystem. Usually, you can just take the
14 defaults. If you are installing onto a Syquest, please see the FAQ.
15 Note that although this dialog only has the "OK" button, you are not
16 committed, yet. Once you get the values you want, press the "OK" button.
17 A dialog will be presented at this point with two options: "Format" and
18 "Cancel." If you choose "Cancel," nothing will be written to your drive.
19 If you choose "Format," the program will proceed to make a filesystem.
20
21 Mkfs is not a well-behaved Macintosh application. It will not allow
22 any other tasks to run while it does (cooperative multitasking at its
23 best). When it's finished, the program will put up a dialog to ask if
24 you have scanned the output for any error messages. Usually there won't
25 have been any errors, but do scan the output to make sure. Simply click
26 on the "I Read It" button and the program will quit.
27
28 Repeat as necessary for any extra partitions that you wish to make
29 filesystems on. Note that you do _not_ need a filesystem on your swap
30 partition.
31
32 **** Installing the files
33
34 Double-click on the Install Utility icon to start it up. The installer
35 will present the same SCSI ID menu that mkfs did. Select the same SCSI
36 ID that you did for mkfs--i.e., the one you are installing onto.
37
38 If you are installing onto a single root partition, proceed to the
39 "Installation of base files" section, below.
40
41 If you have not created filesystems for the root, usr, and
42 any other filesystems, go back to "Preparing the filesystem(s),"
43 above.
44
45 When you started the installer, it mounted your root partition.
46 Just before it printed, "Mounting partition 'A' as /," it printed
47 lines like:
48 sd1 at scsi ID 5.
49 This means that the device for scsi ID 5 is sd1. The partitions
50 are signified by a trailing letter. For instance, sd1a would be
51 the root partition of the second scsi disk in the chain, and sd0g
52 would be the first usr partition on the first scsi disk.
53
54 You will need to know the proper device to mount the remaining
55 partition(s) by hand:
56
57 * Select "Build Devices" from the "File" menu.
58
59 * Select "Mini Shell" from the "File" menu.
60
61 * Mount the filesystems you wish with the command:
62 mount device path
63 For example, if you wish to mount a usr partition from
64 the first scsi disk, sd0, on /usr, you would type:
65 mount /dev/sd0g /usr
66
67 * Type "quit" after you have mounted all the filesystems.
68
69 Installation of base files:
70
71 Select the "Install" menu item from the "File" menu and install
72 base12, netbsd, and any other packages you wish to install at
73 this time (see the contents section for information about what's
74 in each package). The installer will print out the filename of
75 each file as it is installed, and will take quite some time to
76 install everything.
77
78 As is the case with Mkfs, this is not a particularly well-behaved
79 Macintosh application and the machine will be completely tied up
80 while the installation takes place.
81
82 At some point after installing the base package, select the "Build
83 Devices" option from the "File" menu. This will create a bunch of
84 device nodes for you and will create your initial /etc/fstab. The
85 installer program also has an option to give you a mini-shell. Do
86 not use this unless you know what you are doing.
87
88 **** Booting the system
89
90 Double-click on the NetBSD/mac68k Booter icon to start the application.
91 Check that the options in the Booting dialog look sane--especially the
92 SCSI ID. If not, correct them to your preference. When you are satisfied
93 with your choices, try booting NetBSD.
94
95 If you wish to save your preferences, choose the "Save Preferences"
96 option in the "File" menu, then quit the application and restart. Due
97 to a long-standing bug, the preferences will not be saved unless you
98 quit.
99
100 If the system does not come up, send mail to scottr (a] netbsd.org describing
101 your software, your hardware, and as complete a description of the
102 problem as you can.
103
104 If the system does come up, congratulations, you have successfully
105 installed NetBSD 1.2. When you reboot into NetBSD, you should log
106 in as "root" at the login prompt. There is no initial password, but
107 if you're using the machine in a networked environment, you should
108 create yourself an account and protect it and the "root" account with
109 good passwords.
110
111 Some of the files in the NetBSD 1.2 distribution might need to be
112 tailored for your site. In particular, the /etc/sendmail.cf file will
113 almost definitely need to be adjusted, and other files in /etc will
114 probably need to be modified, as well. If you are unfamiliar with
115 UN*X-like system administration, it's recommended that you buy a book
116 that discusses it.
117