install revision 1.14 1 1.14 perry $NetBSD: install,v 1.14 1998/01/09 18:45:44 perry Exp $
2 1.14 perry
3 1.1 chopps Installing NetBSD is a relatively complex process, but, if you have
4 1.1 chopps this document in hand and are careful to read and remember the
5 1.1 chopps information which is presented to you by the install program, it
6 1.1 chopps shouldn't be too much trouble.
7 1.1 chopps
8 1.1 chopps Before you begin, you must have already prepared your hard disk as
9 1.1 chopps detailed in the section on preparing your system for install.
10 1.1 chopps
11 1.1 chopps The following is a walk-through of the steps necessary to get NetBSD
12 1.1 chopps installed on your hard disk. If you wish to stop the installation,
13 1.1 chopps you may hit Control-C at any prompt, but if you do, you'll have to
14 1.1 chopps begin again from scratch.
15 1.1 chopps
16 1.10 mhitch Transfer the miniroot file system onto the hard disk partition
17 1.10 mhitch used by NetBSD for swapping, as described in the "Preparing
18 1.10 mhitch your System for NetBSD Installation" section above.
19 1.4 jtc
20 1.8 is * Booting from AmigaOS, using loadbsd:
21 1.8 is
22 1.4 jtc You then need to have "ixemul.library" in your LIBS: directory
23 1.4 jtc on AmigaDOS. You also need to have the "loadbsd" program
24 1.4 jtc in your command path. If AmigaDOS complains about loadbsd
25 1.4 jtc not being an executable file, be sure that the "Execute"
26 1.4 jtc protection bit is set. If not, set it with the command:
27 1.4 jtc Protect loadbsd add e
28 1.3 chopps
29 1.3 chopps Next you need to get yourself into NetBSD by loading the
30 1.3 chopps kernel from AmigaDOS with loadbsd like so:
31 1.1 chopps
32 1.1 chopps loadbsd -b netbsd
33 1.1 chopps
34 1.4 jtc If you have an AGA machine, and your monitor will handle
35 1.4 jtc the dblNTSC mode, you may also include the "-A" option to
36 1.4 jtc enable the dblNTSC display mode.
37 1.4 jtc
38 1.7 chopps If your machine has a fragmented physical memory space, as,
39 1.7 chopps e.g., DraCo machines, you should add the "-n2" option to
40 1.7 chopps enable the use of all memory segments.
41 1.7 chopps
42 1.8 is * Directly booting NetBSD, with boot blocks installed:
43 1.8 is
44 1.11 is [This description is for V40 (OS 3.1) ROMs. For older ROMs,
45 1.8 is there might be small differences. Check your AmigaOS documentation
46 1.8 is to learn about the exact procedure.]
47 1.8 is
48 1.10 mhitch [XXX should note someplace that using bootblocks may not work on some
49 1.10 mhitch systems, and may require a mountable filesystem on others?]
50 1.10 mhitch
51 1.8 is Reboot your machine, holding down both mouse buttons if you
52 1.8 is have a 2-button mouse, the outer mouse buttons if you have
53 1.8 is a 3-button mouse. On the DraCo, press the left mouse button
54 1.8 is instead, when the boot screen prompts you for it.
55 1.8 is
56 1.8 is From the boot menu, select "Boot Options".
57 1.8 is Select the swap partition with the miniroot, and then "ok".
58 1.8 is Select "Boot" now. The machine will boot the bootblock, which
59 1.8 is will prompt your for a command line. You have a few seconds time
60 1.8 is to change the default. Entering an empty line will accept the
61 1.8 is default.
62 1.8 is
63 1.8 is The bootblock uses command lines of the form:
64 1.8 is
65 1.8 is file options
66 1.8 is
67 1.8 is where file is the kernel file name on the partition where the
68 1.8 is boot block is on, and options are the same as with loadbsd.
69 1.8 is E.g., instead of "loadbsd -bsSn2 netbsd" use "netbsd -bsSn2".
70 1.8 is
71 1.8 is * Once your kernel boots:
72 1.8 is
73 1.1 chopps You should see the screen clear and some information about
74 1.3 chopps your system as the kernel configures the hardware. Note which
75 1.3 chopps hard disk device(s) are configured (sd0, sd1, etc). Then
76 1.3 chopps you will be prompted for a root device. At this time type
77 1.9 is 'sd0b', where '0' is the device which contains the swap
78 1.4 jtc partition you created during the hard disk preparation.
79 1.1 chopps
80 1.6 chopps If the system should hang after entering the root device, try
81 1.6 chopps again with
82 1.6 chopps
83 1.6 chopps loadbsd -I ff -b netbsd
84 1.6 chopps
85 1.6 chopps This disables synchronous transfer on all SCSI devices.
86 1.6 chopps
87 1.1 chopps The system should continue to boot. For now ignore WARNING:
88 1.10 mhitch messages about bad dates in clocks, and a warning about /etc/rc
89 1.10 mhitch not existing. Eventually you will be be asked to enter the
90 1.10 mhitch pathname of the shell, just hit return. After a short while,
91 1.10 mhitch you will be asked to select the type of your keyboard. After
92 1.10 mhitch you have entered a valid response here, the system asks you if
93 1.10 mhitch you want to install or upgrade your system. Since you are
94 1.10 mhitch reading the 'install' section, 'i' would be the proper
95 1.10 mhitch response here...
96 1.10 mhitch
97 1.10 mhitch The installer starts with a nice welcome messages. Read this
98 1.10 mhitch message carefully, it also informs you of the risks involved
99 1.10 mhitch in continuing! If you still want to go on, type 'y'. The
100 1.10 mhitch installer now continues by trying to figure out your disk
101 1.10 mhitch configuration. When it is done, you will be prompted to
102 1.10 mhitch select a root device from the list of disks it has found.
103 1.10 mhitch
104 1.10 mhitch You should know at this point that the disks are NOT numbered
105 1.10 mhitch according to their scsi-id! The NetBSD kernel numbers the scsi
106 1.10 mhitch drives (and other devices on the scsi bus) sequentially as it
107 1.10 mhitch finds them. The drive with the lowest scsi id will be called sd0,
108 1.10 mhitch the next one sd1, etc. Also, any Amiga internal IDE disk drives
109 1.10 mhitch will be configured as "SCSI" drives, and will be configured
110 1.10 mhitch before any 'real' SCSI drives (if any are present).
111 1.1 chopps
112 1.1 chopps YOU ARE NOW AT THE POINT OF NO RETURN. If you confirm that
113 1.1 chopps you want to install NetBSD, your hard drive will be modified,
114 1.2 chopps and perhaps its contents scrambled at the whim of the install
115 1.10 mhitch program. Type Control-C NOW if you don't want this.
116 1.1 chopps
117 1.10 mhitch At this time, you will need to tell the installer which partition
118 1.10 mhitch will be associated with the different filesystems.
119 1.1 chopps
120 1.10 mhitch The install program will now make the the file systems you
121 1.10 mhitch specified. There should be only one error per file system in
122 1.13 chopps this section of the installation. It will look like this:
123 1.1 chopps
124 1.1 chopps newfs: ioctl (WDINFO): Invalid argument
125 1.1 chopps newfs: /dev/rsd0a: can't rewrite disk label
126 1.1 chopps
127 1.1 chopps If there are any others, restart from the the beginning of
128 1.2 chopps the installation process. This error is ok as the Amiga
129 1.1 chopps does not write disklabels currently. You should expect
130 1.1 chopps this error whenever using newfs.
131 1.1 chopps
132 1.10 mhitch The install will now ask you want to configure any network
133 1.10 mhitch information. It ill ask for the machine's host name, domain
134 1.10 mhitch name, and other network configuration information.
135 1.10 mhitch
136 1.10 mhitch Since the network configuration might have lead to additional (nfs)
137 1.10 mhitch filesystem entries, you get another chance to modify your fstab.
138 1.10 mhitch
139 1.13 chopps You are finally at the point where some real data will be put on
140 1.10 mhitch your freshly made filesystems. Select the device type you wish
141 1.10 mhitch to install from and off you go....
142 1.10 mhitch Some notes:
143 1.10 mhitch - If you want to install from tape, please read the section
144 1.10 mhitch about how to create such a tape.
145 1.12 is - Some tapes (e.g. Archive Viper 150) refuse to operate with
146 1.12 is the default tape density ("nrst0"). Try "nrst0h",
147 1.12 is "nrst0m", or "nrst0l" instead.
148 1.10 mhitch - Install at least the base and etc sets.
149 1.10 mhitch - If you have to specify a path relative to the mount-point and
150 1.10 mhitch you need the mount-point itself, enter '.'.
151 1.10 mhitch
152 1.10 mhitch Next you will be asked to specify the timezone. Just select the
153 1.10 mhitch timezone you are in. The installer will make the correct setup
154 1.10 mhitch on your root filesystem. After the timezone-link is installed,
155 1.10 mhitch the installer will proceed by creating the device nodes on your
156 1.10 mhitch root filesystem.
157 1.10 mhitch
158 1.10 mhitch Be patient, this will take a while...
159 1.10 mhitch
160 1.10 mhitch Finally, the installer ask you if you want to install the bootblock
161 1.10 mhitch code on your root disk. This is a matter of personal choice and can
162 1.10 mhitch also be done from a running NetBSD system. See the 'installboot(8)'
163 1.10 mhitch manual page about how to do this.
164 1.10 mhitch
165 1.10 mhitch
166 1.10 mhitch Once the installer is done, halt the system with the "halt" command
167 1.10 mhitch (wait for "halted" to be displayed) and reboot. Then again boot
168 1.10 mhitch NetBSD this time with the command:
169 1.2 chopps
170 1.8 is loadbsd netbsd
171 1.8 is
172 1.8 is or select the root partition from the boot menu, and tell it to boot
173 1.1 chopps
174 1.8 is netbsd -s
175 1.1 chopps
176 1.7 chopps You need to do your final tweaks now. First mount your file systems
177 1.1 chopps like so:
178 1.1 chopps
179 1.1 chopps mount -av
180 1.1 chopps
181 1.1 chopps Your system is now complete but not completely configured; you
182 1.1 chopps should adjust the /etc/sendmail.cf file as necessary to suit your
183 1.13 chopps site. You should also examine and adjust the settings in /etc/rc.conf.
184 1.13 chopps You can use vi or ed to edit the files. If you installed the man pages
185 1.13 chopps you can type `man vi' or `man ed' for instructions on how to use these
186 1.13 chopps somewhat non-intuitive editors.
187 1.4 jtc
188 1.1 chopps Once you are done with the rest of configuration unmount your file
189 1.1 chopps systems and halt your system, then reboot:
190 1.1 chopps
191 1.1 chopps cd /
192 1.1 chopps umount -av
193 1.1 chopps halt
194 1.1 chopps <reboot>
195 1.1 chopps
196 1.1 chopps Finally you can now boot your system and it will be completely
197 1.1 chopps functional:
198 1.1 chopps
199 1.1 chopps loadbsd -a netbsd
200 1.1 chopps
201 1.1 chopps When it boots off of the hard drive, you will have a complete
202 1.1 chopps NetBSD system! CONGRATULATIONS! (You really deserve them!!!)
203