From fe1643ecbb7bf59af560eefb78bc796b8142c427 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 31 Aug 2011 02:07:21 +0000 Subject: [PATCH] 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 --- chapter08/grub.xml | 2 +- chapter08/kernel.xml | 4 ++-- 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 } EOF 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 @@ 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 vmlinux to be compatible with + the filename should be vmlinuz to be compatible with the automatic setup of the boot process described in the next section. The following command assumes an x86 architecture: -cp -v arch/x86/boot/bzImage /boot/vmlinux-&linux-version;-lfs-&version; +cp -v arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version; System.map is a symbol file for the kernel. It maps the function entry points of every function in the kernel API,