In this thread & next thread we are gonna compile the linux kernel.
Contrary to popular people believe compiling a kernel is not difficult. & Yes whatever the ubuntu site says it is perfectly safe to compile your kernel & if you have trouble just ask those who do & you will get noticeable performance boost not just vague from 10 to 40 %. Your system can not break. That is a great lie. Major trouble is compiling & developing anything on it is major trouble. But I am giving hints for every distro.
Ubuntu:
sudo apt-get build-dep linux
sudo apt-get install linux-source libncurses5 libncurses5-dev wget
Now common to all:
First get the kernel from here:
wget http://www.kernel.org/pub/linux/kern...6.32.7.tar.bz2
wget http://www.kernel.org/pub/linux/kern...h-2.6.32.7.bz2
Extract the patch
tar -xjvf patch-2.6.32.7.bz2
I am considering you are all in your home directory.
Now go to /usr/src directory.
/usr/src/linux
Now extract the above:
tar -xjvf ~/linux-2.6.32.7.tar.bz2
Go to the kernel source directory:
cd linux-2.6.32.7
Now apply patch
patch -p1 ~/patch-2.6.32.7
Now type
sudo lspci
Note down in a file or memorize them
Now type
sudo make menuconfig
Now you will get options choose which apply.
Some of the must:
To be continued....



LinkBack URL
About LinkBacks
Reply With Quote