White space fix only. Translators can ignore.

Sponsored by:	iXsystems
This commit is contained in:
Dru Lavigne 2014-04-18 20:31:04 +00:00
parent 7db46ccbc1
commit 6591696d39
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44609

View file

@ -26,10 +26,10 @@
different versions of the same operating system, or a different different versions of the same operating system, or a different
installed kernel.</para> installed kernel.</para>
<para>This chapter details the configuration options that can <para>This chapter details the configuration options that can be
be set. It demonstrates how to customize the &os; boot set. It demonstrates how to customize the &os; boot process,
process, including everything that happens until the &os; kernel including everything that happens until the &os; kernel has
has started, probed for devices, and started &man.init.8;. This started, probed for devices, and started &man.init.8;. This
occurs when the text color of the boot messages changes from occurs when the text color of the boot messages changes from
bright white to grey.</para> bright white to grey.</para>
@ -63,8 +63,8 @@
<para>Turning on a computer and starting the operating system <para>Turning on a computer and starting the operating system
poses an interesting dilemma. By definition, the computer does poses an interesting dilemma. By definition, the computer does
not know how to do anything until the operating system is not know how to do anything until the operating system is
started. This includes running programs from the disk. If started. This includes running programs from the disk. If the
the computer can not run a program from the disk without the computer can not run a program from the disk without the
operating system, and the operating system programs are on the operating system, and the operating system programs are on the
disk, how is the operating system started?</para> disk, how is the operating system started?</para>
@ -129,16 +129,16 @@
systems so that the user can choose which one to boot from. Two systems so that the user can choose which one to boot from. Two
boot managers are discussed in the next subsection.</para> boot managers are discussed in the next subsection.</para>
<para>The remainder of the &os; bootstrap system is divided <para>The remainder of the &os; bootstrap system is divided into
into three stages. The first stage is run by the three stages. The first stage is run by the
<acronym>MBR</acronym>, which knows just enough to get the <acronym>MBR</acronym>, which knows just enough to get the
computer into a specific state and run the second stage. The computer into a specific state and run the second stage. The
second stage can do a little bit more, before running the second stage can do a little bit more, before running the third
third stage. The third stage finishes the task of loading the stage. The third stage finishes the task of loading the
operating system. The work is split into three stages because operating system. The work is split into three stages because
PC standards put limits on the size of the programs that can PC standards put limits on the size of the programs that can be
be run at stages one and two. Chaining the tasks together run at stages one and two. Chaining the tasks together allows
allows &os; to provide a more flexible loader.</para> &os; to provide a more flexible loader.</para>
<indexterm><primary>kernel</primary></indexterm> <indexterm><primary>kernel</primary></indexterm>
<indexterm><primary>&man.init.8;</primary></indexterm> <indexterm><primary>&man.init.8;</primary></indexterm>
@ -158,85 +158,83 @@
<indexterm><primary>Boot Manager</primary></indexterm> <indexterm><primary>Boot Manager</primary></indexterm>
<indexterm><primary>Master Boot Record <indexterm><primary>Master Boot Record
(<acronym>MBR</acronym>)</primary></indexterm> (<acronym>MBR</acronym>)</primary></indexterm>
<para>The code in the <acronym>MBR</acronym> or boot manager is <para>The code in the <acronym>MBR</acronym> or boot manager is
sometimes referred to as <emphasis>stage zero</emphasis> of sometimes referred to as <emphasis>stage zero</emphasis> of the
the boot process. This section discusses two boot managers: boot process. This section discusses two boot managers:
<application>boot0</application> and <application>boot0</application> and
<application>LILO</application>.</para> <application>LILO</application>.</para>
<formalpara> <formalpara>
<title>The <application>boot0</application> Boot <title>The <application>boot0</application> Boot
Manager:</title> Manager:</title>
<para>The <acronym>MBR</acronym> installed by &os;'s installer <para>The <acronym>MBR</acronym> installed by &os;'s installer
or &man.boot0cfg.8; is based on or &man.boot0cfg.8; is based on
<filename>/boot/boot0</filename>. The size and capability <filename>/boot/boot0</filename>. The size and capability of
of <application>boot0</application> is restricted to 446 <application>boot0</application> is restricted to 446 bytes
bytes due to the slice table and <literal>0x55AA</literal> due to the slice table and <literal>0x55AA</literal>
identifier at the end of the <acronym>MBR</acronym>. If identifier at the end of the <acronym>MBR</acronym>. If
<application>boot0</application> and multiple operating <application>boot0</application> and multiple operating
systems are installed, a message similar to this example systems are installed, a message similar to this example will
will be displayed at boot time:</para> be displayed at boot time:</para>
</formalpara> </formalpara>
<example xml:id="boot-boot0-example"> <example xml:id="boot-boot0-example">
<title><filename>boot0</filename> Screenshot</title> <title><filename>boot0</filename> Screenshot</title>
<screen>F1 Win <screen>F1 Win
F2 FreeBSD F2 FreeBSD
Default: F2</screen> Default: F2</screen>
</example> </example>
<para>Other operating systems, in particular &windows;, will <para>Other operating systems, in particular &windows;, will
overwrite an existing <acronym>MBR</acronym> if they are overwrite an existing <acronym>MBR</acronym> if they are
installed after &os;. If this happens, or to replace the installed after &os;. If this happens, or to replace the
existing <acronym>MBR</acronym> with the &os; existing <acronym>MBR</acronym> with the &os;
<acronym>MBR</acronym>, use the following command:</para> <acronym>MBR</acronym>, use the following command:</para>
<screen>&prompt.root; <userinput>fdisk -B -b /boot/boot0 <replaceable>device</replaceable></userinput></screen> <screen>&prompt.root; <userinput>fdisk -B -b /boot/boot0 <replaceable>device</replaceable></userinput></screen>
<para>where <replaceable>device</replaceable> is the boot disk, <para>where <replaceable>device</replaceable> is the boot disk,
such as <filename>ad0</filename> for the first such as <filename>ad0</filename> for the first
<acronym>IDE</acronym> disk, <filename>ad2</filename> <acronym>IDE</acronym> disk, <filename>ad2</filename> for the
for the first <acronym>IDE</acronym> disk on a second first <acronym>IDE</acronym> disk on a second
<acronym>IDE</acronym> controller, or <acronym>IDE</acronym> controller, or <filename>da0</filename>
<filename>da0</filename> for the first <acronym>SCSI</acronym> disk. To create a
for the first <acronym>SCSI</acronym> disk. To create a custom configuration of the <acronym>MBR</acronym>, refer to
custom configuration of the <acronym>MBR</acronym>, refer to &man.boot0cfg.8;.</para>
&man.boot0cfg.8;.</para>
<formalpara> <formalpara>
<title>The LILO Boot Manager:</title> <title>The LILO Boot Manager:</title>
<para>To install this boot manager so it will also boot <para>To install this boot manager so it will also boot &os;,
&os;, boot into Linux and add the following to the existing boot into Linux and add the following to the existing
<filename>/etc/lilo.conf</filename> configuration:</para> <filename>/etc/lilo.conf</filename> configuration:</para>
</formalpara> </formalpara>
<programlisting>other=/dev/hdXY <programlisting>other=/dev/hdXY
table=/dev/hdX table=/dev/hdX
loader=/boot/chain.b loader=/boot/chain.b
label=FreeBSD</programlisting> label=FreeBSD</programlisting>
<para>Specify &os;'s primary partition and drive using Linux <para>Specify &os;'s primary partition and drive using Linux
specifiers, replacing <replaceable>X</replaceable> with the specifiers, replacing <replaceable>X</replaceable> with the
Linux drive letter and <replaceable>Y</replaceable> with the Linux drive letter and <replaceable>Y</replaceable> with the
Linux primary partition number. For a <acronym>SCSI</acronym> Linux primary partition number. For a <acronym>SCSI</acronym>
drive, change <replaceable>/dev/hd</replaceable> to drive, change <replaceable>/dev/hd</replaceable> to
<replaceable>/dev/sd</replaceable>. The <replaceable>/dev/sd</replaceable>. The
<option>loader=/boot/chain.b</option> line can be omitted if <option>loader=/boot/chain.b</option> line can be omitted if
both operating systems are installed on the same drive. Next, both operating systems are installed on the same drive. Next,
run <command>/sbin/lilo&nbsp;-v</command> to commit the new run <command>/sbin/lilo&nbsp;-v</command> to commit the new
changes. Verify these are correct by checking the screen changes. Verify these are correct by checking the screen
messages.</para> messages.</para>
<sect2 xml:id="boot-boot1"> <sect2 xml:id="boot-boot1">
<title>Stage One and Stage <title>Stage One and Stage Two</title>
Two</title>
<para>Conceptually, the first and second stages are part of the <para>Conceptually, the first and second stages are part of the
same program, on the same area of the disk. Because of space same program, on the same area of the disk. Because of space
@ -314,30 +312,30 @@ boot:</screen>
more powerful interpreter which has a more complex command more powerful interpreter which has a more complex command
set.</para> set.</para>
<para>During initialization, the loader will probe for a <para>During initialization, the loader will probe for a
console and for disks, and figure out which disk it is console and for disks, and figure out which disk it is
booting from. It will set variables accordingly, and an booting from. It will set variables accordingly, and an
interpreter is started where user commands can be passed interpreter is started where user commands can be passed from
from a script or interactively.</para> a script or interactively.</para>
<indexterm><primary>loader</primary></indexterm> <indexterm><primary>loader</primary></indexterm>
<indexterm><primary>loader configuration</primary></indexterm> <indexterm><primary>loader configuration</primary></indexterm>
<para>The loader will then read <para>The loader will then read
<filename>/boot/loader.rc</filename>, which by default reads <filename>/boot/loader.rc</filename>, which by default reads
in <filename>/boot/defaults/loader.conf</filename> which in <filename>/boot/defaults/loader.conf</filename> which sets
sets reasonable defaults for variables and reads reasonable defaults for variables and reads
<filename>/boot/loader.conf</filename> for local changes to <filename>/boot/loader.conf</filename> for local changes to
those variables. <filename>loader.rc</filename> then acts those variables. <filename>loader.rc</filename> then acts on
on these variables, loading whichever modules and kernel are these variables, loading whichever modules and kernel are
selected.</para> selected.</para>
<para>Finally, by default, the loader issues a 10 second wait <para>Finally, by default, the loader issues a 10 second wait
for key presses, and boots the kernel if it is not for key presses, and boots the kernel if it is not
interrupted. If interrupted, the user is presented with a interrupted. If interrupted, the user is presented with a
prompt which understands the command set, where the user may prompt which understands the command set, where the user may
adjust variables, unload all modules, load modules, and then adjust variables, unload all modules, load modules, and then
finally boot or reboot.</para> finally boot or reboot.</para>
<sect3 xml:id="boot-loader-commands"> <sect3 xml:id="boot-loader-commands">
<title>Loader Built-In Commands</title> <title>Loader Built-In Commands</title>
@ -539,19 +537,17 @@ boot:</screen>
</sect3> </sect3>
</sect2> </sect2>
<sect2 xml:id="boot-kernel"> <sect2 xml:id="boot-kernel">
<title>Kernel Interaction During Boot</title> <title>Kernel Interaction During Boot</title>
<indexterm> <indexterm>
<primary>kernel</primary> <primary>kernel</primary>
<secondary>boot interaction</secondary> <secondary>boot interaction</secondary>
</indexterm> </indexterm>
<para>Once the kernel is loaded by either the default loader <para>Once the kernel is loaded by either the default loader or
or by boot2, by boot2, which bypasses the loader, it examines any boot
which bypasses the loader, it flags and adjusts its behavior as necessary.</para>
examines any boot flags and adjusts its behavior as
necessary.</para>
<indexterm> <indexterm>
<primary>kernel</primary> <primary>kernel</primary>
@ -610,15 +606,16 @@ boot:</screen>
</note> </note>
</sect2> </sect2>
<!-- <sect2 id="boot-kernel-userconfig"> <!--
<sect2 id="boot-kernel-userconfig">
<title>UserConfig: the Boot-time Kernel Configurator</title> <title>UserConfig: the Boot-time Kernel Configurator</title>
<para> </para> <para> </para>
</sect2> --> </sect2> -->
<sect2 xml:id="boot-splash"> <sect2 xml:id="boot-splash">
<info> <info>
<title>Configuring Boot Time Splash Screens</title> <title>Configuring Boot Time Splash Screens</title>
<authorgroup> <authorgroup>
<author> <author>
@ -629,150 +626,146 @@ boot:</screen>
<contrib>Contributed by </contrib> <contrib>Contributed by </contrib>
</author> </author>
</authorgroup> </authorgroup>
</info> </info>
<para>The splash screen creates an alternate boot screen. The <para>The splash screen creates an alternate boot screen. The
splash screen hides all the boot probe messages and service splash screen hides all the boot probe messages and service
startup messages before displaying either a command line or startup messages before displaying either a command line or
graphical login prompt.</para> graphical login prompt.</para>
<para>There are two basic environments available in &os;. The <para>There are two basic environments available in &os;. The
first is the default legacy virtual console command line first is the default legacy virtual console command line
environment. After the system finishes booting, a console environment. After the system finishes booting, a console
login prompt is presented. The second environment is the login prompt is presented. The second environment is the
graphical environment as described in <xref linkend="x11"/>. graphical environment as described in <xref linkend="x11"/>.
Refer to that chapter for more information on how to install Refer to that chapter for more information on how to install
and configure a graphical display manager and a graphical and configure a graphical display manager and a graphical
login manager.</para> login manager.</para>
<para>The splash screen function supports 256-colors in the <para>The splash screen function supports 256-colors in the
bitmap (<filename>.bmp</filename>), ZSoft bitmap (<filename>.bmp</filename>), ZSoft
<acronym>PCX</acronym> (<filename>.pcx</filename>), or <acronym>PCX</acronym> (<filename>.pcx</filename>), or
TheDraw (<filename>.bin</filename>) formats. The splash TheDraw (<filename>.bin</filename>) formats. The splash image
image files must have a resolution of 320 by 200 pixels or files must have a resolution of 320 by 200 pixels or less in
less in order to work on standard VGA adapters.</para> order to work on standard VGA adapters.</para>
<para>To use larger images, up to the maximum resolution of <para>To use larger images, up to the maximum resolution of
1024 by 768 pixels, load the <acronym>VESA</acronym> 1024 by 768 pixels, load the <acronym>VESA</acronym> module
module during system boot. For a custom kernel, as during system boot. For a custom kernel, as described in
described in <xref linkend="kernelconfig"/>, include the <xref linkend="kernelconfig"/>, include the
<literal>VESA</literal> kernel configuration option. <literal>VESA</literal> kernel configuration option. Loading
Loading <acronym>VESA</acronym> support provides the <acronym>VESA</acronym> support provides the ability to
ability to display a splash screen image that fills the display a splash screen image that fills the whole display
whole display screen.</para> screen.</para>
<para>While the splash screen is being displayed during the <para>While the splash screen is being displayed during the
booting process, it can be turned off any time by hitting booting process, it can be turned off any time by hitting any
any key on the keyboard.</para> key on the keyboard.</para>
<para>The splash screen also defaults to being a screen <para>The splash screen also defaults to being a screen saver
saver outside. After a time period of non-use, the splash outside. After a time period of non-use, the splash screen
screen will be displayed and will cycle through steps of will be displayed and will cycle through steps of changing
changing intensity of the image, from bright to very dark intensity of the image, from bright to very dark and over
and over again. The configuration of the splash screen again. The configuration of the splash screen saver can be
saver can be overridden by adding a overridden by adding a <literal>saver=</literal> line to
<literal>saver=</literal> line to <filename>/etc/rc.conf</filename>. Several built-in screen
<filename>/etc/rc.conf</filename>. Several built-in savers are available and described in &man.splash.4;. The
screen savers are available and described in <literal>saver=</literal> option only applies to virtual
&man.splash.4;. The <literal>saver=</literal> option only consoles and has no effect on graphical display
applies to virtual consoles and has no effect on graphical managers.</para>
display managers.</para>
<para>A few boot loader messages, including the boot options <para>A few boot loader messages, including the boot options
menu and a timed wait count down prompt, are displayed at menu and a timed wait count down prompt, are displayed at
boot time, even when the splash screen is enabled.</para> boot time, even when the splash screen is enabled.</para>
<para>Sample splash screen files can be downloaded from the <para>Sample splash screen files can be downloaded from the
gallery at <link gallery at <link
xlink:href="http://artwork.freebsdgr.org/node/3/">http://artwork.freebsdgr.org</link>. xlink:href="http://artwork.freebsdgr.org/node/3/">http://artwork.freebsdgr.org</link>.
By installing the By installing the
<package>sysutils/bsd-splash-changer</package> port, <package>sysutils/bsd-splash-changer</package> port, splash
splash images can be chosen from a collection randomly at images can be chosen from a collection randomly at each
each boot.</para> boot.</para>
<para>The splash screen <filename>.bmp</filename>, <para>The splash screen <filename>.bmp</filename>,
<filename>.pcx</filename>, or <filename>.bin</filename> <filename>.pcx</filename>, or <filename>.bin</filename> image
image has to be placed on the root partition, for example has to be placed on the root partition, for example in
in <filename>/boot</filename>.</para> <filename>/boot</filename>.</para>
<para>For the default boot display resolution of 256-colors <para>For the default boot display resolution of 256-colors and
and 320 by 200 pixels or less, edit 320 by 200 pixels or less, edit
<filename>/boot/loader.conf</filename> so it contains the <filename>/boot/loader.conf</filename> so it contains the
following:</para> following:</para>
<programlisting>splash_bmp_load="YES" <programlisting>splash_bmp_load="YES"
bitmap_load="YES" bitmap_load="YES"
bitmap_name="<replaceable>/boot/splash.bmp</replaceable>"</programlisting> bitmap_name="<replaceable>/boot/splash.bmp</replaceable>"</programlisting>
<para>For larger video resolutions up to the maximum of 1024 <para>For larger video resolutions up to the maximum of 1024 by
by 768 pixels, edit 768 pixels, edit <filename>/boot/loader.conf</filename>, so it
<filename>/boot/loader.conf</filename>, so it contains the contains the following:</para>
following:</para>
<programlisting>vesa_load="YES" <programlisting>vesa_load="YES"
splash_bmp_load="YES" splash_bmp_load="YES"
bitmap_load="YES" bitmap_load="YES"
bitmap_name="<replaceable>/boot/splash.bmp</replaceable>"</programlisting> bitmap_name="<replaceable>/boot/splash.bmp</replaceable>"</programlisting>
<para>This example assumes that <para>This example assumes that
<filename><replaceable>/boot/splash.bmp</replaceable></filename> <filename><replaceable>/boot/splash.bmp</replaceable></filename>
is used for the splash screen. To use a is used for the splash screen. To use a
<acronym>PCX</acronym> file, use the following statements, <acronym>PCX</acronym> file, use the following statements,
plus the <literal>vesa_load="YES"</literal> line, plus the <literal>vesa_load="YES"</literal> line, depending on
depending on the resolution:</para> the resolution:</para>
<programlisting>splash_pcx_load="YES" <programlisting>splash_pcx_load="YES"
bitmap_load="YES" bitmap_load="YES"
bitmap_name="<replaceable>/boot/splash.pcx</replaceable>"</programlisting> bitmap_name="<replaceable>/boot/splash.pcx</replaceable>"</programlisting>
<para>Beginning with &os;&nbsp;8.3, another option is to use <para>Beginning with &os;&nbsp;8.3, another option is to use
ASCII art in <link ASCII art in <link
xlink:href="https://en.wikipedia.org/wiki/TheDraw">TheDraw</link> xlink:href="https://en.wikipedia.org/wiki/TheDraw">TheDraw</link>
format.</para> format.</para>
<programlisting>splash_txt="YES" <programlisting>splash_txt="YES"
bitmap_load="YES" bitmap_load="YES"
bitmap_name="<replaceable>/boot/splash.bin</replaceable>"</programlisting> bitmap_name="<replaceable>/boot/splash.bin</replaceable>"</programlisting>
<para>The file name is not restricted to <para>The file name is not restricted to <quote>splash</quote>
<quote>splash</quote> as shown in the above example. It as shown in the above example. It can be anything as long as
can be anything as long as it is one of the supported it is one of the supported types such as,
types such as, <filename><replaceable>splash_640x400</replaceable>.bmp</filename>
<filename><replaceable>splash_640x400</replaceable>.bmp</filename> or
or <filename><replaceable>bluewave</replaceable>.pcx</filename>.</para>
<filename><replaceable>bluewave</replaceable>.pcx</filename>.</para>
<para>Other interesting <filename>loader.conf</filename> <para>Other interesting <filename>loader.conf</filename> options
options include:</para> include:</para>
<variablelist> <variablelist>
<varlistentry> <varlistentry><term><literal>beastie_disable="YES"</literal></term>
<term><literal>beastie_disable="YES"</literal></term>
<listitem> <listitem>
<para>This will stop the boot options menu from being <para>This will stop the boot options menu from being
displayed, but the timed wait count down prompt will displayed, but the timed wait count down prompt will
still be present. Even with the display of the boot still be present. Even with the display of the boot
options menu disabled, entering an option selection options menu disabled, entering an option selection at
at the timed wait count down prompt will enact the the timed wait count down prompt will enact the
corresponding boot option.</para> corresponding boot option.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>loader_logo="beastie"</literal></term> <term><literal>loader_logo="beastie"</literal></term>
<listitem> <listitem>
<para>This will replace the default words <para>This will replace the default words
<quote>&os;</quote>, which are displayed to the <quote>&os;</quote>, which are displayed to the right of
right of the boot options menu with the colored the boot options menu with the colored beastie
beastie logo.</para> logo.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
<para>For more information, refer to &man.splash.4;, <para>For more information, refer to &man.splash.4;,
&man.loader.conf.5;, and &man.vga.4;.</para> &man.loader.conf.5;, and &man.vga.4;.</para>
</sect2> </sect2>
</sect1> </sect1>
@ -885,12 +878,11 @@ bitmap_name="<replaceable>/boot/splash.bin</replaceable>"</programlisting>
in the <envar>init_path</envar> variable in in the <envar>init_path</envar> variable in
<command>loader</command>.</para> <command>loader</command>.</para>
<para>The boot sequence makes sure that the file <para>The boot sequence makes sure that the file systems available
systems available on the system are consistent. If they are on the system are consistent. If they are not, and &man.fsck.8;
not, and &man.fsck.8; cannot fix the inconsistencies of a UFS cannot fix the inconsistencies of a UFS file system,
file system, &man.init.8; drops the system into single-user &man.init.8; drops the system into single-user mode so that the
mode so that the system system administrator can resolve the problem directly.</para>
administrator can resolve the problem directly.</para>
<sect2 xml:id="boot-singleuser"> <sect2 xml:id="boot-singleuser">
<title>Single-User Mode</title> <title>Single-User Mode</title>
@ -899,9 +891,9 @@ bitmap_name="<replaceable>/boot/splash.bin</replaceable>"</programlisting>
<indexterm><primary>console</primary></indexterm> <indexterm><primary>console</primary></indexterm>
<para>This mode can be reached through the automatic reboot <para>This mode can be reached through the automatic reboot
sequence, the user booting sequence, the user booting with <option>-s</option>, or by
with <option>-s</option>, or by setting the <envar>boot_ setting the <envar>boot_ single</envar> variable in
single</envar> variable in &man.loader.8;.</para> &man.loader.8;.</para>
<para>It can also be reached by calling &man.shutdown.8; from <para>It can also be reached by calling &man.shutdown.8; from
multi-user mode (<xref linkend="boot-multiuser"/>) without multi-user mode (<xref linkend="boot-multiuser"/>) without
@ -909,8 +901,8 @@ bitmap_name="<replaceable>/boot/splash.bin</replaceable>"</programlisting>
<para>If the system <literal>console</literal> is set to <para>If the system <literal>console</literal> is set to
<literal>insecure</literal> in <filename>/etc/ttys</filename>, <literal>insecure</literal> in <filename>/etc/ttys</filename>,
the system will prompt for the the system will prompt for the <systemitem
<systemitem class="username">root</systemitem> password before class="username">root</systemitem> password before
initiating single-user mode.</para> initiating single-user mode.</para>
<example xml:id="boot-insecure-console"> <example xml:id="boot-insecure-console">
@ -927,11 +919,11 @@ console none unknown off insecure</programlisting>
<note> <note>
<para>An <literal>insecure</literal> console means that <para>An <literal>insecure</literal> console means that
physical security to the console is considered to be physical security to the console is considered to be
insecure, so only someone who knows the insecure, so only someone who knows the <systemitem
<systemitem class="username">root</systemitem> password may class="username">root</systemitem> password may use
use single-user mode. Thus, to add this measure of single-user mode. Thus, to add this measure of security,
security, choose <literal>insecure</literal>, instead of the choose <literal>insecure</literal>, instead of the default
default of <literal>secure</literal>.</para> of <literal>secure</literal>.</para>
</note> </note>
</sect2> </sect2>
@ -941,26 +933,24 @@ console none unknown off insecure</programlisting>
<indexterm><primary>multi-user mode</primary></indexterm> <indexterm><primary>multi-user mode</primary></indexterm>
<para>If &man.init.8; finds the file systems to be in order, or <para>If &man.init.8; finds the file systems to be in order, or
once the user has finished their commands in single-user once the user has finished their commands in single-user mode
mode (<xref linkend="boot-singleuser"/>), the system enters (<xref linkend="boot-singleuser"/>), the system enters
multi-user mode, in which it starts the resource configuration multi-user mode, in which it starts the resource configuration
of the system.</para> of the system.</para>
<indexterm><primary>rc files</primary></indexterm> <indexterm><primary>rc files</primary></indexterm>
<para>The resource configuration system reads in <para>The resource configuration system reads in configuration
configuration defaults from defaults from <filename>/etc/defaults/rc.conf</filename>, and
<filename>/etc/defaults/rc.conf</filename>, and system-specific details from
system-specific details from <filename>/etc/rc.conf</filename>, and then proceeds to mount
<filename>/etc/rc.conf</filename>, and then proceeds to the system file systems listed in
mount the system file systems listed in <filename>/etc/fstab</filename>. It starts up networking
<filename>/etc/fstab</filename>. It starts up networking services, miscellaneous system daemons, then the startup
services, miscellaneous system daemons, then the startup scripts of locally installed packages.</para>
scripts of locally installed packages.</para>
<para>To learn more about the resource configuration system, <para>To learn more about the resource configuration system,
refer to &man.rc.8; and examine the scripts refer to &man.rc.8; and examine the scripts themselves.</para>
themselves.</para>
</sect2> </sect2>
</sect1> </sect1>