20.04 Update Kernel

Hi,

I’m trying to update my Kernel I’m currently on Ubuntu Budgie 20.04 with kernel 5.4.0-74-generic, and would like to update to at least 5.8.x

I’ve tried to do it from command line as suggested here:
How to upgrade Ubuntu to 21.04 and kernel to 5.12 (Update kernel section),

But also from the Mainline GUI app. I have notices in the GUI app, my installed kernel is shown with Ubuntu logo, but the rest with the linux logo. I have managed to install the 5.8.x but gets an error on but then.

What is the best/safest way to update the kernel?

I have considered doing a dist-upgrade to get the new kernel, but would prefer a small step as I would like to stay on LTS version.

Any suggestions?

If any information is missing please let me know. Any input is welcome.

I managed to get it updated with:

$ sudo apt install linux-image-5.8.0-55-generic  linux-headers-5.8.0-55-generic

But now my dock isn’t working, but another issue :slight_smile:

You need to install the HWE package to ensure that whenever the 5.8 kernel is updated, you get it as part of your regular updates

sudo apt install linux-generic-hwe-20.04

In addition this means that 3 months after the regular release is made you get automatically uplifted to that kernel - e.g. 21.04 was released in April with kernel 5.11 so expect to see that kernel in 20.04 from end July/August time.

1 Like

Thanks for your reply. I wasn’t aware of that.

I actually already got the 5.8 now in 20.04 when installing

sudo apt install linux-generic-hwe-20.04