Today wa s a little bit lazy , wondered what to do, then i thought that i d give a try on my Linux Kernel.I’d previously tried to compile a kernel myself but with no success..except when i tried to program the NGW100.That time i had compiled a prepatched kernel obtained fro m Atmel.
I googled ‘compiling kernel’ and found some interesting tutorials..Though my efforts werent fully successful, im putting up the steps i followed.
1.First downloaded the latest version of kernel from www.kernel.org
I downloaded version 2.6.24.3
2.Moved it to /usr/src
# cp linux-2.6.24.3.tar.bz2 /usr/src
3 Unzip it
# tar -xjvf linux-2.6.24.3.tar.bz2
You ll get a directory named linux-2.6.24.3 in the /usr/src folder
Im using Debian Etch system, there need to create a link (like a windows shortcut) from the original linux source folder to the newly created one
#ln -s /usr/src/linux-2.6.24.3/ /usr/src/linux
copying the current cofiguration to the newly formed directory
#cp /boot/config-2.6.18 /usr/src/linux 2.6.24.3/.config
#make xconfig or make menuconfig
#make
# make modules
#make modules_install
finally
#make install
now intrid image is created.its not necessary for all systems.This image has some device drivers and is used to load the rest of the operating system.I dunno what this really is..but to make it i downloaded mkinitrd fro m rpseek http://rpmseek.com/rpm/mkinitrd-5.1.19-1.i386.html?hl=com&cs=modutils:PN:0:0:0:0:3151117
and converted it using alien
#alien ‘package name’
then installed it using
#dpkg -i ‘package name’
now moved on to /boot/ directory
# cd /boot/
run
mkinitramfs -o initrd.img-2.6.24.3 2.6.24.3
update-grub
your are done
..







