Setup

  • Install qemu-system-x86_64, gdisk
  • Install cargo (using rustup is the preferred cross-platform way to get Rust set up on your machine)
  • We also require OVMF_CODE.fd and OVMF_VARS.fd in the root directory to boot QEMU in UEFI mode. These files are omitted due to potential licensing issues (read: I haven't properly looked into it yet).
  • For creating a test disk image automatically, we require mkfs.fat and mkfs.ext4 to be available.

Running

Simply run ./run.sh in the root directory to take care of setting up the environment and running QEMU with the required options.

Description
Very crude implementation of a UEFI bootloader that's supposed to load ELF binaries
Readme 38 KiB
Languages
Rust 97.4%
Shell 2.6%