Hi everybody. Today I will explain about how we can compile and install the kernel 188.8.131.52 in the Ubuntu 10.10. So a lot of improve was made and I’ve decided to check each one.
Before we start, make the download of the kernel in http://www.kernel.org/ and install some packages that are requirements to compile the kernel. Open a shell and type:
sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev qt3-dev-tools
Now, go to the folder where you downloaded the kernel and move the file linux-184.108.40.206.tar.bz2 to the new location, to do that run:
sudo mv linux-220.127.116.11.tar.bz2 /usr/src/
Extract the file:
sudo tar jxvf linux-18.104.22.168.tar.bz2
Now let’s gain a little time. Let’s import the kernel settings we are currently using:
sudo cp /boot/config-`uname -r` .config
We are almost ready to compile the kernel. Open the kernel menu settings:
sudo make menuconfig
The command above will open a window inside of the shell. Select the menu item called “Processor type and features —>” and after “Processor family —>”. Choose your processor. In my case, my notebook is a Core i5, I chose the option “Core 2/newer Xeon”.
Finally, it’s time to compile the kernel. Exit from Kernel Configuration window saving the changes and run:
sudo make -j3
The option -j means the numbers of cores or processors that will be used to compile. In this case, I am using 3 processors. If you have just one, you can remove this option.
After compiled, we need to install it:
sudo make modules_install
sudo make install
The new kernel is installed, however we need to say to the Ubuntu to use this new one. Just type in the shell:
sudo update-initramfs -k 22.214.171.124 -u
Restart your computer. After loaded, type in the shell:
That’s it. The new Kernel is ready to be used. If you would like to get more details about this new kernel, access the site The H Open.
See you at the next time.