On Tue, 2002-06-25 at 09:59, Mikes work account wrote:
> Does anyone have access to a good clear tutorial on how to compile a kernel
> from source?
http://www.tldp.org/HOWTO/Kernel-HOWTO.html
This is how I compile a kernel:
make menuconfig (or xconfig)
make dep && make bzImage modules modules_install
(modules_install must be run as root)
copy bzImage to /boot/image-`uname -r`
# ln -s /boot/image-`uname -r` /vmlinuz-`uname -r`
copy System.map from source to /boot/System.map-`uname -r`
add "image=" line to /etc/lilo.conf:
image=/vmlinuz-`uname -r`
label=`uname -r`
read-only
# lilo -v
Reboot. Hold shift and select new kernel from lilo menu. If the kernel
boots as expected, I add the new kernel image to the "default" line in
lilo.conf, run `lilo -v` again and reboot.
-- Matt Miller Systems Administrator MP TotalCare gpg public key id: 08BC7B06
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:01:03 EDT