Comment 23 for bug 1918265

Revision history for this message
Luiz Agostinho (luiz-agostinho) wrote :

Hi,

Greg's solution fixed it in my environment, I used the commands below on an Ubuntu 22.04:

# mkdir /boot/efi/EFI/custom/
# cp /boot/initrd.img-$(uname -r) /boot/efi/EFI/custom/
# cp /boot/vmlinuz-$(uname -r) /boot/efi/EFI/custom/vmlinuz-$(uname -r).efi
# efibootmgr -c -d /dev/sda -p 1 -L "Ubuntu Linux EUFI Direct Boot" -l "\EFI\custom\vmlinuz-$(uname -r).efi" -u "root=/dev/mapper/vg-root ro crashkernel=auto resume=/swap.img rd.lvm.lv=vg/root initrd=\EFI\custom\initrd.img-$(uname -r)"

In Greg's post there is a service that runs to deal with Kernel updates.

Thanks Greg!