6

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.

H3R3T1K
  • 2,515
  • 11
  • 41
  • 69

2 Answers2

14

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.

vesako
  • 356
0

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.

muru
  • 207,228
Brane
  • 446