OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Oct 17, 2017 8:04 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Simplify instructions on how to use QEMU with UEFI
PostPosted: Wed Oct 04, 2017 6:27 am 
Offline

Joined: Wed Oct 04, 2017 5:28 am
Posts: 1
The wiki page on UEFI presents many ways of creating a properly formatted GPT disk image, to be used to boot a UEFI application.

However, QEMU supports treating a local directory as a Virtual FAT filesystem. This feature exists in QEMU 0.11 or newer (so any QEMU from 2009 or newer).

In other words, the whole section can be reduced to:

Code:
qemu-system-x86_64 -drive file=fat:some/uefi/directory,format=raw


I've tested this on QEMU and it's able to properly boot UEFI applications from a directory.

No root required, and it could even be modified to write / create files in the directory (using "file=fat:rw:some/dir").

I would like the opinion of other wiki editors, should these instructions be moved to a new page, or kept there?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group