Skip to content

Installation and Quick Start

buntatoes edited this page Nov 28, 2026 · 1 revision

Installation and Quick Start

Cinderboot is distributed as a self-contained static binary for Linux (x86_64) and Windows (x86_64) with zero external runtime or CLI tool dependencies.


Supported Platforms & Prerequisites

Requirement Linux (amd64) Windows (amd64)
Runtime Dependencies None (static CGO_ENABLED=0 binary) None (static CGO_ENABLED=0 portable .exe)
Privilege Elevation pkexec (Polkit) or sudo (or run as root) Built-in UAC (ShellExecuteExW("runas")) or run as Administrator
Desktop UI Window Chromium, Chrome, Brave, Edge, Vivaldi (--app mode) or xdg-open default browser Microsoft Edge or Chrome (--app mode), falling back to default browser via rundll32.exe
Native File Picker kdialog or zenity (or paste image path directly) Built-in Win32 GetOpenFileNameW (comdlg32.dll)
Build from Source Go 1.24+ Go 1.24+

Installing on Linux (x86_64)

Download cinderboot-linux-x86_64.tar.gz from the latest GitHub Release.

Release Tarball Contents

The release tarball extracts into cinderboot-linux-x86_64/ containing:

File Purpose
cinderboot Static Linux amd64 executable (~7.3 MiB)
LICENSE GNU GPL-3.0 license text
README.md Quick overview and usage summary
cinderboot.desktop XDG desktop entry template
com.buntatoes.cinderboot.policy Optional Polkit action policy (com.buntatoes.cinderboot.flash)
assets/icon.png, assets/icon.svg Application icons (also embedded directly inside the binary)

User-Local Installation (--install)

Cinderboot includes a built-in installer that copies itself and its embedded icons into ~/.local (or a custom directory via the PREFIX environment variable):

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

cinderboot --install writes the following layout under $PREFIX (default ~/.local):

Installed Path Description
$PREFIX/share/cinderboot/cinderboot Installed binary (written atomically via .new rename, mode 0755)
$PREFIX/bin/cinderboot Symlink pointing to $PREFIX/share/cinderboot/cinderboot
$PREFIX/share/cinderboot/icon.png PNG icon referenced by the .desktop launcher
$PREFIX/share/icons/hicolor/scalable/apps/cinderboot.svg Scalable vector icon
$PREFIX/share/icons/hicolor/256x256/apps/cinderboot.png 256×256 raster icon
$PREFIX/share/applications/cinderboot.desktop Desktop menu launcher (Categories=System;Utility;)

If gtk-update-icon-cache or update-desktop-database is available on $PATH, --install automatically refreshes icon and desktop caches.

Tip

Ensure ~/.local/bin is on your $PATH so you can run cinderboot from any terminal. To install into a different prefix (for example, /usr/local), run PREFIX=/usr/local sudo ./cinderboot --install.

Optional Polkit Policy Installation

The tarball includes com.buntatoes.cinderboot.policy defining the com.buntatoes.cinderboot.flash Polkit action (auth_admin_keep for active sessions, auth_admin for inactive/any sessions). Installing it system-wide is optional (standard pkexec works out of the box), and can be done with:

sudo install -m 0644 com.buntatoes.cinderboot.policy /usr/share/polkit-1/actions/

Uninstalling on Linux (--uninstall)

cinderboot --uninstall

This removes the symlink, .desktop file, icons, and binary under $PREFIX (default ~/.local).


Running on Windows (x86_64)

  1. Download cinderboot-v0.0.5-win64.exe from the latest GitHub Release.
  2. Double-click the executable to launch the desktop UI, or invoke it from PowerShell / Command Prompt for CLI operations.
  3. No installer, DLLs, or external tools are required. To remove Cinderboot on Windows, simply delete the .exe file.

Note

Cinderboot opens unprivileged by default and triggers a Windows User Account Control (UAC) prompt only when you confirm and start a flash job.


First-Time Walkthroughs

1. Desktop UI (Linux & Windows)

Run cinderboot with no arguments (or launch Cinderboot from your application menu):

  1. Select Target Removable USB Drive: Insert your USB stick and click Refresh if needed. Internal OS, NVMe, and SATA drives are automatically hidden.
  2. Select Boot Image(s): Click Browse... (or paste a full path and click Inspect) to analyze the .iso, .img, .raw, .gz, .bz2, or .zip file. Cinderboot automatically displays the detected format and recommended mode.
  3. Configure Flash Options: Leave Flash Mode on Auto (Recommended) unless you want to force a specific mode. For raw Linux/disk images, keep Verify written bytes via SHA-256 read-back enabled.
  4. Windows Customizations (Optional): When flashing a Windows 10/11 ISO, check any desired autounattend.xml options (TPM/Secure Boot/RAM bypass, BypassNRO, BitLocker off, skip OOBE privacy, or local admin account).
  5. Confirm & Flash: Click Flash USB Drive, review the destructive write confirmation modal, click Erase & Flash, and approve the OS elevation prompt (pkexec or UAC).

2. Flash a Hybrid Linux ISO or Compressed Disk Image (CLI)

# 1. Identify your removable USB drive
cinderboot list

# 2. Optional: inspect the image first
cinderboot inspect /path/to/ubuntu-24.04-desktop-amd64.iso

# 3. Flash and verify via SHA-256 read-back
cinderboot flash --image /path/to/ubuntu-24.04-desktop-amd64.iso --device /dev/sdX --verify

On Windows, you may specify either the physical drive path (\\.\PhysicalDrive1) or an assigned drive letter (E:):

.\cinderboot-v0.0.5-win64.exe list
.\cinderboot-v0.0.5-win64.exe flash --image C:\ISOs\fedora.iso --device E: --verify

3. Flash a Windows 10/11 ISO with Secure Boot FAT32 & Customizations

cinderboot flash \
  --image /path/to/Win11_24H2_English_x64.iso \
  --device /dev/sdX \
  --win-bypass-req \
  --win-bypass-msa \
  --win-no-bitlocker \
  --win-skip-privacy

Cinderboot automatically detects sources/boot.wim and sources/install.wim, selects windows-fat32 mode, formats the USB as GPT + FAT32, splits install.wim into .swm parts if it exceeds 4 GiB, and writes /autounattend.xml to the USB root.

4. Create a Multi-Distro Linux UEFI USB Drive

Pass --image multiple times (or click + Add Distro (Multiboot) in the desktop UI):

cinderboot flash \
  --image /path/to/ubuntu.iso \
  --image /path/to/fedora.iso \
  --image /path/to/archlinux.iso \
  --device /dev/sdX

Warning

Multi-Distro USB mode supports uncompressed ISO9660 Linux ISOs and requires at least one selected ISO to contain a UEFI GRUB2 bootloader (such as Ubuntu, Fedora, Debian, Mint, Manjaro, Void, or openSUSE). Windows ISOs and compressed .gz/.bz2/.zip images cannot be combined in Multiboot mode.

Clone this wiki locally