diff options
Diffstat (limited to 'static/freebsd/man5/boot.config.5 3.html')
| -rw-r--r-- | static/freebsd/man5/boot.config.5 3.html | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/static/freebsd/man5/boot.config.5 3.html b/static/freebsd/man5/boot.config.5 3.html new file mode 100644 index 00000000..4a9ec4ec --- /dev/null +++ b/static/freebsd/man5/boot.config.5 3.html @@ -0,0 +1,83 @@ +<table class="head"> + <tr> + <td class="head-ltitle">BOOT.CONFIG(5)</td> + <td class="head-vol">File Formats Manual</td> + <td class="head-rtitle">BOOT.CONFIG(5)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">boot.config</code> — + <span class="Nd">Configuration file for the legacy boot blocks</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The <code class="Nm">boot.config</code> file contains options for + the <span class="Ux">FreeBSD</span> boot block code.</p> +<p class="Pp">When the first- and second-stage <span class="Ux">FreeBSD</span> + boot loaders run, they search the “<code class="Li">a</code>” + slice of the boot partition for a <code class="Nm">boot.config</code> file + (as a result, slices which are missing an + “<code class="Li">a</code>” partition require user + intervention during the boot process). If the + <code class="Nm">boot.config</code> file is found, its contents are used as + the default configuration options for the boot block code and are echoed to + the system console.</p> +<p class="Pp">A valid format of this file is to put BIOS drive number, a + controller type, a unit number, a partition, a kernel file name, and any + other valid <a class="Xr">boot(8)</a> option on a single line, as it is done + at the “<code class="Li">boot:</code>” prompt.</p> +<p class="Pp">The options related to the boot image selection described below + and all the other options available for <code class="Nm">boot.config</code> + are documented in detail in the <a class="Xr">boot(8)</a> manual page.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1> +<dl class="Bl-tag Bl-compact"> + <dt><span class="Pa">/boot.config</span></dt> + <dd>parameters for the boot blocks (optional)</dd> + <dt><span class="Pa">/boot/config</span></dt> + <dd>alternate location for boot config information</dd> +</dl> +</section> +<section class="Sh"> +<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1> +<p class="Pp">The command:</p> +<div class="Bd Pp Bd-indent Li"> +<pre># echo "-P" > /boot.config</pre> +</div> +<p class="Pp">will activate the serial console of + <span class="Ux">FreeBSD</span> if no keyboard is present, otherwise video + console will be used.</p> +<p class="Pp">The command:</p> +<div class="Bd Pp Bd-indent Li"> +<pre># echo "1:ad(1,a)/boot/loader" > /boot.config</pre> +</div> +<p class="Pp">will instruct the second stage of <a class="Xr">boot(8)</a> on the + first disk to boot with the third <a class="Xr">boot(8)</a> stage from the + second disk.</p> +<p class="Pp">The command:</p> +<div class="Bd Pp Bd-indent Li"> +<pre># echo "1:ad(1,a)/boot/loader -P" > /boot.config</pre> +</div> +<p class="Pp">will do both of the above.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">boot(8)</a>, <a class="Xr">loader(8)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1> +<p class="Pp">This manual page was written by <span class="An">Daniel + Gerzo</span> + <<a class="Mt" href="mailto:danger@FreeBSD.org">danger@FreeBSD.org</a>>.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">November 14, 2025</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
