Monday, December 28, 2015

How do I downgrade kernel on 12.10?



I did a fresh installation of Ubuntun 12.10 (kernel v3.5.0.21-generic, 64 bit, US English) on my computer after downloading the ISO from Ubuntu.com.



In order for one of my installed programs to work, I would like to downgrade the current kernel version to 3.2.0.24-generic



Questions:




  1. Is it advisable to downgrade the current kernet version to an older one?



  2. If the answer to (1) above is yes, how do I do it?




As always, detailed instructions on how to issue specific commands at the terminal window are welcome. I am new to Linux and Ubuntu.



Thanks in advance for your help.



Today I needed to downgrade from 3.5.0-24 to 3.5.0-23 (I have both installed). I succeded with the following:



sudo /etc/kernel/postrm.d/zz-update-grub 3.5.0-23-generic /boot/vmlinuz-3.5.0-23-generic



You can find out Your current kernel with:



uname -a


You can find out other kernels installed on Your computer with::



dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d'



Mind that You might also need to lock the version of the kernel -- so to prevent it automatic update.


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 (...