Archive

Posts Tagged ‘kernel recompilation’

Use of kernel recompilation

June 17, 2009 3 comments

Here are some uses of kernel recompilation:-

:- It helps you to understand the basic architecture of a kernel.

:-It helps you to include only the features which you require. Unwanted features can be disabled by the user.

:-This will reduce the RAM usage thus more application can run simultaneously and efficiently.

:-This will load your OS much faster as only the limited modules need to be loaded.

:-You can include and test new drivers in your kernel(graphics drivers,network drivers,sound drivers etc…)

:-Over all performance of computer will increase.

Well there are lot more!!!!!!!!!

Kernel Recompilation

May 22, 2009 4 comments

U guys wanna recompile linux kernel then do this…. go http://kernel.org and download the stable kernel file.The site using which i downloaded the kernel is http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.3.tar.bz2

I have downloaded kernel version linux-2.6.29.3 and i have recompiled this version.Your version may differ from  mine,so be careful about that……

Before starting with anything,(it is better to be a root and then proceed) u might need to install few supporting libraries,for that use command

#aptitude install build-essential automake autoconf zlib1g-dev libdb4.4-dev libboost-dev  libboost-serialization-dev libncurses-dev

automake and autoconf are used for the command makefile,confile etc…

libncurese-dev is used for menucofig and so on…

These libraries direct the newly created file in their proper place so that user does not need to direct them manually……

Now,follow the steps:-

1.after downloading, the file will be  linux-2.6.29.3.tar.bz2.This file has to be copied to the location /usr/src

After copying Unpack it.follow the commands

#cd /usr/src

#tar xjf linux-2.6.29.3

now make a symbolic link to the folder linux using this comman

#ln -s linux-2.6.29.3 linux

Read more…

Follow

Get every new post delivered to your Inbox.