Kamis, 18 November 2010

Rahasia : Switch to a newer kernel in Ubuntu 10.04

Sometimes a newer kernel is necessary because there are newer drivers in there. If you’re having trouble with hibernate/suspend, wlan, bluetooth etc. Switching to new kernel can be a good idea.
Default kernel in 10.04 is 2.6.32 and this guide will help you update to 2.6.34.
When installing this kernel will be default because it has a higher number than 2.6.32.
During boot hold “shift” key pressed to display boot menu.
Propetary drivers graphic and wlan drivers might stop working. You have been warned.
For 32bit:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634-generic_2.6.34-020634_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-image-2.6.34-020634-generic_2.6.34-020634_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634_2.6.34-020634_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-source-2.6.34_2.6.34-020634_all.deb

For 64bit:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634-generic_2.6.34-020634_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634_2.6.34-020634_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-image-2.6.34-020634-generic_2.6.34-020634_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-source-2.6.34_2.6.34-020634_all.deb

Run this command in the same catalog as above files are downloaded:
sudo dpkg -i *.deb
Now do a restart.
If you are having trouble getting wlan to run on Broadcom chipset after upgrade. Run these commands:
cd /usr/src/linux-headers-2.6.34-020634-generic/include
sudo cp generated/* linux/

Update 2010-06-08
Some information how to uninstall it might be handy.
To uninstall 2.6.34 run these commands:
sudo dpkg –purge linux-headers-2.6.34-020634 linux-headers-2.6.34-020634-generic linux-image-2.6.34-020634-generic linux-source-2.6.34
Update 2010-06-22
Dont worry about Ubuntus updates to newer 2.6.32 or 2.6.33 kernels, they will have a lower priority in GRUB and therefore not be used as default kernel. So accept all kernel updates that update-manager offers.

Tidak ada komentar:

Posting Komentar

Setelah membaca artikel di atas.
Apa komentar anda ??