Thursday, January 20, 2011

How to install a new kernel in Linux box?

(commands are mentioned in bold letters)
Step1:  download kernel (linux-2.6.37.tar.bz2) from
           We should aware of that even numbered version (ex 2.6.38) release is the stable one
           An odd version (ex 2.6.37) number which is not stable
Step 2: extract tar archive in /usr/src or any where you wish
             tar –xjvf linux-2.6.37.tar.bz2 –c /usr/src
step3: yum install gcc
Step4:  cd /usr/src/
Step5: make manuconfig   
           There we can find graphical window for kernel tuning
           This is the major tool used to tune the kernel for our convenience
Step6: make
Step7: make modules
Step8: make modules_install
Step9: make install  //it will take several minutes
Step10: don’t forget to hash out old kernel in /boot/grub/grub.conf