I must choose a different kernel each time I reboot

Ubuntu Support Template

Ubuntu Version:
24.04.4 LTS

Desktop Environment (if applicable):
XFCE

Problem Description:
This post is hidden. You deleted this post 18 mins ago.

I am using a working Ubuntu 24.04.4 LTS dual boot with Windows 11. Both are independent, on their own M2 with a choice from Grub.

When I boot it now fails, leaving me at the ‘-’. I have to use CTRL/ALT/DEL to get to the kernel options.

The options I have are:

  1. 6.17.0-1012-oem

  2. 6.17.0-1012-oem (recovery)

  3. 6.17.0.19-generic

  4. 6.17.0.19-generic (recovery)

If I choose 6.17.0-1012-oem it fails as above. I choose 6.17.0.19-generic and it boots and works correctly but fails again on reboot.

The install is very recent but the panel was on the wrong monitor and it would disappear, only returning if I clicked on the screen. The computer appears a little slow too.

I found help for the panel but didn’t note the web page. It suggested a different kernel, again I didn’t note but it should be (1) 6.17.0-1012-oem which is default at the moment.

Can anyone assist please?

Relevant System Information:
Disk /dev/nvme1n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors Disk model: INTEL SSDPEKNW512G8
Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 176110A6-54C5-4712-B23C-642A1CA0CB04

Device Start End Sectors Size Type /dev/nvme1n1p1 2048 534527 532480 260M EFI System /dev/nvme1n1p2 534528 796671 262144 128M Microsoft reserved /dev/nvme1n1p3 796672 1820671 1024000 500M Windows recovery environment /dev/nvme1n1p4 1820672 1000214527 998393856 476.1G Microsoft basic data

Disk /dev/nvme0n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors Disk model: WD_BLACK SN770 2TB
Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 2CD72C7A-F81C-4BF9-9E70-F7B027FE7274

Device Start End Sectors Size Type /dev/nvme0n1p1 2048 2203647 2201600 1G EFI System /dev/nvme0n1p2 2203648 3907026943 3904823296 1.8T Linux filesystem

Disk /dev/nvme2n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors Disk model: CT2000P3PSSD8
Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 179492FE-20D4-4021-9F50-F4CCAB2EA026

Device Start End Sectors Size Type /dev/nvme2n1p1 2048 3907028991 3907026944 1.8T Microsoft basic data

1 Like

You might consider removing that, as it seems unintentional.

Q: Why do you have an oem kernel installed?

1 Like

You seem to have a Linux kernel that is not loading to a login screen. You should be seeing a Grub boot menu. Select Advanced options for Ubuntu and select either a Linux kernel with recovery mode and at the recovery menu select Resume.

Or select an earlier kernel. The 16.17.0.19-generic. It seems that the OEM kernel is the default kernel and it is failing to load fully.

Regards.

As the default 6.17.0-19 kernel apparently works for you I also wonder why you have installed that oem kernel version 6.17.0-1012 which is not one that comes from normal updates unless you specifically chose to install it.

Do you need it to overcome some other problem we are not aware of?
If not just remove it and continue to use the default kernel series.

Sorry, but if I knew how I would remove it.

I really don’‘t know why I have an oem kernel installed, nor how to revert to the default kernel for this OS.

The default 6.17.0-19 kernel works for me in as much I can log in but as I said, every time I log out it reverts to 6.17.0-1012, It must be the kernel I installed to correct the panel problem I had immediately after installing the OS recently.

I tried your suggestion to select Resume but never got a resume option. Instead I had a list of options to choose from.

Your suggesttion to select an earlier version kernel is good thank you, but how do I do that please?

If you wish to remove the troublesome kernel, boot into kernel 6.17.0-19, open a terminal and enter

sudo apt remove *6.17.0-1012*

The asterisks are important, the command will find all the dependent kernel packages

Might also need to check dpkg -l|grep linux-oem and remove if it is installed

Thank you.

I did that and now it rebooted.

makem@makem:~$ sudo uname -r
[sudo] password for makem:
6.17.0-19-generic
makem@makem:~$

Marked as solved.

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.