The latest kernel update breaks the boot

Asked by Georgios Valeras

 I have two HP Pavilion Gaming TG01-2012ng. I have installed the Ubuntu 20.04.1 and after upgrading to Ubuntu 20.04.3 and installing the security updates (based on Ubuntu -> latest kernel) neither of two is booting. I am pretty sure that the problem is on the kernel (version 5.11.0 on 64 bit x86 SMP).
Thank you for your help!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

If you select an older kernel from the grub menu, does the system boot then?

Revision history for this message
Georgios Valeras (gvaleras) said :
#2

For Ubuntu 20.04.1 everything worked smoothly, after each reboot, the system goes directly to the user login. For Ubuntu 20.04.3 the system goes to the grub menu with three options: 1)Ubuntu, 2) Advanced options for Ubuntu, 3)UEFI firmware settings, this does not make sense to me, I only have one operating system on my computer. After selecting the Ubuntu option, the system crashed. For each restart that I made same problem. For two day i tried a lot of things. My last attempt was to reinstall the Ubuntu 20.04.1 again and to upgrade the suggested software packages on batches and after each batch to make a restart. On the batch for Ubuntu base security update (Kernel, GRand Unified Bootloader) the system crashed as described above. Note that I have the same problem on both my computers.
Thanks for the quick reply!

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Do you have an older version of the kernel listed in "2) Advanced options for Ubuntu"?
Does the system boot when you select it instead of the default?

Revision history for this message
Georgios Valeras (gvaleras) said :
#4

I bought the computers a week ago so i don't have an older version of the kernel. None of the three options worked.
Thank you!

Revision history for this message
Georgios Valeras (gvaleras) said :
#5

I have installed the Ubuntu 20.04.1 again and I have made all the recommended upgrades except of these for kernel. Everything is working correct. lsb_release -a --> Ubuntu 20.04 .3 LTS. One of the package bellow cause me the problem.
1) Complete Generic Linux kernel and headers
2) Generic Linux kernel headers
3) Generic Linux kernel image
4) Header file related to Linux kernel version 5.11.0
5) Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
6) Linux kernel headers for version 5.11.0 on 64 bit x86 SMP
7) Signed kernel image generic

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

If you have started with Ubuntu 20.04.1 and then installed an upgrade, then you should have older versions of the kernel available. It does not matter how old the computer is.

What version is your current kernel?
What is the output of

uname -a
dpkg -l | grep ' linux'

Revision history for this message
Georgios Valeras (gvaleras) said :
#7

uname -a
Linux esauser-pc 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

dpkg -l | grep ' linux'
ii linux-base 4.5ubuntu3.6 all Linux image base package
ii linux-firmware 1.187.16 all Firmware for Linux kernel drivers
ii linux-generic-hwe-20.04 5.4.0.42.46 amd64 Complete Generic Linux kernel and headers
ii linux-headers-5.4.0-42 5.4.0-42.46 all Header files related to Linux kernel version 5.4.0
ii linux-headers-5.4.0-42-generic 5.4.0-42.46 amd64 Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii linux-headers-generic-hwe-20.04 5.4.0.42.46 amd64 Generic Linux kernel headers
ii linux-image-5.4.0-42-generic 5.4.0-42.46 amd64 Signed kernel image generic
ii linux-image-generic-hwe-20.04 5.4.0.42.46 amd64 Generic Linux kernel image
ii linux-modules-5.4.0-42-generic 5.4.0-42.46 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-modules-extra-5.4.0-42-generic 5.4.0-42.46 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-sound-base 1.0.25+dfsg-0ubuntu5 all base package for ALSA and OSS sound systems

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

I do not know why, but it seems that the 5.11.0-* kernel does not work on your system (or your system does not work with the 5.11.0-* kernel).

I suggest that you change the package management system on your computer in a way that it does not upgrade to the 5.11.0-* version of the kernel, but stays on 5.4.0-*

Execute the commands
sudo apt purge linux-generic-hwe-20.04
sudo apt install linux-generic

After doing that an attempt to upgrade the packages should offer the 5.4.0-81 version of the kernel packages, but no more the 5.11.0-* version.

Can you help with this problem?

Provide an answer of your own, or ask Georgios Valeras for more information if necessary.

To post a message you must log in.