Glen Pitt-Pladdy :: BlogHome Lab Project: EFI Boot with KVM and libvirt in Debian Jessie | |||
In some cases I want to test EFI booting with KVM and libvirt, however out the box it isn't capable. Also virt-manager 1.0.1 that ships with Debian Jessie isn't EFI aware so a few manual tweaks are needed. Getting UEFI firmwareThere is an Open Source firmware shipped - simply install the ovmf package # apt-get install ovmf Setting upSince virt-manager doesn't have EFI awareness, we've got to manually tweak the config of a VM for this to work. Edit the the .xml describing the VM, for example "virsh edit SomeVirtualMachine" In the .xml find the <os> section and add a <loader> tag something like this: <os> You should now have an EFI capable VM - on the next boot you should see TianoCore running:
|
|||
Disclaimer: This is a load of random thoughts, ideas and other nonsense and is not intended to be taken seriously. I have no idea what I am doing with most of this so if you are stupid and naive enough to believe any of it, it is your own fault and you can live with the consequences. More importantly this blog may contain substances such as humor which have not yet been approved for human (or machine) consumption and could seriously damage your health if taken seriously. If you still feel the need to litigate (or whatever other legal nonsense people have dreamed up now), then please address all complaints and other stupidity to yourself as you clearly "don't get it".
Copyright Glen Pitt-Pladdy 2008-2023
|
Comments: