Directly run UEFI applications in qemu
This helper application takes an EFI executable, builds a FAT filesystem around it, adds a startup script and runs qemu to run the executable.
It does not require root permissions since it uses the fatfs
crate to build the filesystem image directly without involving mkfs
, mount
,
etc.
uefi-run can be installed from the snapstore:
snap install --edge uefi-run
The confinement of this snap is somewhat strict. It can only access non-hidden files in the user's home directory. Also it has no network access.
You can install cargo and rust using the rustup tool:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
After cargo has been installed you can build and install uefi-run:
cargo install uefi-run
Third-party packages are controlled by their respective maintainers. They are not associated to this project. Use at your own risk.
- AUR PKGBUILD for Arch Linux contributed by @rubo3