I have an X1, seems my kernel is 5.14.0-1034-oem. This is a 2004 kernel, but my system is 22.04.4. The kernel has not been updated in a long time. I suppose I need to somehow remove the OEM kernel. I'm not sure how I got this OEM kernel to start with.
when I try sudo apt remove linux-image-5.14.0-1034-oem
it says you're trying to remove the kernel that you are running.
I have all these kernels:
$ dpkg -l | grep -E "^ii.*linux-image"
ii linux-image-5.14.0-1034-oem 5.14.0-1034.37 amd64 Signed kernel image oem
ii linux-image-5.15.0-101-generic 5.15.0-101.111 amd64 Signed kernel image generic
ii linux-image-6.5.0-26-generic 6.5.0-26.26~22.04.1 amd64 Signed kernel image generic
ii linux-image-generic 5.15.0.101.98 amd64 Generic Linux kernel image
ii linux-image-generic-hwe-22.04 6.5.0.26.26~22.04.13 amd64 Generic Linux kernel image
uname -a
in your question. – Artur Meinild Mar 22 '24 at 08:52