With the new linux kernel out, Linux Kernel 5.8 to be precise, I thought I would give it a try. I had read online that Kernel 5.7 could fix the brightness issue on HP Envy laptops so the release timing for 5.8 couldn’t have been any better.
For Ubuntu, you should grab the kernel files from
Download these 4 files with curl or wget:
Linux Headers - All https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-headers-5.8.0-050800_5.8.0-050800.202008022230_all.deb Linux Headers - Generic https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-headers-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb Linux modules - Generic https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-modules-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb Linux Image - Generic https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-image-unsigned-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb
Install the downloaded files:
sudo dpkg -i *.deb
Once the system is up and running, check the kernel version with:
Note: If you have secure boot enabled, you will have to sign the kernel for Secure Boot. If you do not do that, you will end up looking at the following:
vmlinuz-5.8.0-050800-generic has invalid signature
Ubuntu will not boot in this scenario but you can boot it from Grub with the advanced options by selecting the older version of kernel. Once logged in, sign the kernel and use it instead.
I will write up a post on signing kernel files shortly.