Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

How A/B boot selection works

The updater writes the inactive system slot. Each slot pairs a read-only store with its verity tree. Configuration lives on a separate writable data partition.

Read the boot state

sentinel show version
bootctl status

On the running appliance, identify the current slot and boot entry before staging a replacement.

Follow an update

flowchart TD
  stage[Stage: write inactive store + verity,<br/>select candidate with +3 tries] --> boot[Reboot: loader tries candidate]
  boot --> health{Boot health checks pass?}
  health -->|yes| bless[Blessed: counter removed,<br/>candidate becomes the working slot]
  health -->|no| left{Tries left?}
  left -->|yes| boot
  left -->|no| prev[Loader boots the previous<br/>blessed slot]
Partition123456
ContentESPverity Astore Averity Bstore Bdata

The previous working slot stays available throughout. The boot mechanism protects against a candidate failing to boot. An operator still has to check management connectivity and forwarding after startup. See the update runbook.

Run the fallback check

nix build .#checks.x86_64-linux.bootfallback -L

Run on a KVM-enabled build host.

Safety boundaries

Fallback needs a previously bootable, blessed slot; a fresh installation with no working predecessor cannot promise automatic recovery. Keep a console and verify the actual selected entry, not only a configured default.

--allow-unsigned permits only an explicitly trusted Community source. It does not bypass active-disk, boot-selection or identical-active-GUID refusal. Native Enterprise appliances reject the Community image writer; use their signed channel workflow.