root_boot

Crates.ioroot_boot
lib.rsroot_boot
version0.1.3
created_at2025-10-27 14:48:59.856316+00
updated_at2025-10-28 15:21:10.922087+00
descriptionA CLI tool that allows you to restart your PC and then auto-boot into a selected device.
homepage
repositoryhttps://github.com/execRooted/root_boot
max_upload_size
id1903060
size28,274
rooted (execRooted)

documentation

README

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

Commit count: 0

cargo fmt