How to downgrade to Linux kernel 4.15.x on ubuntu?

us flag

I'm using ubuntu 18.04 which runs on linux kernel 5.4.0. And i wish to install and use Linux kernel 4.15.x cause that works better on my system. Can anyone please guide me how to do that.

guiverc avatar
cn flag
Did you look at the documentation; it's pretty clear to me - If you have trouble with parts of it; please tell us where you got stuck. (*Yeah sure it mentions downgrading the kernel only for another release; but I'd expect that to be enough clues given it applies to all*)
zw flag

You need to remove the 5.4 HWE kernel (backported from Ubuntu 20.04 LTS) and install GA 4.15 back with which Ubuntu 18.04 LTS was shipped.
Use commands below:

sudo apt-get autoremove --purge 'linux-image-5.4.0-*-generic' 'linux-image-unsigned-5.4.0-*-generic' 'linux-modules-5.4.0-*-generic' 'linux-hwe-5.4-headers-5.4.0-*' linux-generic-hwe-18.04 linux-image-generic-hwe-18.04 linux-headers-generic-hwe-18.04
# allow removal of running 5.4 kernel in the ncurses blue prompt - answer 'No'

sudo apt-get install --install-recommends linux-generic 
sudo apt-get install --install-recommends linux-image-generic linux-headers-generic

If you also need to disable HWE for Xorg/X11, then use below command:

sudo apt-get install xserver-xorg
sudo apt-get autoremove --purge 'xserver-xorg*hwe*18.04'

If you have Nvidia card then run

ubuntu-drivers install

before reboot.



Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.