| @@ -1,41 +1,41 @@ | | | @@ -1,41 +1,41 @@ |
1 | .\" $NetBSD: boot.cfg.5,v 1.16 2009/09/04 10:34:16 wiz Exp $ | | 1 | .\" $NetBSD: boot.cfg.5,v 1.17 2009/09/13 18:39:20 jmcneill Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2007 Stephen Borrill | | 3 | .\" Copyright (c) 2007 Stephen Borrill |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. The name of the author may not be used to endorse or promote products | | 14 | .\" 3. The name of the author may not be used to endorse or promote products |
15 | .\" derived from this software without specific prior written permission | | 15 | .\" derived from this software without specific prior written permission |
16 | .\" | | 16 | .\" |
17 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | | 17 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
18 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | | 18 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
19 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | | 19 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
20 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | | 20 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
21 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | | 21 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
22 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | | 22 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
23 | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | | 23 | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | | 24 | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | .\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | | 25 | .\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | | 26 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | .\" | | 27 | .\" |
28 | .Dd September 4, 2009 | | 28 | .Dd September 13, 2009 |
29 | .Dt BOOT.CFG 5 | | 29 | .Dt BOOT.CFG 5 |
30 | .Os | | 30 | .Os |
31 | .Sh NAME | | 31 | .Sh NAME |
32 | .Nm boot.cfg | | 32 | .Nm boot.cfg |
33 | .Nd configuration file for /boot | | 33 | .Nd configuration file for /boot |
34 | .Sh DESCRIPTION | | 34 | .Sh DESCRIPTION |
35 | The file | | 35 | The file |
36 | .Pa /boot.cfg | | 36 | .Pa /boot.cfg |
37 | is used to alter the behaviour of the standard boot loader described in | | 37 | is used to alter the behaviour of the standard boot loader described in |
38 | .Xr boot 8 . | | 38 | .Xr boot 8 . |
39 | Configuration changes include setting the timeout, choosing a console device, | | 39 | Configuration changes include setting the timeout, choosing a console device, |
40 | altering the banner text and displaying a menu allowing boot commands to be | | 40 | altering the banner text and displaying a menu allowing boot commands to be |
41 | easily chosen. | | 41 | easily chosen. |
| @@ -83,27 +83,33 @@ Should be set to one of | | | @@ -83,27 +83,33 @@ Should be set to one of |
83 | .Sq a | | 83 | .Sq a |
84 | for automatic, | | 84 | for automatic, |
85 | .Sq l | | 85 | .Sq l |
86 | for letters and | | 86 | for letters and |
87 | .Sq n | | 87 | .Sq n |
88 | for numbers. | | 88 | for numbers. |
89 | If set to automatic (the default), menu options will be displayed numerically | | 89 | If set to automatic (the default), menu options will be displayed numerically |
90 | unless there are more than 9 options and the timeout is greater than zero. | | 90 | unless there are more than 9 options and the timeout is greater than zero. |
91 | If there are more than 9 options with a timeout greater than zero and | | 91 | If there are more than 9 options with a timeout greater than zero and |
92 | the format is set to number, only the first 9 options will be available. | | 92 | the format is set to number, only the first 9 options will be available. |
93 | .It Sy load | | 93 | .It Sy load |
94 | Used to load kernel modules, which will be passed on to the kernel for | | 94 | Used to load kernel modules, which will be passed on to the kernel for |
95 | initialization during early boot. | | 95 | initialization during early boot. |
96 | The argument is the complete path and file name of the module to be loaded. | | 96 | The argument is either the complete path and file name of the module to be |
| | | 97 | loaded, or a symbolic module name. |
| | | 98 | When the argument is not an absolute path, the boot loader will first |
| | | 99 | attempt to load |
| | | 100 | .Pa /stand/<machine>/<kernel_version>/modules/<name>/<name>.kmod . |
| | | 101 | If that file does not exist, it will then attempt to load |
| | | 102 | .Pa /<name> . |
97 | May be used as many times as needed. | | 103 | May be used as many times as needed. |
98 | .It Sy menu | | 104 | .It Sy menu |
99 | (may be present multiple times) | | 105 | (may be present multiple times) |
100 | Used to define a menu item to be displayed to the end-user at boot time | | 106 | Used to define a menu item to be displayed to the end-user at boot time |
101 | which allows a series of boot commands to be run without further typing. | | 107 | which allows a series of boot commands to be run without further typing. |
102 | The value consists of the required menu text, followed by a colon | | 108 | The value consists of the required menu text, followed by a colon |
103 | .Pq Sq \&: | | 109 | .Pq Sq \&: |
104 | and then the desired command(s). | | 110 | and then the desired command(s). |
105 | Multiple commands can be specified separated by a semi-colon. | | 111 | Multiple commands can be specified separated by a semi-colon. |
106 | If the specified menu text is empty | | 112 | If the specified menu text is empty |
107 | (the colon appears immediately after the equals sign), | | 113 | (the colon appears immediately after the equals sign), |
108 | then the displayed menu text is the same as the command. | | 114 | then the displayed menu text is the same as the command. |
109 | For example: | | 115 | For example: |