2  Recipe: boot a verified release image

Field Value
Tool kailash (release images)
Section Getting started
Level easy
Time download 10–30 min
Layer/Category CLASSIC (image matrix)
Tags getting-started, install, images, verification

2.1 Problem

The lab starts from zero. A working Kailash OS system is the goal. The release ships bootable images in two formats per profile: a QEMU disk image (the primary shape) and a bootable ISO. The release publishes the images as release assets on a signed tag. The task: download an artefact and state it is exactly what the project built. Checksums, build provenance and the signed tag must all agree — before anything boots.

2.2 Solution

Pick the target from the declared matrix. Download from the tagged release. Then run the three-step verification chain:

# 1. Download the artefact for your target from the tagged release
#    (e.g. the first release, 2026.01-alpha.1):
#      kailash-2026.01-alpha.1-kailash-qemu-full.qcow2
#    Above-cap artefacts ship split: <…>.part-000 (each chunk ≤1900 MiB)
#    plus a per-part sheet per chunk.

# 2. If chunked, reassemble — then run the whole-file check (the identity check):
sha256sum -c SHA256SUMS-parts-kailash-2026.01-alpha.1-kailash-qemu-full.qcow2
cat kailash-2026.01-alpha.1-kailash-qemu-full.qcow2.part-* > \
    kailash-2026.01-alpha.1-kailash-qemu-full.qcow2
sha256sum -c SHA256SUMS

# 3. Verify build provenance + the signed tag:
gh attestation verify kailash-2026.01-alpha.1-kailash-qemu-full.qcow2 \
    -R kailash-os/kailash-os
git tag -v 2026.01-alpha.1

What success looks like:

  • the whole-file sha256sum -c against SHA256SUMS reports OK for the download — the release sheet is THE authority on artefact identity
  • gh attestation verify confirms SLSA v1.0 build provenance (plus the SPDX SBOM). The provenance builds over the repo’s OIDC identity. The check holds even after a chunk reassembly. The cat step is byte-exact, so the attested subject is preserved
  • git tag -v shows a good GPG signature on the release tag
  • the qcow2 boots in any UEFI-capable hypervisor (a choice of QEMU/KVM, virt-manager, UTM on Apple Silicon). The ISO boots the same profile from optical/USB media

Every artefact is alternatively buildable from the release closure:

nix build github:kailash-os/kailash-os/2026.01-alpha.1#kailash-images-qemu-full

2.3 Discussion

  • Which profile: minimal boots the CORE substrate with no tool categories. redteam-ai is the AI red-team lab scope. full is the complete live catalogue. headless-agent is base + CLI with no desktop. The image name encodes the profile — see First profile and first run for the profile table. The construction enforces the size budgets (≤1.5/4/8/10 GB by target). Heavy corpora live in opt-in kailash-data.* packs, not in the default images — see Refresh wordlists and data packs.
  • Chunked assets are packaging, not fragility: byte-exact split parts + per-part sheets on the same release answer the 2 GiB legacy asset cap. cat reproduces the original bits. The attestation verifies the whole file after reassembly.
  • Aarch64 rows exist: the x86_64 targets use hosted builds. The aarch64 (Apple Silicon native) rows build via the project’s tools/build-arm-images.sh — see the images chapter for the build-from-tag procedure.
  • Trust chain summary: signed tag → SLSA provenance + SBOM per artefact → SHA256SUMS as the whole-file identity. Do not boot a download that fails any link of that chain. Re-download, or build from the tag.

2.4 See also


ref: OS images chapter - verified 2026-10-14.