Lines Matching defs:THE
5 # Copyright (c) 1996 The NetBSD Foundation, Inc.
8 # This code is derived from software contributed to The NetBSD Foundation
12 # modification, are permitted provided that the following conditions
14 # 1. Redistributions of source code must retain the above copyright
15 # notice, this list of conditions and the following disclaimer.
16 # 2. Redistributions in binary form must reproduce the above copyright
17 # notice, this list of conditions and the following disclaimer in the
18 # documentation and/or other materials provided with the distribution.
20 # THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
22 # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
29 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
53 # /tmp is the mount point
54 # 2048 is the size in DEV_BIZE blocks
60 FATAL ERROR: Can't mount the memory filesystem.
87 # return an expression describing the valid partition id's
92 # $1 is the root disk
110 # $1 is the disk to check
125 # $1 is the disk to label
127 # Name the disks we install in the temporary fstab.
135 # Get geometry information from the user.
140 is not available, use the information provided in your disk's manual.
141 Please note that the geometry printed at boot time is preferred.
143 IMPORTANT NOTE: due to a limitation in the disklabel(8) program, the
144 number of cylinders on the disk will be increased by 1 so that the initial
145 label can be placed on disk for editing. When the disklabel editor appears,
146 make absolutely certain you subtract 1 from the total number of cylinders,
147 and adjust the size of partition 'c' such that:
151 Note that the disklabel editor will be run twice; once to set the size of
152 partition 'c' and correct the geometry, and again so that you may correctly
153 edit the partition map. This is to work around the afore mentioned
158 # Give the opportunity to review the boot messages.
203 # What we have is a 'c' partition with the total number of
215 # this initial label by opening the 'c' partition of the disk
216 # and using the '-r' flag for disklabel(8). However, because
217 # of limitations in disklabel(8), we've had to fudge the number
219 # 'c' running past the end of the disk, which can be quite
221 # an 'a' partition, which is the minimum needed to open the disk
222 # so that we can perform the DIOCWDLABEL ioctl. So, once the
223 # initial label is installed, we open the 'a' partition so that
224 # we can fix up the number of cylinders and make the size of
226 # After that's done, we re-open 'c' and let the user actually
227 # edit the partition table. It's horrible, I know. Bleh.
238 echo "The disklabel editor will now start. During this phase, you"
239 echo "must reset the 'cylinders' value to ${_cylinders}, and adjust"
240 echo "the size of partition 'c' to ${_new_c_size}. Do not modify"
241 echo "the partition map at this time. You will have the opportunity"
257 Now that you have corrected the geometry of your disk, you may edit the
258 partition map. Don't forget to fill in the fsize (frag size), bsize
275 # $1 is the disk to label
277 # We look though the boot messages attempting to find
278 # the model number for the provided disk.
291 # Peer through /etc/disktab to see if the disk has a "default"
294 # on the disk.
303 # We've found the defaults. Now use them to place an initial
304 # disklabel on the disk.
306 # XXX stupidity on the part of disklabel semantics?
333 # $1 is the disk to label
335 # Check to see if there is a disklabel present on the device.
341 # Go ahead and just edit the disklabel.
366 # Check to see if installing the default was
367 # successful. If so, go ahead and pop into the
376 # the disklabel editor.
387 # $1 is the root disk
390 # disklabel prints the error message.
396 FATAL ERROR: There is no disklabel present on the root disk! You must
397 label the disk with SYS_INST before continuing.
406 FATAL ERROR: The disklabel on the root disk is corrupted! You must
407 re-label the disk with SYS_INST before continuing.
417 # Give the user the opportinuty to edit the root disklabel.
420 You have already placed a disklabel onto the target root disk.
421 However, due to the limitations of the standalone program used
423 You will be given the opporunity to do that now. Note that you may
424 not change the size or location of any presently open partition.
427 echo -n "Do you wish to edit the root disklabel? [y] "
441 You will now be given the opportunity to place disklabels on any additional
460 The INSTALL kernel from the miniroot has been copied to your root disk.
461 It has minimal facilities enabled. The first thing you should do after
463 the GENERIC kernel).
471 # Note, while they might not seem machine-dependent, the
472 # welcome banner and the punt message may contain information
473 # and/or instructions specific to the type of machine.
478 echo "Welcome to the NetBSD/${MACHINE} ${RELEASE} installation program."
483 probably be useful to have your disk's hardware manual, the installation
490 is absolutely essential. The kernel will attempt to display geometry
497 to make sure your hard drive is backed up before beginning the
500 Default answers are displayed in brackets after the questions.
502 prompt, you may have to hit return. Also, quitting in the middle of
512 OK, then. Enter 'halt' at the prompt to halt the machine. Once the
513 machine has halted, power-cycle the system to load new boot code.
521 CONGRATULATIONS! You have successfully installed NetBSD! To boot the
522 installed system, enter halt at the command prompt. Once the system has
523 halted, power-cycle the machine in order to load new boot code. Make sure
524 you boot from the root disk.