Installing Kernel 2.6.38.3 in the Ubuntu 10.10

Today I will explain about how we can compile and install the kernel 2.6.38.3 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-2.6.38.3.tar.bz2 to the new location, to do that run:

sudo mv linux-2.6.38.3.tar.bz2 /usr/src/

Extract the file:

cd /usr/src/
sudo tar jxvf linux-2.6.38.3.tar.bz2

Now let’s gain a little time. Let’s import the kernel settings we are currently using:

cd /usr/src/linux-2.6.38.3
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 2.6.38.3 -u
sudo update-grub

Restart your computer. After loaded, type in the shell:

uname -a

Belum ada Komentar untuk "Installing Kernel 2.6.38.3 in the Ubuntu 10.10"

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel