Tell you what, do this:
Code:
urpmi kernel-tmb-source
Then do this:
[quote]cd /usr/src
**"Change Directory To /usr/src"**
ls -alc
**"check for symlink (ex. /usr/src/linux->/usr/src/linux-2.4.18)"**
**"also note since its being ask recently, that if there is no symlink"**
**"then move on to the untarring of the kernel"**
file linux
**"double check with this command (output ex.) linux: symbolic link to linux-2.4.18-14"**
rm linux
**"remove symlink"**
tar -zxvf linux-x.x.x.tar.gz
**"unpack the tarball (new kernel)"**
ln -s /usr/src/linux-x.x.x /usr/src/linux
**"make a new link to the new kernel"**
cd linux
**"type this to change to the directory"**
----------------------------
Now Comes The Fun Part~!
----------------------------
make mrproper
**"this removes the current .config and other files"**
cp /usr/src/linux-2.4.x/.config /usr/src/linux
***this is if you want to use your old config***
make menuconfig
**"for ncurses GUI in the terminal"**
make bzImage
**"to make the kernel image (compile and creates compressed image of kernel)"**
make modules
**"compile your selected modules"**
make modules_install
**"to install newly compile modules (installs to /lib/modules/linux.x.x.x)"**
Remove the following links:
rm -rf /boot/System.map
rm -rf /boot/vmlinuz
Then copy the newly created kernel and system.map to /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-x.x.x
cp /usr/src/linux/System.map /boot/System.map-x.x.x
Make the new links:
ln -s /boot/vmlinuz-x.x.x /boot/vmlinuz
ln -s /boot/System.map-x.x.x /boot/System.map
Next remove existing initrd.img file:
rm -rf /boot/initrd.x.x.x.img
..And create the new one:
/sbin/mkinitrd /boot/initrd-x.x.x.img x.x.x
(Note: )
The last set of x.x.x is the eqivalent to your new kernel version and it looks to /lib/modules for that version.[quote] -DrOzz
Then update lilo, and you will have a fully functional, customized 2.6.4-1kernel.