Skip to content

ctrysbita/bootnext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bootnext

bootnext is a simple Rust command-line tool to set the next UEFI boot entry to a specific operating system by manipulating UEFI variables.

Usage

Prerequisites

  • Rust toolchain (https://rustup.rs/)
  • Administrator/root privileges (required to modify UEFI variables)
  • UEFI firmware (not supported on legacy BIOS)

Build

To build for booting windows:

TARGET_OS=windows cargo build --release

Run

On Linux:

sudo ./target/release/bootnext

On Windows:

.\target\release\bootnext.exe

Configuration

  • The target OS is set using the TARGET_OS environment variable when building the project.

License

MIT

Disclaimer

  • Modifying UEFI variables can be risky. Use at your own risk.
  • This tool is intended for advanced users familiar with UEFI systems.

About

One-click setting of the os to boot next time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages