[Gllug] Compiling a Kernel

Bruce Richardson itsbruce at uklinux.net
Mon May 27 13:53:03 UTC 2002


On 27/05/02, 14:21:27, "Jackson, Harry" <HJackson at colt-telecom.com> wrote 
regarding RE: [Gllug] Compiling a Kernel:


> tar -vxf kernel-2.4.18.tar
> cd new_dir
> make mrproper
> cp /boot/config-2.4.16 /new_dir/.config

> make oldconfig
> make dep
> make bzImage
> make modules
> make modules_install (mods installed in /lib/modules/2.4.18/)

> This is where i get hazy (do i "depmod -a" here and what options do I use 
to
> depmod)

No, you don't need to run depmod, Debian will detect the new kernel when 
you reboot and run it itself.

> cp /vmlinuz /vmlinuz-2.4.16
> cp new_bzImage /vmlinuz
> lilo

No need for those (and you missed the System.map file).  You can just 
type

make install 

and it will the installkernel script for you.  I tend to the kernel 
before installing the modules.




-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list