Page 1 of 1
[SOLVED] 64-bits UEFI support in emulators
Posted: Sun Sep 16, 2012 3:34 pm
by Shibata
Hi,
Has anyone successfully used an emulator with Long Mode UEFI support? I wanted UEFI for testing (and I have no UEFI machine), but can't get a emulator working. Virtualbox doesn't support Long Mode in my computer and qemu doesn't boot (only shows a black screen). I'm using the UEFI image provided in qemu site (
http://wiki.qemu.org/Testing), using "qemu-system-i386 -bios uefi_bios.bin -hda efi.disk" and "qemu-system-x86_64 -bios uefi_bios.bin -hda efi.disk", but neither work.
Re: 64-bits UEFI support in emulators
Posted: Sun Sep 16, 2012 3:48 pm
by turdus
Yes, VirtualBox does it reasonably good. Not perfect, but it will do what you want. If you can't get VB to do so, read manuals or forums. Shouldn't be more than creating a 64 bit vm and checking "EFI support" in it's configuration window.
Re: 64-bits UEFI support in emulators
Posted: Sun Sep 16, 2012 4:11 pm
by Shibata
turdus wrote:Shouldn't be more than creating a 64 bit vm and checking "EFI support" in it's configuration window.
I can't use 64-bit in Virtualbox. From the Vb FAQ:
Code: Select all
Q: Does VB support 64 bit guests?
A: Support for 64 bit guests was introduced at version 2.0.0. If you wish to create 64 bit guests then we recommend that you upgrade to the latest version. Note that VirtualBox also supports 64-bit guest operating systems, under the following conditions:
You need a 64-bit processor with hardware virtualization support (see User Manual chapter 1.2, Software vs. hardware virtualization (VT-x and AMD-V), page 10) and a 64-bit host operating system.
NOTE: Since version 2.1.0, you can run 64 bit Guests while running a 32 bit Host. The prior requirement for Operating System is only for version 2.0.x. You still need the proper hardware.
I don't have a 64 bit machine and I don't have hardware virtualization. Even if I had, I would prefer qemu or bochs.
[EDIT:]
I can't believe how stupid I am... I've been trying to get the qemu image working for two days... Now I tried the OVMF image from
https://sourceforge.net/apps/mediawiki/ ... title=OVMF and it works fine! Thanks for trying to help!
[/EDIT]