I need to downgrade kernel version in my Ubuntu 14.04.3 LTS production server from 3.19.0-26-generic to 3.13.0-62-generic.

How I can do it in safe way ? I only have console access.



You can install a specific kernel with (just change the kernel version here):

sudo apt-get install linux-image-3.13.0-62-generic linux-headers-3.13.0-62 linux-headers-3.13.0-62-generic 

Or use the following command to to install the latest Trusty kernel (it's 3.13.0-62 for now), not any specific version:

sudo apt-get install linux-generic-lts-trusty

After that, reboot your server and hit ESC after the vendor splash screen to enter GRUB menu. Select "Advanced options for Ubuntu" there, boot with the 3.13 kernel that you just installed to make sure it's working as expected.

If everything works well, you can remove the 3.19 kernel later.

  • I only have ssh access. I should change grub boot default to the new kernel ? Correct ? – Roberto Sep 2 '15 at 11:08
  • 1
    Yes, check this article for how to change this: Set “older” kernel as default grub entry – P.-H. Lin Sep 3 '15 at 3:21
  • It may also be needed to install linux-image-extra-3.13.0-62-generic. Without this WiFi and external monitor were not working after downgrading on my laptop. – luator Oct 22 '18 at 7:21

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.