bootnext is a simple Rust command-line tool to set the next UEFI boot entry to a specific operating system by manipulating UEFI variables.
- Rust toolchain (https://rustup.rs/)
- Administrator/root privileges (required to modify UEFI variables)
- UEFI firmware (not supported on legacy BIOS)
To build for booting windows:
TARGET_OS=windows cargo build --releaseOn Linux:
sudo ./target/release/bootnextOn Windows:
.\target\release\bootnext.exe- The target OS is set using the
TARGET_OSenvironment variable when building the project.
MIT
- Modifying UEFI variables can be risky. Use at your own risk.
- This tool is intended for advanced users familiar with UEFI systems.