UKIBOOTCTL(1)
๐ UKIBOOTCTL ๐
okay bestie, welcome to ukibootctl(1) โ she's a User Command, she manages your boot slots, and honestly? she ate. ๐
โจ NAME โจ
ukibootctl โ query and update the active UKIBoot boot slot ๐ฆ
๐ธ SYNOPSIS ๐ธ
ukibootctl [OPTIONS] COMMAND [...]
๐ DESCRIPTION ๐
so ukibootctl queries and manipulates the UKIBoot A/B boot control data that lives in the ukibootctl partition. no cap. she's your girl for poking at the current slot state and for driving the whole A/B update workflow: getting the switch to the inactive slot ready before an update, finalizing that switch afterwards, and marking a slot as successfully booted. iconic behavior, fr fr. ๐
the boot control protocol is modelled on Android Verified Boot v2 โ iykyk. each of the two slots (A and B) carries three lil things it's obsessed with:
- a priority
- a count of remaining boot tries
- a successful-boot flag โ
๐ OPTIONS ๐
--verboseโ show verbose output. she's chatty, let her talk ๐ฃ๏ธ--helpโ show a brief help message and exit. short and sweet, we love her ๐--versionโ show the program version and exit. main character reveal โจ--partition=PATHโ path to theukibootctlpartition. default:/dev/disk/by-partlabel/ukibootctl๐พ
๐ COMMANDS ๐
initโ initialize the boot control data with default values. fresh start, clean slate, new era ๐งdumpโ dump the current boot options for both slots. show me everything, spill the tea โget-activeโ show the current active slot as recorded on disk. who's actually on duty rn ๐get-bootedโ show the slot the running system was booted from, as determined from theandroidboot.slot_suffixkernel command line key. the receipts come from the kernel, not from disk, bestie ๐prepare-switch SLOTโ prepare to switch to SLOT. run this before writing an update to the inactive slot. the other slot is kept bootable and the new slot is marked non-bootable until finalized. it's giving "hold my spot, i'm not ready yet" ๐finalize-switch SLOTโ finalize the switch to SLOT. run this after the update has been written. the new slot is given the highest priority and a fixed number of boot tries. okay now she's ready, slay ๐ฅmark-successful [SLOT]โ mark a boot as successful, clearing the remaining boot tries. if SLOT is omitted, the currently booted slot is used. run this once the system has booted and is known to be healthy. "we're so back" energy ๐
๐ฆ SLOT NAMING ๐ฆ
slots are identified as 0 (slot A, ukiboot_a) and 1 (slot B, ukiboot_b).
like. two slots. that's it. that's the whole naming scheme. periodt. ๐
โญ EXIT STATUS โญ
ukibootctl exits 0 on success and non-zero on failure. so if the number is not zero, something is Not Slaying and you should look into it ๐ญ
๐ฎ SEE ALSO ๐ฎ
ukibootimg(1) โ her sister, go say hi ๐ซถ
๐ AUTHOR ๐
UKIBoot was written by Alexander Larsson <alexl@redhat.com>. a legend, honestly. ๐
this manual page was written by Christopher Obbard <obbardc@debian.org> for the Debian GNU/Linux project. doing the lord's work for the Debian girlies ๐
and that's the whole page, bestie! ukiboot, dated 2026-06-05, page UKIBOOTCTL(1) โ go forth and switch slots responsibly ๐โจ๐ธ
๐ฆ where this page comes from
- ubuntu stonking: ukiboot-tools 0.2.1+git20260604.ec869c7-4build1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms