Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 240 — #266
i
i
i
i
i
i
i
i
9.7 Installing the Kernel
After the kernel is compiled, it must be installed so it can be booted.
I x86
If you use LILO, LILO must be updated as well. To prevent unpleasant sur-
prises, it is recommended to keep the old kernel (e.g., as /boot/vmlinuz.
old), so you can still boot it if the new kernel does not function as ex-
pected: J
cp /boot/vmlinuz /boot/vmlinuz.old
cp arch/i386/boot/bzImage /boot/vmlinuz
lilo
I x86
The Makefile target make bzlilo performs all three of these steps. J
Note
If you use GRUB as the boot loader, it does not need to be rein-
stalled. Simply carry out the first two steps to copy the kernel to
the right location in the system.
Note
BootX: The above-mentioned file vmlinux must be copied to ‘Linux Ker-
nels’ in the system directory. Next, when BootX is started, the new
kernel must be selected before clicking ‘Save to prefs’.
RS/6000 (quik): Copy vmlinux to boot/ and adjust /etc/quik.conf.
RS/6000 (disk): Copy zImage from /usr/src/linux/arch/<arch>
/chrpboot to DOS floppy disk.
Now the compiled modules need to be installed. Enter make modules_-
install to copy them to the correct target directories in /lib/modules/
<version>/. If the kernel version is the same, the old modules will be
overwritten. However, the original modules can be reinstalled together
with the kernel from the CDs.
240 9.7. Installing the Kernel










