Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4421

Installed second kernel from source but getting errors booting up

$
0
0

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:

UbuntuAdvanced Options for UbuntuUEFI Firmware settings

If I choose Ubuntu it says:

error: bad shim signatureerror: you need to load the kernel firstPress 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-genericUbuntu, 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 signatureLoading initial ramdiskerror: 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.


Viewing all articles
Browse latest Browse all 4421

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>