aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-08-31 02:07:21 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-08-31 02:07:21 +0000
commitfe1643ecbb7bf59af560eefb78bc796b8142c427 (patch)
tree3c2bbcc38f5ef37312610a7828ff326daa3253f2 /chapter08
parent5bc19fc1e562db0a9587b355419076daa75788e2 (diff)
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
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/grub.xml2
-rw-r--r--chapter08/kernel.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 6c24381c9..869a2f0ee 100644
--- a/chapter08/grub.xml
+++ b/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>
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index e5e0c82f9..7c31806c3 100644
--- a/chapter08/kernel.xml
+++ b/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,