To get qemu-kvm up and running, try the following on a recent Fedora 15 setup:
mkdir efiboot cd efiboot # Get ovmf, a binary providing the efi interface mkdir ovmf cd ovmf wget "http://downloads.sourceforge.net/project/edk2/OVMF/OVMF-X64-r11337-alpha.zip?r=http%3A%2F%2Fsourceforge.net%2Fapps%2Fmediawiki%2Ftianocore%2Findex.php%3Ftitle%3DOVMF&ts=1315395958&use_mirror=dfn" unzip OVMF-X64-r11337-alpha.zip cd .. # Create a seperate folder with all relevant binaries and replace some of them mkdir qemu cd qemu ln -s /usr/share/qemu/* . ln -s ../ovmf/OVMF.fd efi.bin ln -s ../ovmf/CirrusLogic5446.rom vgabios-cirrusefi.bin cd .. # Create an image and try the distribution in question ... qemu-img create -f qed a.img 10G qemu-kvm -L qemu/ -bios efi.bin -m 1024 -hda a.img \ -cdrom ../Fedora-16-Alpha-x86_64-DVD.iso # Expecting this to boot, but after the efi boot manager, the booting after grub (?) stalls ...
It turns out that Fedora won't boot on this qemu-kvm setup, instead Ubuntu worked like a charm - but someone already worked on this a couple of years ago.
The Fedora docs mention that the provided efidisk.img should boot on an EFI based system, but this also did not work as expected. Any hints?
if you find out I'd sure like to know.
ReplyDelete