BootForge = Rufus + Ventoy + Rescue OS + Disk Doctor + Boot Intelligence
An industrial-grade, memory-safe cross-platform boot-media engineering platform and standalone recovery operating environment by Botdigit. Drop any disk imageβBootForge deeply analyzes it, deduces firmware compatibility, safely crafts multi-boot storage media, tests it in automated virtual environments, and provides a full-featured live Recovery OS when systems fail.
- π’ Official Publisher: https://botdigit.com
- π Official Landing Page & Simulator: https://boot.botdigit.site/
- π macOS Universal DMG: BootForge-macOS.dmg (Apple Silicon & Intel)
- πͺ Windows 64-bit EXE: BootForge-Setup-x64.exe
- π§ Linux AppImage & Deb: BootForge Linux Releases
- π¦ Install CLI via Cargo:
cargo install bootforge-cli
- β‘ Run Local Web Engine:
cargo run -p bootforge-cli -- serve --port 41020
- Product Vision & Engineering Scope
- Unified 4-Product Ecosystem
- Technology Stack & Architectural Strategy
- Platform-Specific Storage Adapters & Device Capabilities
- Firmware & Hardware Realities: Apple Silicon vs. PC vs. Intel Mac
- 10-Layer Boot Intelligence Engine
- Intelligent Storage Strategy & Boot Matrix
- OperationPlan, Safety Transaction Engine & Journaling
- BootForge Recovery OS & OS Doctor
- Automated QEMU Empirical Validation & Compatibility DB
- Repository Structure & Crate Hierarchy
- Development Roadmap & Verification Matrix
- Current CLI & REST Reference
- License & Engineering Credits
Traditional bootable media utilities are either single-ISO flashers (Rufus / Etcher) or platform-locked scripts without safety or recovery layers.
BootForge provides a complete end-to-end boot engineering workflow:
BOOTFORGE
β
βΌ
Drop an ISO here
β
βΌ
Boot Intelligence
β
ββββββββββββββΌββββββββββββββ
β β β
What OS? Architecture? Boot?
β β β
ββββββββββββββΌββββββββββββββ
βΌ
Strategy Selection
β
βΌ
Drive Intelligence
β
βΌ
Safety Transaction
β
βΌ
Build USB/SSD
β
βΌ
Verify
β
βΌ
QEMU Test
β
βΌ
ββββββββ΄βββββββ
β β
PASS REVIEW
β
βΌ
BOOTFORGE DRIVE
β
ββββββββΌβββββββββ
β β β
Windows Linux Recovery
β
βΌ
OS DOCTOR
β
ββββββββββΌβββββββββ
β β β
Repair Recover Diagnose
BootForge is architected as four products sharing a common Rust Core Engine:
BOTDIGIT BOOTFORGE
β
ββββββββββββββββββββΌβββββββββββββββββββ
β β β
Desktop App Android App BootForge OS
β β β
ββββββββ΄βββββββ β ββββββββ΄βββββββ
β β β β β
macOS Windows Android USB/SSD Recovery
(Intel/M) (10/11) (OTG) (Multi-Boot) (Live OS)
β β β β β
ββββββββ¬βββββββ β ββββββββ¬βββββββ
β β β
ββββββββββββββββββββΌβββββββββββββββββββ
β
RUST CORE ENGINE
β
ββββββββββββββ¬ββββββββββββΌββββββββββββ¬βββββββββββββ
β β β β β
Analyzer Storage Boot Engine Safety Network
β β β β β
ISO GPT/MBR UEFI Guards Downloads
UDF FAT/NTFS GRUB Verify SHA256
WIM/ESD exFAT EFI/Shim Backup Catalog
IMG/RAW SMART Windows Rollback Updates
VHD/VHDX USB/NVMe Doctor Audit Log Metadata
- Framework: Tauri 2 + Rust + React / TypeScript (Tailwind CSS + Glassmorphism).
- Communication: Direct Rust FFI commands with zero network overhead.
- Optional Daemon: Embedded Axum 0.8 REST server for automation, CLI plugins, and remote scripting.
- Framework: Kotlin + Jetpack Compose UI with Rust bridge via JNI / UniFFI.
- Scope: Hardware-dependent mobile emergency rescue creator operating over Android USB Host with userspace SCSI/BOT transport on supported OTG configurations.
- Model: UEFI 2.11 FAT32 ESP + dynamic data partitions (exFAT / NTFS / ext4).
- Workflow: Drop ISOs, WIMs, and VHDs into the
/imagesdirectory; the dynamic bootloader indexes payloads at boot time.
- Model: Dedicated live operating environment (Linux Kernel + BusyBox + standalone Rust userspace daemons) embedded on the USB drive.
- Independence: Fully self-contained; operates bare-metal when the host computer's OS or desktop utility is completely inaccessible.
| Subsystem | Technology | Strategic Role |
|---|---|---|
| Core Engine | Rust 2021 / 2024 | Memory-safe disk I/O, partition table manipulation, binary header parsing. |
| Async Runtime | Tokio 1.x | Multi-threaded async runtime for concurrent streaming, hash computation, background jobs. |
| Desktop Shell | Tauri 2 (Rust + Webview) | Cross-platform desktop shell with direct Rust FFI commands. |
| Desktop UI | React + TypeScript + Tailwind | Modular, capability-driven UI with real-time transfer telemetry. |
| Android Shell | Kotlin + Jetpack Compose | Native Android UI leveraging android.hardware.usb.UsbManager with UniFFI. |
| Recovery OS Kernel | Linux LTS Kernel | Universal hardware compatibility (NVMe, SATA, Wi-Fi, Ethernet, GPUs). |
| Recovery Userspace | Standalone Rust Daemons | Safe recovery agents for partition repair, file undelete, network tests, disk cloning. |
| Virtual Testing | QEMU (UEFI / BIOS) | Headless and interactive automated empirical boot validation. |
| Local Database | SQLite (Rusqlite / SQLx) | Local telemetry cache and offline Compatibility Database. |
| CLI Framework | Clap 4.5 (Derive) | Full headless automation and terminal scripting interface. |
Low-level block I/O is abstracted through the StorageDevice trait, supported by platform-specific adapters:
pub trait StorageDevice: Send + Sync {
fn identity(&self) -> DeviceIdentity;
fn capabilities(&self) -> DeviceCapabilities;
fn partitions(&self) -> Result<Vec<PartitionDetail>>;
fn unmount_all(&self) -> Result<()>;
fn lock(&self) -> Result<()>;
fn unlock(&self) -> Result<()>;
fn raw_read(&self, offset: u64, buf: &mut [u8]) -> Result<usize>;
fn raw_write(&self, offset: u64, buf: &[u8]) -> Result<usize>;
fn flush(&self) -> Result<()>;
fn eject(&self) -> Result<()>;
} StorageDevice Trait
β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
β β β
ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ
β Windows β β macOS β β Linux β
β Win32 IOCTL β β Disk Arbitr. β β udev / block β
ββββββββ¬ββββββββ ββββββββ¬ββββββββ ββββββββ¬ββββββββ
β β β
βΌ βΌ βΌ
CreateFileW() DASessionCreate() /dev/disk/by-id/
DeviceIoControl() DADiskUnmount() libblkid / udisks2
FSCTL_LOCK_VOLUME IOKit USB Speeds Direct O_DIRECT
Instead of presenting universal action buttons, the UI dynamically reflects what each device safely supports:
pub struct DeviceCapabilities {
pub can_raw_write: bool,
pub can_partition: bool,
pub can_unmount: bool,
pub has_smart_telemetry: bool,
pub supports_trim: bool,
pub supports_hardware_eject: bool,
pub is_usb_mass_storage: bool,
pub is_nvme: bool,
pub is_bootable: bool,
}BootForge enforces exact firmware distinctions to eliminate false universal boot claims:
| Platform | Firmware / Boot ROM | Boot Mechanism | BootForge Policy |
|---|---|---|---|
| Standard PC (x86_64) | UEFI 2.x / 2.11 + CSM BIOS | Direct NVRAM / El Torito / Shim | Full Universal Multi-Boot (GRUB2 / WIMBOOT / Direct) |
| Intel Mac (x86_64) | Apple EFI (Intel UEFI 2.x) | Option-Key Bootloader (boot.efi) |
Full Multi-Boot (Apple EFI Chainloader + Windows + Linux) |
| Apple Silicon (M1βM4) | Apple Boot ROM |
LocalPolicy + RecoveryOS Auth | Conditional Intelligence: Prepares ARM64 media; explicitly informs user of RecoveryOS authorization requirements. |
| ARM64 PCs (Snapdragon X) | Qualcomm UEFI 2.x + Secure Boot | UEFI AArch64 Shim (BOOTAA64.EFI) |
Native ARM64 Multi-Boot (ARM64 Windows / Linux PE) |
platform/
βββ macos/
β βββ intel/ # Apple EFI 64-bit chainloading
β βββ apple_silicon/ # Asahi / ARM64 policy & LocalPolicy advisory
βββ windows/ # Win32 DeviceIoControl & Storage IOCTLs
βββ linux/ # udev, libblkid, direct block I/O
βββ android/ # USB Host OTG userspace SCSI/BOT transport
BootForge combines 9 layers of static deduction with Layer 10 empirical validation:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 10-LAYER BOOT INTELLIGENCE β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Layer 1: File Validation β Magic bytes, WIM header, VHD footer, hashes
Layer 2: Filesystem Analysis β ISO 9660 PVD/SVD, UDF descriptors, FAT/exFAT
Layer 3: Partition Maps β MBR (0x55AA), GPT headers, protective MBR
Layer 4: Bootloader Artifacts β El Torito catalog, EFI/BOOT/, GRUB, BCD, syslinux
Layer 5: Binary Architecture β PE Machine header / ELF machine header analysis
Layer 6: Security Signatures β Microsoft UEFI CA, Shim x64, MokManager, MOK
Layer 7: OS Identification β Version strings, kernel patterns, package manifests
Layer 8: Hardware Feasibility β BIOS, UEFI, x86_64, ARM64, Apple Silicon, TPM 2.0
Layer 9: Strategy Selector β RAW_WRITE, GRUB_LOOPBACK, EFI_CHAIN, WIMBOOT, SWM
Layer 10: Empirical Validation β Automated QEMU boot test (UEFI + BIOS)
BootForge distinguishes heuristic prediction from verified test evidence:
- Compatibility Score (0β100%): Static structural evaluation based on file headers, EFI binaries, and signatures.
- Boot Confidence:
- High: Static evaluation passed AND Layer 10 QEMU boot test passed.
- Medium: Static evaluation passed, but empirical test has not yet run.
- Low: Missing bootloader artifacts or firmware quirks detected.
Per UEFI 2.11 removable media specifications, the EFI System Partition (ESP) is strictly FAT32 with architecture-specific paths:
EFI/BOOT/BOOTX64.EFI(x86_64)EFI/BOOT/BOOTAA64.EFI(ARM64 / AArch64)EFI/BOOT/BOOTIA32.EFI(IA-32)
The data partition filesystem is selected dynamically based on payload requirements:
Image & Goal Input
β
βΌ
βββββββββββββββββββββββββββββββββββ
β Storage Strategy Engine β
ββββββββββββββββββ¬βββββββββββββββββ
β
ββββββββββββββββββββββββββΌβββββββββββββββββββββββββ
βΌ βΌ βΌ
βββββββββββββββββ βββββββββββββββββ βββββββββββββββββ
β Universal GPT β β Windows-Heavy β β Direct Raw β
β ESP: FAT32 β β ESP: FAT32 β β Sector Copy β
β DATA: exFAT β β DATA: NTFS β β Hybrid ISO β
βββββββββββββββββ βββββββββββββββββ βββββββββββββββββ
All disk modifications execute through a strictly staged OperationPlan:
[ Analyzer ] βββΆ [ Planner ] βββΆ [ Safety Validator ] βββΆ [ User Approval ]
β
βΌ
[ Post-Verify ] βββ [ Commit ] βββ [ Atomic Executor ] βββββββββββ
Every operation logs state to /.bootforge/journal/ on the storage media:
- Preconditions: Device identity match, unmount confirmation, capacity check.
- Metadata Backup: Snapshots of existing GPT, MBR, and partition tables.
- State Machine:
RUNNING,PAUSED,CANCELLED,INTERRUPTED,COMMITTED,ROLLED_BACK. - Resumable Transfers: Interrupted multi-gigabyte ISO transfers resume from the verified byte offset rather than restarting.
BootForge Recovery OS is a standalone, bare-metal operating environment (Linux LTS Kernel + BusyBox + native Rust daemons) embedded on the boot drive.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β BOOTFORGE RECOVERY OS DAEMON β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β 1. π©Ί OS Doctor (Scan, Diagnose, Plan, Backup, Fix) β
β 2. πͺ Windows Boot Manager & BCD Reconstruction β
β 3. π§ Linux GRUB2 & EFI Variable Repair β
β 4. βοΈ Partition Table Repair (GPT / MBR) β
β 5. πΎ Bare-Metal Disk Cloning (Disk β Disk / Image) β
β 6. π File Recovery & Undelete (FAT/NTFS/exFAT/ext4) β
β 7. π Authorized System & Account Recovery β
β 8. π§Ή Secure Disk Sanitizer & Drive Eraser (NIST SP) β
β 9. π§ Standalone Memory Diagnostics (MemTest86+) β
β 10. π Emergency Network Diagnostics & Remote Shell β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Never applies unprompted destructive changes. Follows a 6-stage pipeline:
BootForge integrates headless QEMU testing to capture structured telemetry:
{
"image_fingerprint": "a3f8c1...9b2",
"firmware": "UEFI_2.11",
"architecture": "x86_64",
"secure_boot": true,
"boot_success": true,
"boot_time_ms": 3840,
"detected_loader": "GRUB_2.12",
"error": null
}This telemetry powers the offline/cloud BootForge Compatibility Database, providing empirical confidence ratings and quirk workarounds for thousands of distributions.
bootforge/
βββ Cargo.toml # Cargo Workspace Manifest
βββ crates/
β βββ bootforge-core/ # Core types, DeviceIdentity, error types
β βββ bootforge-analyzers/ # 10-layer ISO/UDF/WIM/ELF/PE analyzer
β βββ bootforge-engines/ # GRUB2, EFI layout, Windows BCD engines
β βββ bootforge-safety/ # Transaction engine, system guards, rollback
β βββ bootforge-managers/ # Device scanners, S.M.A.R.T., streaming
β βββ bootforge-recovery/ # OS Doctor, repair algorithms, cloning
β βββ bootforge-catalog/ # Curated downloads, compatibility database
β βββ bootforge-qemu/ # Automated VM test harness
β βββ bootforge-cli/ # Terminal interface & optional REST daemon
βββ apps/
β βββ desktop/ # Tauri 2 + React + TypeScript App
β βββ android/ # Kotlin + Jetpack Compose Mobile App
β βββ recovery-os/ # BootForge Live Recovery OS builder
βββ boot/
β βββ efi/ # Architecture-aware EFI binaries (x64/aa64)
β βββ themes/ # Glassmorphism boot themes
βββ tests/ # Integration & automated QEMU test suites
βββ docs/ # Architectural blueprints & specs
| Phase / Component | Automated Test Suite | Physical Hardware Matrix | Status |
|---|---|---|---|
| Phase 1: Rust Core & CLI | cargo test --workspace (24 passing) |
macOS Darwin, Win32, Linux block | Verified |
| Phase 2: Tauri Desktop Studio | End-to-end Tauri test harness | Windows 11, macOS M-Series, Ubuntu | In Progress |
| Phase 3: BootForge Media | Partition layout test harness | SanDisk, Samsung NVMe, Kingston | Planned |
| Phase 4: Intelligence & QEMU | Headless QEMU test harness | Intel PC, AMD PC, Apple Silicon | Planned |
| Phase 5: Recovery OS | Live boot test harness | Bare-metal recovery test matrix | Planned |
| Phase 6: Android Companion | Android instrumentation tests | Samsung, Pixel USB-C OTG matrix | Planned |
| Phase 7: Native Rust Microkernel | no_std kernel test suite | QEMU x86_64 / AArch64 bare-metal | Research |
# Scan and list all storage devices with safety flags and bus speeds
bootforge devices
# Deep inspect partition tables, S.M.A.R.T. health, and installed ISOs
bootforge analyze-device disk4
# Run 10-layer deep inspection on an ISO image
bootforge analyze /path/to/ubuntu-24.04-desktop-amd64.iso
# Launch the desktop web interface / REST API daemon
bootforge ui --port 4242Botdigit BootForge is open-source software licensed under the MIT License.
Engineered with β‘ by the Botdigit Engineering Team.
