• Learn how to Run Mac Snow-Leopard on Ubuntu using Oracle Sun Virtual-box
  • Are you a Turbo C++ addict/? Learn how to emulate Turbo c++ with Dos-box in a few steps.
  • Ubuntu's purple love-- A Clean and minimalistic wallpaper for your Desktop.

Ubuntu 11.04 Upgrade Linux Kernel to

Its been quite some time since Ubuntu released its 11.04 OS, even long before its stable release Natty Narwhal's Alpha release had gone through some intense debates regarding its unity interface.
Despite the fact that Ubuntu is the most stable and user-friendly OS in the Linux family, its latest release of Natty Narwhal has left many Ubuntuans skeptical about upgrading from Ubuntu 10.10 , due to the fear of new unity interface and some known bugs.

I recently had some issues with Natty too, while using Gimp and Blender the screen just froze on me for no reason, it was very weird and was nothing like the Ubuntu I've known form its 8.04 release.

When I spent some time on Natty Narwhal's release notes  I found that it has a lot of known issues, one line under 'Graphics and display' says:
On certain systems, a bad interaction between Unity, the GL driver and the kernel may cause the system to hang. (740126)

This is a frequent screen frozen issue, and it’s believed to have something to do with the kernel. In Ubuntu 11.04, the default Linux kernel version is 2.6.38-8. Considering the release notes bugs and the suggestions I received from users on launchpad.net I upgraded my Ubuntu kernel to 2.6.39-0, and that seems to have done the trick, all my applications now are stable and never freeze or hang.

If you consider upgrading your kernel to 2.6.39-0, here’s how you could do it.

Run these following commands in the terminal(Ctrl+Alt+T)

1.) Add the kernel ppa and update your system:

sudo add-apt-repository ppa:kernel-ppa/ppa

sudo apt-get update


2.) Check available kernels with the command:

apt-cache showpkg linux-headers

  kernel should be in list.

3.) Run the command to install kernel

sudo apt-get install linux-headers-2.6.39-0 linux-headers-2.6.39-0-generic linux-image-2.6.39-0-generic --fix-missing

And finally restart your computer, goto system monitor and check your system's kernel version.

Note: If you are doing this on virtual-box, after system restart you will be thrown back into Ubuntu Classic interface.To restore your system back into Unity interface you will have to reinstall guest additions and kill the gnome-settings-daemon, here are some commands that will help you do this.

(Only for Users upgrading on Virtual-box)

sudo apt-get update

sudo apt-get install virtualbox-ose-guest-utils

killall -9 gnome-settings-daemon && gnome-settings-daemon

and restart your guest OS.