Browse Source

Change default name of linux kernel to be compatible with grub-mkconfig scripts.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9588 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 14 years ago
parent
commit
fe1643ecbb
2 changed files with 3 additions and 3 deletions
  1. 1 1
      chapter08/grub.xml
  2. 2 2
      chapter08/kernel.xml

+ 1 - 1
chapter08/grub.xml

@@ -131,7 +131,7 @@ insmod ext2
 set root=(hd0,2)
 
 menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
-        linux   /boot/vmlinux-&linux-version;-lfs-&version; root=/dev/sda2 ro
+        linux   /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro
 }</literal>
 EOF</userinput></screen>
 

+ 2 - 2
chapter08/kernel.xml

@@ -118,11 +118,11 @@
 
     <para>The path to the kernel image may vary depending on the platform being
     used. The filename below can be changed to suit your taste, but the stem of
-    the filename should be <emphasis>vmlinux</emphasis> to be compatible with
+    the filename should be <emphasis>vmlinuz</emphasis> to be compatible with
     the automatic setup of the boot process described in the next section.  The
     following command assumes an x86 architecture:</para>
 
-<screen><userinput remap="install">cp -v arch/x86/boot/bzImage /boot/vmlinux-&linux-version;-lfs-&version;</userinput></screen>
+<screen><userinput remap="install">cp -v arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
 
     <para><filename>System.map</filename> is a symbol file for the kernel.
     It maps the function entry points of every function in the kernel API,