[Gllug] Compiling a Kernel

Jackson, Harry HJackson at colt-telecom.com
Mon May 27 13:21:27 UTC 2002



> -----Original Message-----
> From: Thom May [mailto:thom at positive-internet.com]
> > 
> > "depmod - a"
> > 
> > 
> That looks suspiciously like a typo :)

Yes it was 

"depmod -a"


> If you're on debian, kernel-package is your friend.
> make-kpkg --config=menuconfig --us --uc kernel-image as root, 
> then dpkg -i the resulting kernel-image....deb


I will try this if I cannot find an answer to the following.

When and why do I use depmod. I understand that my kernel compile should go
something like the following

Current Directory /usr/src/

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)

cp /vmlinuz /vmlinuz-2.4.16
cp new_bzImage /vmlinuz
lilo
reboot
Happy hacking.


Harry





















*************************************************************************************
COLT Telecommunications
Registered in England No. 2452736
Registered Office: Bishopsgate Court, 4 Norton Folgate, London E1 6DQ
Tel. +44 20 7390 3900

This message is subject to and does not create or vary any contractual
relationship between COLT Telecommunications, its subsidiaries or 
affiliates ("COLT") and you. Internet communications are not secure
and therefore COLT does not accept legal responsibility for the
contents of this message.  Any view or opinions expressed are those of
the author. The message is intended for the addressee only and its
contents and any attached files are strictly confidential. If you have
received it in error, please telephone the number above. Thank you.
*************************************************************************************



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




More information about the GLLUG mailing list