How do I downgrade kernel on 12.10?

Solution 1:

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.