summaryrefslogtreecommitdiffstats
path: root/documentation/how to run OVMF
blob: 9776c9eee490f733d566120cbd350fbc9b253530 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- Create a directory for the *.efi applications. The name is "hda-contents"

1. With qemu-system-x86_64 command:

- Create OVMF.fd -> rename it to bios.bin

- Either place it into the same directory from where the command is executed
	or specify the path to bios.bin as argument to -L

run qemu-system-x86_64 -L . -hda fat:hda-contents -net none // TODO not possible to boot into EFI shell



2. With kvm command:

run sudo kvm -bios OVMF.fd -hda fat:hda-contents -net none // boots into UEFI Shell