Tuesday, September 20, 2016

11.10 - How do I install an older 2.6.37 Kernel Version?


I have a Sony VAIO P netbook and for several issues (graphics driver, audio driver and power management), I want to install an older version of the Linux kernel on Ubuntu 11.10 (actually its Xubuntu) that seems to be much more suitable.


So I searched for Ubuntu kernels and found this link which includes all versions of the Linux kernel distributed by Ubuntu. I am looking for a version before 2.6.38 (to escape the known power management issue) and of course solve my many driver problems!



  1. I guess my best bet is 2.6.37 but there are several 2.6.37.x-x kernels! Can someone point me to the right choice?


  2. In each folder (for example: this one) there are several DEB packages. Which packages should I install? (Note: I have a 32-bit system)


  3. What is the installation process? sudo dpkg -i *.deb ? Is this fine or additional steps are required?



Thanks.



first the warning


Changing the kernel is not to be taken lightly - you can leave yourself with serious graphics issues and other issues - and even non booting scenarios.


It is wise to disk-image with a good imaging tool such as Clonezilla BEFORE you start.


mainline kernels vs ubuntu stock kernels


The mainline kernels are built using an older toolchain than stock ubuntu kernels. Its perhaps better to consider downloading ubuntu kernels from specific Ubuntu versions


For example - 2.6.38 for Natty, 2.6.35 for Maverick and 2.6.32 for Lucid.


However, you could look forward to v3.2 that is going to be used in Precise - some have reported good power-management issues with this kernel as well as the latest drivers.


There is a similar question here that will give you some further information: How to downgrade the Kernel on 11.10


Assuming your main issue is power-management, then before you consider changing your kernel - consider installing Jupiter - this is an excellent power-management tool.


installing from the mainline


If you must download from the mainline then the full instructions are on the community wiki. In summary 32bit or 64bit deb packages for headers & generic image together with a common "all" deb package.


All .deb packages can be installed with the same syntax:


sudo dpkg -i [package_name].deb

If you want to use 2.6.37 - then just use the latest 2.6.37.x version. Note - none of these kernels will be receiving security updates - you will need to patch these yourself.


If you are using proprietary drivers (e.g. nvidia or fglrx) then you will need to reinstall those drivers. It may be wise to rename your /etc/X11/xorg.conf file first before booting.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...