Kamis, 21 Oktober 2010

HOWTO: Easily Install 2.6.35 (Maverick) Kernel on Ubuntu 10.04

Ubuntu 10.10 just released and it utilizes the 2.6.35 kernel, this is a good bit newer than the 2.6.32 kernel Ubuntu 10.04 uses. While there are a number of reasons to upgrade your kernel, the primary reason for doing so is typically for improved hardware support. Newer kernels contain more (and sometimes better) drivers than older kernels. This can cause older hardware that either didn't work (or required lots of hacking to work) to start "just working". Some of the highlights from the .33, .34, and .35 kernel releases include:
  • brtfs file system support
  • Improved FOSS graphics drivers (Intel, nVidia, and ATI)
  • Trim support (For SSDs)
  • Support for a number of new touch panels
  • Much, much more
As with all Ubuntu releases, 10.04 will "play it safe" and stick with the 2.6.32 kernel. When I searched around for how to install the 2.6.35 kernel on 10.04 I found lots of guides on compiling it from source, but nothing on easily installing it. If you just want a generic 2.6.35 kernel on your 10.04 system there is no reason to go through all that headache. Before you follow my next few steps please be warned that upgrading your kernel does have the off chance of breaking things! Also know though, that your older kernel will still be installed should 2.6.35 have some problem with your hardware setup. To easily install a generic 2.6.35 kernel on Ubuntu 10.04 run the following in a terminal while you have an internet connection:

All Architectures:
mkdir ~/KernelDebs
cd ~/KernelDebs
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-2.6.35-22_2.6.35-22.35_all.deb
sudo dpkg -i
linux-headers-2.6.35-22_2.6.35-22.35_all.deb

32 Bit:
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-2.6.35-22-generic_2.6.35-22.35_i386.deb
sudo dpkg -i
linux-headers-2.6.35-22-generic_2.6.35-22.35_i386.deb
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.35-22-generic_2.6.35-22.35_i386.deb
sudo dpkg -i linux-image-2.6.35-22-generic_2.6.35-22.35_i386.deb

64 Bit:
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-2.6.35-22-generic_2.6.35-22.35_amd64.deb
sudo dpkg -i
linux-headers-2.6.35-22-generic_2.6.35-22.35_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.35-22-generic_2.6.35-22.35_amd64.deb
sudo dpkg -i
linux-image-2.6.35-22-generic_2.6.35-22.35_amd64.deb

It is just that easy! Reboot and select your new kernel (which should be the default option) from your grub menu. Enjoy.

~Jeff Hoogland

Tidak ada komentar:

Posting Komentar