Kernel downgrade after update broke my system

I need to downgrade from 3.8.0-33 to version -29. After booting the latest kernel I’m greeted by a black screen. How do I keep this version permanently?

Output of dpkg -l linux-image*

Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name           Version        Beschreibung
+++-==============-==============-============================================
un  linux-image    <keine>        (keine Beschreibung vorhanden)
un  linux-image-3. <keine>        (keine Beschreibung vorhanden)
ii  linux-image-3. 3.8.0-29.42~pr Linux kernel image for version 3.8.0 on 64 b
ii  linux-image-3. 3.8.0-33.48~pr Linux kernel image for version 3.8.0 on 64 b
ii  linux-image-ge 3.8.0.33.33    Generic Linux kernel image

Sorry it’s German.

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

You can remove the non-functional kernel with apt-get:

sudo apt-get purge linux-image-3.8.0-33-generic

As part of uninstallation process the system removes 3.8.0-33 entry from GRUB menu and leaves only 3.8.0-29.

Please note, that also package linux-image-generic-lts-raring will be removed. That means that your kernel version will not be upgraded in future with apt-get upgrade. Only when you reinstall linux-image-generic-lts-raring will the kernel version get upgraded. So this is a permanent solution.

Solution 2

If I understand you correctly, you still have installed your old kernel, but your default entry in Grub is the new kernel. If that is the case, boot into your old kernel and try running this:

sudo /etc/kernel/postrm.d/zz-update-grub 3.8.0-29-generic /boot/vmlinuz-3.8.0-29-generic

This should update your Grub menu with your desired kernel version. Note that the default entry will be replaced again with new updates.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply