I have Ubuntu 22.04, originally with kernel 6.5.0-14-generic.
I followed this guide:
https://phoenixnap.com/kb/build-linux-kernel
to compile and install the latest kernel sources. However, now when I boot up I get this menu:
Ubuntu
Advanced Options for Ubuntu
UEFI Firmware settings
If I choose Ubuntu it says:
error: bad shim signature
error: you need to load the kernel first
Press any key to continue
If I choose Advanced Options for Ubuntu I get:
Ubuntu, with Linux 6.8.0-rc1+
Ubuntu, with Linux 6.8.0-rc1+ (recovery mode)
Ubuntu, with Linux 6.5.0-14-generic
Ubuntu, with Linux 6.5.0-14-generic (recovery mode)
If I choose 'Ubuntu, with Linux 6.8.0-rc1+' I get:
Loading Ubuntu, with Linux 6.8.0-rc1+...
error: bad shim signature
Loading initial ramdisk
error: you need to load the kernel first
If I chose 'Ubuntu, with Linux 6.5.0-14-generic' it works.
When I run find /boot/vmli*
I get:
/boot/vmlinuz
/boot/vmlinuz-6.5.14-generic
/boot/vmlinuz-6.8.0-rc1+
/boot/vmlinuz.old
Where did I go wrong? I just want to understand why this hasn't worked as planned. It feels corrupted.
I'd like to understand how to install different kernels and be able to boot from them seamlessly.