#command-line-tool #devices #pc #restart #bootable #auto-boot

app root_boot

A CLI tool that allows you to restart your PC and then auto-boot into a selected device

3 releases

Uses new Rust 2024

0.1.3 Oct 28, 2025
0.1.1 Oct 28, 2025
0.1.0 Oct 27, 2025

#837 in Filesystem

MIT license

20KB
447 lines

root_boot

A CLI tool that allows you to restart your PC and then auto-boot into a selected device.

License: MIT

Installation

Automated Installation

crates.io

cargo install root_boot

Note: You need Rust 1.70+


GitHub

  1. Clone the repository:
git clone https://github.com/execRooted/root_boot.git
cd root_boot
  1. Run the installer:
sudo ./install.sh

The installer will automatically:

  • Install Rust if not present
  • Install it system-wide to /usr/local/bin/root_boot

Uninstallation

cd root_boot
sudo ./uninstall.sh

Usage

Basic Usage

# Run root_boot (will automatically request sudo if needed)
root_boot

The program will:

  1. Check for required privileges;
  2. Detect all bootable devices on your system;
  3. Display them with model names and sizes;
  4. Allow you to select a device by number;
  5. Set the selected device as the boot device;
  6. Reboot the system into that selected device;

Device Selection

  • Devices are displayed as: Model Size (Path)
  • Enter the number corresponding to your desired boot device
  • Enter 0 to exit the program

Requirements

  • Linux: Root privileges (automatically requested)
  • Windows: Administrator privileges (automatically requested)
  • Electricity: ...well you kinda need that

Made by execRooted

Dependencies

~2–12MB
~80K SLoC