QEMU EFI

From MK Wiki EN
Revision as of 17:19, 28 June 2018 by MkWikiEnSysOp (talk | contribs) (2 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Prerequisites

On Debian and Ubuntu, install "ovmf":

apt-get install ovmf

Starting up

qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -enable-kvm -no-fd-bootchk -net nic,macaddr=52:54:AA:BB:CC:DD \
  -net bridge,br=virbr0 -m 1024 -smp 2 -usb -usbdevice tablet -drive file=/dev/sde

The boot device must have an EFI file in "/EFI/BOOT/". See How to boot EFI kernel using QEMU (kvm)?

Bold items: Replace according to your needs