1
0
mirror of https://git.linuxfromscratch.org/lfs.git synced 2025-06-22 21:29:23 +01:00

Add kernel configureation introduction.

Add an <important> note as an introduction to configuring the kernel.
This commit is contained in:
Bruce Dubbs 2023-03-10 18:46:52 -06:00
parent 0bf56aadbd
commit d94339982d

View File

@ -45,6 +45,37 @@
in the kernel source tree for alternative methods to the way this book
configures the kernel.</para>
<important>
<para>
Building the linux kernel for the first time is one of the most
challenging tasks in LFS. Getting it right depends on the specific
hardware for the target system and your specific needs. There are
almost 12,000 configuration items that are available for the kernel
although only about a third of them are needed for most computers. The
LFS editors recommend that users not familiar with this process follow
the procedures below fairly closely. The objective is to get an
initial system to a point where you can log in at the command line when
you reboot later in <xref linkend="ch-finish-reboot"/>. At his point
optimization and customization is not a goal.
</para>
<para>
For general information on kernel configuration see <ulink
url="&hints-root;kernel-configuration.txt"/>. Additional information
about configuring and building the kernel can be found at <ulink
url="http://www.kroah.com/lkn/"/>. These refereces are a bit
dated, but still give a reasonable overview of the process.
</para>
<para>
If all else fails, you can ask for help on the <ulink
url="https://www.linuxfromscratch.org/mail.html">lfs-suport</ulink>
mailing list. Note that suscribing is required in order for the list
to avoid spam.
</para>
</important>
<para>Prepare for compilation by running the following command:</para>
<screen><userinput remap="pre">make mrproper</userinput></screen>
@ -88,10 +119,6 @@
<!-- Support for compiling a keymap into the kernel is deliberately removed -->
<para>For general information on kernel configuration see <ulink
url="&hints-root;kernel-configuration.txt"/>. Additional
information about configuring and building the kernel can be found at
<ulink url="http://www.kroah.com/lkn/"/>.</para>
<note>
<para>A good starting place for setting up the kernel configuration is to