OxyBoot is a simple bootloader written in the Rust programming language using the uefi-rs library. The main goal of this project is to provide an easy-to-understand (and not overly detailed) guide on how bootloaders work and how to write them. Other than that, this project is unlikely to serve any other practical purpose.
The manual is fairly short and (hopefully) fairly easy to understand, but right now it’s suffering a bit from my lack of attention.
You can read the manual in Markdown format or download it as a PDF.
May it serve you well.
Although this example project is functional, please keep in mind that it is intended solely as an illustrative supplement to the manual.
cargo: please follow instructionsqemu: install qemu from your distro repositoriesOVMF: install OVMF from your distro repositories
just simply run ./util build
- use
./util build runto run the bootloader in emulator
The util helper script was tested on Fedora Linux version 42. The path to the OVMF firmware may not be the same on other linux distributions