Compile a new kernel in Linux

by satheeshkumar 2012-09-17 22:43:05

How to compile a new kernel in Linux,

Step:1 Install the required packgaes for compling the new kernel # yum install gcc make bison ncurses-devel rpm-build

Step:2 Download the latest Kernel using this url “ http://www.kernel.org/pub/linux/kernel/ ” ,
# bunzip2 linux-2.6.36.2.tar.bz2
# tar xvf linux-2.6.36.2.tar

Step:3 Now got to extracted directory of latest kernel
#cd linux-2.6.36.2
Copy Kernel source code directory "linux-2.6.36.2"in "/usr/src" directory,
#cp -r linux-2.6.36.2 /usr/src/

Step:4 Go to "/usr/src/linux-2.6.36.2/" and run,
#make menuconfig


1024
like
0
dislike
0
mail
flag

You must LOGIN to add comments