EFI in QEMU

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Griwes
Member
Member
Posts: 374
Joined: Sat Jul 30, 2011 10:07 am
Libera.chat IRC: Griwes
Location: Wrocław/Racibórz, Poland
Contact:

EFI in QEMU

Post by Griwes »

Hello,

I followed (quite simple) steps from this blog post and copied EFI shell as said here; QEMU (0.14, from ubuntu repositories) runs, but remains black. I tried various options, including those mentioned on UEFI page on wiki, but with no success with booting into EFI shell.

Does anyone have any working solution for starting EFI in QEMU?
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: EFI in QEMU

Post by Combuster »

It seems that stock qemu insists on emulating an IBM PC compatible system, and that you need a special built rom that will actually deal with the issue.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: EFI in QEMU

Post by Love4Boobies »

OVMF, however, is UEFI---which is not fully backwards compatible with EFI (I've documented at least some of the changes here). I remember being able to make QEMU work with this a few years back; I can't remember which versions of either I used so don't shout at me if it doesn't work anymore.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
User avatar
Griwes
Member
Member
Posts: 374
Joined: Sat Jul 30, 2011 10:07 am
Libera.chat IRC: Griwes
Location: Wrocław/Racibórz, Poland
Contact:

Re: EFI in QEMU

Post by Griwes »

Thanks, OVMF seems to be the way to go.
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
Post Reply