Browse Source

Added command to keep a copy of the kernel .config file. Suggested by Daniel Baumann.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3167 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Greg Schafer 21 years ago
parent
commit
e4d88a56ce
2 changed files with 14 additions and 4 deletions
  1. 4 0
      chapter01/changelog.xml
  2. 10 4
      chapter08/kernel-inst.xml

+ 4 - 0
chapter01/changelog.xml

@@ -50,6 +50,10 @@
 </itemizedlist>
 </listitem>
 
+<listitem><para>January 13th, 2004 [greg]: Chapter 8 - Installation of the
+kernel: Added command to keep a copy of the kernel .config
+file.</para></listitem>
+
 <listitem><para>January 13th, 2004 [greg]: Moved log file creation from Shadow
 to "Creating the passwd and group files" and renamed that section accordingly.
 Closes 741.</para></listitem>

+ 10 - 4
chapter08/kernel-inst.xml

@@ -71,12 +71,11 @@ that come with the kernel:</para>
 
 <screen><userinput>cp -a Documentation/man /usr/share/man/man9</userinput></screen>
 
-<para>Kernel compilation has finished, but some of the files created
-still reside in the source tree. To complete the installation, two
-files need to be copied to the <filename>/boot</filename>
+<para>Kernel compilation has finished but more steps are required to complete
+the installation. Some files need to be copied to the <filename>/boot</filename>
 directory.</para>
 
-<para>The path to the kernel file may vary depending on the platform
+<para>The path to the kernel image may vary depending on the platform
 you're using. Issue the following command to install the kernel:</para>
 
 <screen><userinput>cp arch/i386/boot/bzImage /boot/lfskernel</userinput></screen>
@@ -88,4 +87,11 @@ kernel. Issue the following command to install the map file:</para>
 
 <screen><userinput>cp System.map /boot</userinput></screen>
 
+<para><filename>.config</filename> is the kernel configuration file that was
+produced by the <userinput>make menuconfig</userinput> step above. It contains
+all the config selections for the kernel that was just compiled. It's a good
+idea to keep this file for future reference:</para>
+
+<screen><userinput>cp .config /boot/config-lfskernel</userinput></screen>
+
 </sect2>