Skip to content

Instantly share code, notes, and snippets.

@plembo
Last active February 27, 2023 22:23
Show Gist options
  • Save plembo/00328e41a2cd111a78ecb00bc9280e3c to your computer and use it in GitHub Desktop.
Save plembo/00328e41a2cd111a78ecb00bc9280e3c to your computer and use it in GitHub Desktop.
KVM and UEFI firmware

KVM and UEFI Firmware

A couple of notes on KVM guests using UEFI rather than BIOS (currently the default):

  1. On Ubuntu, the ovmf package is a prerequisite for creating KVM guests that use UEFI (sudo apt install ovmf).
  2. Linux and Windows machines use different firmware files from the OVMF collection:
  • Linux guests use /usr/share/OVMF/OVMF_CODE_4M.fd
  • Windows guests use /usr/share/OVMF/OVMF_CODE_4M.ms.fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment