[ILUG] Compiling a new kernel

Padraig Brady padraig.brady at corvil.com
Wed Oct 9 17:20:03 IST 2002


Mark Conway wrote:
> Hi,
> 
> Can anybody tell me where to get accurate instructions for 
 > compiling a new kernel? I used one partilcular tutorial off
 > the web and it didnt work. Im running RH 7.2 at the mo and
 > kernel 2.4.7, so id like to upgrade.

well if you get an rpm of the kernel it's quite easy.
rpm -i newkernelrpm
cd /usr/src/linux../
cp configs/configIwant .config
make oldconfig dep bzImage modules install

> When I used the "make" commands.... they didnt work. Is it a problem at my end? im not sure.

More info is needed than that.

If you want to try any kernel in an arbitrary directory

wget 
http://ftp.heanet.ie/mirrors/kernel.org/pub/linux/kernel/v2.4/linux-2.4.19.tar.bz2
tar xjf linux-2.4.19.tar.bz2
cd linux-2.4.19
make xconfig
make dep
make bzImage
make modules

Padraig.




More information about the ILUG mailing list