mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-10 07:59:38 +00:00
Several minor wording changes in chapters 8 and 9 (matt). Also removed the paragraph about compressing kernel modules. (merged from trunk r6340)
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@6342 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
82fd24a40e
commit
68b786c273
@ -87,6 +87,10 @@ First a summary, then a detailed log.</para>
|
|||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem><para>July 2nd, 2005 [archaic]: Several minor wording changes in
|
||||||
|
chapters 8 and 9 (matt). Also removed the paragraph about compressing kernel
|
||||||
|
modules as it is hint material at best.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>July 2nd, 2005 [archaic]: Several minor wording changes in
|
<listitem><para>July 2nd, 2005 [archaic]: Several minor wording changes in
|
||||||
chapter 8 (matt).</para></listitem>
|
chapter 8 (matt).</para></listitem>
|
||||||
|
|
||||||
|
@ -9,10 +9,10 @@
|
|||||||
|
|
||||||
<indexterm zone="ch-bootable-fstab"><primary sortas="e-/etc/fstab">/etc/fstab</primary></indexterm>
|
<indexterm zone="ch-bootable-fstab"><primary sortas="e-/etc/fstab">/etc/fstab</primary></indexterm>
|
||||||
|
|
||||||
<para>The <filename>/etc/fstab</filename> file is used by some
|
<para>The <filename>/etc/fstab</filename> file is used by some programs to
|
||||||
programs to determine where file systems are to be mounted by default,
|
determine where file systems are to be mounted by default, in which order, and
|
||||||
which must be checked, and in which order. Create a new file systems
|
which must be checked (for integrity errors) prior to mounting. Create a new
|
||||||
table like this:</para>
|
file systems table like this:</para>
|
||||||
|
|
||||||
<screen><userinput>cat > /etc/fstab << "EOF"
|
<screen><userinput>cat > /etc/fstab << "EOF"
|
||||||
<literal># Begin /etc/fstab
|
<literal># Begin /etc/fstab
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<indexterm zone="ch-bootable-kernel"><primary sortas="a-Linux">Linux</primary></indexterm>
|
<indexterm zone="ch-bootable-kernel"><primary sortas="a-Linux">Linux</primary></indexterm>
|
||||||
|
|
||||||
<sect2 role="package"><title/>
|
<sect2 role="package"><title/>
|
||||||
<para>The Linux package contains the kernel and the header files.</para>
|
<para>The Linux package contains the Linux kernel.</para>
|
||||||
|
|
||||||
<segmentedlist>
|
<segmentedlist>
|
||||||
<segtitle>&buildtime;</segtitle>
|
<segtitle>&buildtime;</segtitle>
|
||||||
@ -29,10 +29,9 @@ GCC, Glibc, Grep, Gzip, Make, Modutils, Perl, and Sed</seg></seglistitem>
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of the kernel</title>
|
<title>Installation of the kernel</title>
|
||||||
|
|
||||||
<para>Building the kernel involves a few steps—configuration,
|
<para>Building the kernel involves a few steps—configuration, compilation,
|
||||||
compilation, and installation. Read the <filename>README</filename>
|
and installation. Read the <filename>README</filename> file in the kernel source
|
||||||
file in the kernel source tree for alternate methods to the way this
|
tree for alternative methods to the way this book configures the kernel.</para>
|
||||||
book configures the kernel.</para>
|
|
||||||
|
|
||||||
<para>Prepare for compilation by running the following command:</para>
|
<para>Prepare for compilation by running the following command:</para>
|
||||||
|
|
||||||
@ -91,22 +90,20 @@ with gcc 2.95.x.</para></note>
|
|||||||
|
|
||||||
<screen><userinput>make</userinput></screen>
|
<screen><userinput>make</userinput></screen>
|
||||||
|
|
||||||
<para>If using kernel modules, an
|
<para>If using kernel modules, an <filename>/etc/modprobe.conf</filename> file
|
||||||
<filename>/etc/modprobe.conf</filename> file may be needed.
|
may be needed. Information pertaining to modules and kernel configuration is
|
||||||
Information pertaining to modules and kernel configuration is
|
|
||||||
located in the kernel documentation in the <filename
|
located in the kernel documentation in the <filename
|
||||||
class="directory">linux-&linux-version;/Documentation</filename>
|
class="directory">linux-&linux-version;/Documentation</filename> directory. The
|
||||||
directory. The <emphasis>modprobe.conf</emphasis> man page may also be
|
<emphasis>modprobe.conf</emphasis> <command>man</command> page may also be of
|
||||||
of interest.</para>
|
interest.</para>
|
||||||
|
|
||||||
<para>Be very careful when reading other documentation because it
|
<para>Be very careful when reading other documentation relating to kernel
|
||||||
usually applies to 2.4.x kernels only. As far as we know, kernel
|
modules because it usually applies to 2.4.x kernels only. As far as we know,
|
||||||
configuration issues specific to Hotplug and Udev are not documented.
|
kernel configuration issues specific to Hotplug and Udev are not documented.
|
||||||
The problem is that Udev will create a device node only if Hotplug or
|
The problem is that Udev will create a device node only if Hotplug or a
|
||||||
a user-written script inserts the corresponding module into the
|
user-written script inserts the corresponding module into the kernel, and not
|
||||||
kernel, and not all modules are detectable by Hotplug. Note that
|
all modules are detectable by Hotplug. Note that statements like the one below
|
||||||
statements like the one below in the
|
in the <filename>/etc/modprobe.conf</filename> file do not work with
|
||||||
<filename>/etc/modprobe.conf</filename> file do not work with
|
|
||||||
Udev:</para>
|
Udev:</para>
|
||||||
|
|
||||||
<para><screen>alias char-major-XXX some-module</screen></para>
|
<para><screen>alias char-major-XXX some-module</screen></para>
|
||||||
@ -119,12 +116,6 @@ configuration, especially if this is the first time using Udev.</para>
|
|||||||
|
|
||||||
<screen><userinput>make modules_install</userinput></screen>
|
<screen><userinput>make modules_install</userinput></screen>
|
||||||
|
|
||||||
<para>If there are many modules and very little space, consider
|
|
||||||
stripping and compressing the modules. For most users, such
|
|
||||||
compression is not worth the time, but if the system is pressed for
|
|
||||||
space, see <ulink
|
|
||||||
url="http://www.linux-mips.org/archives/linux-mips/2002-04/msg00031.html"/>.</para>
|
|
||||||
|
|
||||||
<para>After kernel compilation is complete, additional steps are
|
<para>After kernel compilation is complete, additional steps are
|
||||||
required to complete the installation. Some files need to be copied to
|
required to complete the installation. Some files need to be copied to
|
||||||
the <filename class="directory">/boot</filename> directory.</para>
|
the <filename class="directory">/boot</filename> directory.</para>
|
||||||
|
@ -54,7 +54,7 @@ umount $LFS</userinput></screen>
|
|||||||
is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
|
is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
|
||||||
|
|
||||||
<para>When the reboot is complete, the LFS system is ready for use and
|
<para>When the reboot is complete, the LFS system is ready for use and
|
||||||
software can be added.</para>
|
more software may be added to suit your needs.</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user