summaryrefslogtreecommitdiff
path: root/static/freebsd/man5/boot.config.5 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man5/boot.config.5 3.html')
-rw-r--r--static/freebsd/man5/boot.config.5 3.html83
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> &#x2014;
+ <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 &#x201C;<code class="Li">a</code>&#x201D;
+ slice of the boot partition for a <code class="Nm">boot.config</code> file
+ (as a result, slices which are missing an
+ &#x201C;<code class="Li">a</code>&#x201D; 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 &#x201C;<code class="Li">boot:</code>&#x201D; 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 &quot;-P&quot; &gt; /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 &quot;1:ad(1,a)/boot/loader&quot; &gt; /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 &quot;1:ad(1,a)/boot/loader -P&quot; &gt; /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>
+ &lt;<a class="Mt" href="mailto:danger@FreeBSD.org">danger@FreeBSD.org</a>&gt;.</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>