booting efi

efi | syslinux-efi | kernel efi stub

warning // lessons learnedwarning // lessons learned

kernel efi stub issues

the problem I see for a casual system is that system upgrades won’t change /boot/efi/ but only /boot. leaving the system alone with an older kernel. using yet-another-bootloader (like it is usually done on EFI) solves that.

kernel efi stub doesn’t like qemu+ovmf

autoboot and the efibootmgr -u flag doesn’t work on qemu+ovmf, that’s why syslinux or grub is prefered for KVM guests

failsafe / default setupfailsafe / default setup

mkdir -p lala/boot/efi/EFI/BOOT/

mv -i EFI-BINARY-FILE lala/boot/efi/EFI/BOOT/bootx64.efi

resourcesresources

https://deepwiki.com/zarolxyz/kvm_cpu_patch/5.1-libvirt-xml-domain-configuration#uefi-firmware-configuration

https://www.howtoforge.com/enable-uefi-support-on-kvm-virtualization/

https://itsfoss.gitlab.io/post/enable-uefi-support-for-kvm-virtual-machines-in-linux/

failsafe locationfailsafe location

https://rust-osdev.github.io/uefi-rs/tutorial/vm.html


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Licensed under MIT