Add 20 indexterms.

This commit is contained in:
Murray Stokely 2001-06-29 18:31:16 +00:00
parent 7a626c12b0
commit 48ef9ff6d6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9764

View file

@ -1,7 +1,7 @@
<!--
The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/boot/chapter.sgml,v 1.10 2000/12/15 21:52:34 jim Exp $
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/boot/chapter.sgml,v 1.11 2001/06/23 06:57:01 dd Exp $
-->
<chapter id="boot">
@ -9,7 +9,9 @@
<sect1 id="boot-synopsis">
<title>Synopsis</title>
<indexterm><primary>booting</primary></indexterm>
<indexterm><primary>bootstrap</primary></indexterm>
<para>FreeBSD uses a three-stage bootstrap by default, which
basically entails three programs which call each
other in order (two <link linkend="boot-blocks">boot
@ -18,6 +20,9 @@
previous program's understanding and provide increasing amounts
of sophistication.</para>
<indexterm><primary>kernel</primary></indexterm>
<indexterm><primary><command>init</command></primary></indexterm>
<para>The kernel is then started, which will then probe for devices
and initialize them for use. Once the kernel boot
process is finished, the kernel passes control to the user process
@ -42,6 +47,8 @@
programs to determine what configuration details were
determined.</para>
<indexterm><primary>BIOS</primary></indexterm>
<indexterm><primary>CMOS</primary></indexterm>
<para>In standard personal computers, this involves the BIOS
(which oversees the bootstrap), and CMOS (which stores
configuration). BIOS and CMOS understand disks, and also
@ -59,7 +66,8 @@
<sect2 id="boot-boot0">
<title>boot0</title>
<indexterm><primary>Master Boot Record (MBR)</primary></indexterm>
<para>There is actually a preceding bootblock, named boot0,
which lives on the <firstterm>Master Boot
Record</firstterm>, the special part of the disk that the
@ -126,6 +134,7 @@ boot:</screen>
<sect1 id="boot-loader">
<title>Loader: Bootstrap Stage Three</title>
<indexterm><primary>boot-loader</primary></indexterm>
<para>The loader is the final stage of the three-stage
bootstrap, and is located on the filesystem, usually as
<filename>/boot/loader</filename>.</para>
@ -151,6 +160,8 @@ boot:</screen>
booting from. It will set variables accordingly, and then
the interpreter is started, and the easy-to-use commands are
explained to it.</para>
<indexterm><primary>loader</primary></indexterm>
<indexterm><primary>loader configuration</primary</indexterm>
<para>loader will then read
<filename>/boot/loader.rc</filename>, which by default reads
@ -320,6 +331,7 @@ boot:</screen>
<itemizedlist>
<listitem>
<indexterm><primary>single-user mode</primary></indexterm>
<para>To simply boot your usual kernel, but in single-user
mode:</para>
@ -329,6 +341,7 @@ boot:</screen>
<listitem>
<para>To unload your usual kernel and modules, and then
load just your old (or another) kernel:</para>
<indexterm><primary>kernel.old</primary></indexterm>
<screen><userinput>unload</userinput>
<userinput>load <replaceable>kernel.old</replaceable></userinput></screen>
@ -363,6 +376,10 @@ boot:</screen>
<sect1 id="boot-kernel">
<title>Kernel Interaction During Boot</title>
<indexterm>
<primary>kernel</primary>
<secondary>boot interaction</secondary>
</indexterm>
<para>Once the kernel is loaded by either <link
linkend="boot-loader">loader</link> (as usual) or <link
@ -371,6 +388,10 @@ boot:</screen>
necessary.</para>
<sect2 id="boot-kernel-bootflags">
<indexterm>
<primary>kernel</primary>
<secondary>bootflags</secondary>
</indexterm>
<title>Kernel Boot Flags</title>
<para>Here are the more common boot flags:</para>
@ -433,6 +454,7 @@ boot:</screen>
</sect1>
<sect1 id="boot-init">
<indexterm><primary>init</primary></indexterm>
<title>Init: Process Control Initialization</title>
<para>Once the kernel has finished booting, it passes control to
@ -455,6 +477,8 @@ boot:</screen>
<sect2 id="boot-singleuser">
<title>Single-User Mode</title>
<indexterm><primary>single-user mode</primary></indexterm>
<indexterm><primary>console</primary></indexterm>
<para>This mode can be reached through the <link
linkend="boot-autoreboot">automatic reboot
@ -497,6 +521,7 @@ console none unknown off insecure</programlisting>
<sect2 id="boot-multiuser">
<title>Multi-User Mode</title>
<indexterm><primary>multi-user mode</primary></indexterm>
<para>If <command>init</command> finds your filesystems to be
in order, or once the user has finished in <link
@ -505,6 +530,7 @@ console none unknown off insecure</programlisting>
resource configuration of the system.</para>
<sect3 id="boot-rc">
<indexterm><primary>rc files</primary></indexterm>
<title>Resource Configuration (rc)</title>
<para>The resource configuration system reads in
@ -527,6 +553,7 @@ console none unknown off insecure</programlisting>
<sect1 id="boot-shutdown">
<title>Shutdown Sequence</title>
<indexterm><primary>shutdown</primary></indexterm>
<para>Upon controlled shutdown, via <command>shutdown</command>,
<command>init</command> will attempt to run the script