Skip to content

Getting a copy of EDK II's OVMF

SamJakob edited this page Apr 3, 2023 · 2 revisions

A copy of EDK II's OVMF firmware (for running UEFI in a virtual machine), can be found easily from the Arch Linux package repository.

If you find that you need to obtain this manually for some system (or on arch), simply extract the package and locate usr/share/edk2/x64/OVMF.fd within the package (relative to the root of the package).

Then, copy this file to one of the following well known locations on your system:

  • /usr/share/qemu/OVMF.fd
  • /usr/local/share/qemu/OVMF.fd
  • /usr/share/edk2/x64/OVMF.fd
  • /opt/local/share/edk2/x64/OVMF.fd (intended for macOS)

We've attempted to cover all possible locations for this file, however the list seems to expand on pretty much every system we've set this up on, this should cover Arch Linux and Ubuntu out of the box, but macOS will require the file to be manually copied. Other systems might require this file to be copied, symlinked or otherwise into one of the above locations (otherwise it's a wild goose chase with OVMF).

Clone this wiki locally