Upgrade kernel on Ubuntu 9.04

Compiling the kernel can be done in the linux operating system that we operate and run the following commands.
>> Check the kernel version.
>> If a new install, change the root password.
$ Sudo passwd root
>> Login as root and update repository.
# Apt-get update
>> Set to / bin / sh to / bin / bash if necessary.
# Rm-f / bin / sh
# Ln-s / bin / bash / bin / sh

>> Prepare the kernel package.
# Apt-get install kernel-package libncurses5-dev fakeroot wget bzip2

>> After that downloading files on kernel.org kernel to version 2.6.30.10.
# Cd / usr / src
# Wget www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.10.tar.bz2
 >> Copy the kernel source code.
# Tar xjf linux-2.6.30.1.tar.bz2
# Ln-s linux-2.6.30.1 linux
>> Compile the 2.6 kernel.
# Cd / usr / src / linux
# Make menuconfig
select the Load, after finish that, select exit or by typing
# Make all
>> Make command Fakeroot to create the kernel image and kernel headers.
# Fakeroot make-kpkg-initrd-append-to-version =- custom kernel_image kernel_headers
 
>> Back to the folder usr / src and make the kernel code.
# Cd / usr / src
# Dpkg-i linux-image-2.6.30.1-custom-custom_2.6.30.1-10.00.Custom_i386.deb
# Dpkg-i linux-headers-2.6.30.1-custom-custom_2.6.30.1-10.00.Custom_i386.deb
 
>> To add a setting modify the GRUB menu. 
# Gedit / boot / grub / menu.lst
Make sure there is a menu for the new kernel in GRUB as the example below (UUID match the new kernel with the old kernel UUID)
 
>> Shutdown the computer.
# Shutdown-r now
>> After reboot go back into the terminal to check the kernel version . 
# Uname-r
Lebih baru Lebih lama

Formulir Kontak