Skip to content
buntatoes edited this page Nov 28, 2026 · 1 revision

Cinderboot Logo

Cinderboot Wiki

Cinderboot is a modern, zero-dependency cross-platform bootable USB creator for Linux and Windows, engineered from scratch in pure Go (Go 1.24+, CGO_ENABLED=0, standard library only) under the GNU General Public License v3.0 (GPL-3.0).

Every layer of the imaging stack — block device enumeration and hardware write guards, UDF 1.02 and ISO9660/Rock Ridge/Joliet readers, GPT partition table generation and backup GPT relocation, a streaming FAT32 formatter and FAT12/16/32 reader, lossless >4 GiB Microsoft .wim to .swm splitting, Windows 10/11 autounattend.xml generation, multi-distro Linux UEFI multiboot orchestration, privilege-separated worker IPC, and an embedded desktop UI — ships inside a single ~7 MB static binary with zero third-party Go modules, zero Electron/WebView runtimes, and zero external CLI dependencies (mkfs.*, ntfs-3g, wimlib, 7z, etc.).

Important

Hardware Safety by Default: Cinderboot strictly enumerates removable USB storage devices and blocks internal drives and OS-critical mount points (/, /boot, /boot/efi, /home, C:\, etc.) before opening any block device for writing. Always double-check the selected target USB drive before confirming an erase.


Highlights

  • Zero External Dependencies (go.mod = Go stdlib only): Compiles statically with CGO_ENABLED=0 for both linux/amd64 and windows/amd64, with zero telemetry and zero outbound network requests.
  • Native Windows 10/11 UEFI Secure Boot USBs: Reads official Microsoft Windows ISOs directly via a pure-Go OSTA UDF 1.02 parser, formats a clean GPT + FAT32 layout, losslessly splits >4 GiB sources/install.wim files into install.swm / install2.swm parts on the fly (zero temporary disk space), and boots under strict UEFI Secure Boot with zero third-party bootloader blobs.
  • Windows 10/11 Setup Customization (autounattend.xml): Optional built-in generation of validated autounattend.xml files supporting TPM 2.0 / Secure Boot / RAM / Storage check bypasses, local account creation (BypassNRO), automatic BitLocker prevention, OOBE privacy prompt skipping, and optional preconfigured local Administrator accounts.
  • Linux Hybrid ISOs, Raw Images & Multi-Distro UEFI USBs: Streams hybrid Linux ISOs and .img/.raw/.gz/.bz2/.zip images directly with on-the-fly SHA-256 read-back verification, automatic transient I/O stall recovery, and post-flash Backup GPT relocation for strict UEFI firmware. Combine two or more Linux ISOs into a single Multi-Distro UEFI Multiboot USB with automatic distro detection, PARTUUID-pinned kernel boot entries, and a native UEFI chainload fallback submenu.
  • Desktop UI + Full CLI in One Binary: Run cinderboot with no arguments for the loopback desktop application (127.0.0.1 with per-session cryptographic token auth and Server-Sent Events), or automate workflows from any terminal via list, inspect, flash, and verify.
  • Least-Privilege Elevation: Runs unprivileged for browsing, drive listing, and ISO inspection, elevating a short-lived cinderboot worker process via pkexec/sudo (Linux) or UAC runas (Windows) only during an active flash.

Quick Start

Linux (x86_64)

tar -xzf cinderboot-linux-x86_64.tar.gz && cd cinderboot-linux-x86_64
./cinderboot --install
cinderboot

Windows (x86_64)

Download cinderboot-v0.0.5-win64.exe from GitHub Releases and run it directly — no installation is required.

CLI Examples

# List detected removable USB drives
cinderboot list

# Inspect an ISO or disk image without extracting or mounting it
cinderboot inspect /path/to/image.iso

# Flash a Linux ISO or compressed image with SHA-256 read-back verification
cinderboot flash --image /path/to/linux.iso --device /dev/sdX --verify

# Create a Multi-Distro Linux UEFI USB drive
cinderboot flash --image /path/to/ubuntu.iso --image /path/to/fedora.iso --device /dev/sdX

# Flash a Windows 10/11 ISO with optional autounattend.xml customizations
cinderboot flash --image /path/to/Win11.iso --device /dev/sdX --win-bypass-req --win-bypass-msa

# Verify an already-flashed USB drive against a source image
cinderboot verify --image /path/to/linux.iso --device /dev/sdX

Documentation Index

Page Description
Installation and Quick Start Release downloads, Linux --install/--uninstall & Polkit setup, Windows portable usage, and common workflows
Desktop UI and CLI Reference Complete CLI command/flag reference, desktop UI guide, loopback HTTP API endpoints, and SSE progress events
Architecture and Pure-Go Design 10-package architecture map, end-to-end data flow, and pure-Go GPT, FAT32, UDF 1.02, ISO9660, and stream engines
Flashing Modes and Multiboot Auto-detection rules, Raw streaming & transient recovery, Backup GPT relocation, and Multi-Distro Linux UEFI Multiboot
Windows ISO, WIM Splitting, and AutoUnattend Pure-Go Windows GPT+FAT32 pipeline, lossless streaming .wim to .swm splitting, and autounattend.xml reference
Safety Guards, Security, and Platform Support Hardware write guards, loopback UI hardening, pkexec/UAC worker isolation, and Linux vs. Windows internals
Build, Testing, and Troubleshooting Building from source (Makefile & CI), race-checked unit test suite, contributor rules, and troubleshooting FAQ

Project Links