Thursday, September 20, 2007

Three Steps to Building The Linux Kernel

Building 2.6.22 Kernel is very easy
Step 1:-
Get The Source from Kernel Pub
get linux-2.6.22.tar.bz2 (best is .bz2 instead of tar)
Step2:- move the bz2 file to /usr/src
unzip the file with tar -xjvf linux-2.6.22.tar.bz2 and go to the dir

Step3:-
Just 3 commands will build and install the kernel

make oldconfig && make && make modules_install && make install

if you are booting through GRUB then entry will be created in grub/menu.lst with kernel ver

restart the system and boot with the kernel what you have build :-)

uname -r will show the kernel version what you are using.

Be Happy!!

for Any comments on you can reach me at rajesh.battala@gmail.com

No comments: