UKIBOOTIMG(1)

πŸ“¦ version 0.2.1+git20260604.ec869c7, in ubuntu stonking

✨ ukibootimg(1) ✨

okay bestie, welcome to the ukibootimg manual page, living in the User Commands section of the manual because that's just where she belongs πŸ’…


πŸ’– NAME πŸ’–

ukibootimg β€” build, inspect and verify UKIBoot slot images πŸŽ€


🌸 SYNOPSIS 🌸

ukibootimg [OPTIONS] COMMAND [...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so ukibootimg is the girl who goes into your UKIBoot partitions and pulls out / snoops on the Unified Kernel Image (UKI) sections stored in there. iconic behaviour honestly ✨

she can read straight from a GPT disk image, or from individual slot partition files if that's more your vibe. what can she actually do? she can:

  • list and extract the PE sections of a UKI
  • print status info about the active slot
  • verify the Authenticode signature of a UKI against a trusted certificate

no cap, that's the whole job. πŸ‘‘


🌈 INPUT MODES 🌈

first things first: you have to give her at least one input source. and listen β€” the --image mode and the individual --bootctl/--boot-a/--boot-b modes are mutually exclusive. it's giving "pick a lane bestie", you literally cannot run both. πŸ™ˆ

  • --image PATH β€” read from a GPT disk image, and she'll go find the slot and control partitions all by herself, main character energy. ✨
  • --bootctl PATH β€” path to the ukibootctl partition or file. this one is what tells her which slot is active. πŸŽ€
  • --boot-a PATH β€” path to the ukiboot_a partition or file.
  • --boot-b PATH β€” path to the ukiboot_b partition or file.

πŸ’… OPTIONS πŸ’…

  • --output-dir DIR β€” the directory she writes extracted sections into. default? the current directory, lowkey convenient. πŸ“
  • --slot a|b β€” force slot A or slot B instead of just going with whatever the active slot is. yes queen, take control. πŸ‘‘
  • --cert PATH β€” the trusted certificate, in PEM format, used for signature verification.
  • --verify β€” verify the UKI signature before extracting. safety first, always. 🫢
  • --verbose β€” show verbose output. she will spill everything. πŸ’€
  • --help β€” show a brief help message and exit.
  • --version β€” show the program version and exit.

⭐ COMMANDS ⭐

  • extract [SECTION...] β€” extract the named PE sections to the output directory. if you don't name any section? she extracts all of them. generous fr fr. πŸ’–
  • list β€” list the PE sections of the UKI, together with their offsets and sizes. ✨
  • status β€” print the active slot, the OS name and version, the kernel version, the kernel command line, and the offset and size of the kernel and initrd. the full tea. β˜•
  • verify β€” verify the Authenticode signature of the UKI against the trusted certificate you handed over with --cert.

πŸ”₯ EXIT STATUS πŸ”₯

ukibootimg exits 0 on success, and non-zero on failure. that's it, that's the whole status report. 😌


🧚 SEE ALSO 🧚

ukibootctl(1)


πŸ’œ AUTHOR πŸ’œ

UKIBoot was written by Alexander Larsson <alexl@redhat.com>.

This manual page was written by Christopher Obbard <obbardc@debian.org> for the Debian GNU/Linux project. 🫢


okay that's the whole page babes, no notes, you're now officially fluent in ukibootimg. this came from the ukiboot manual, dated 2026-06-05, and yes she's still serving UKIBOOTIMG(1) energy. go build something cute πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from