OS Manuals

/usr/bin/kernel-bootcfg

Commands for virt-firmware installed for python3.13

From py3.13-virt-firmware-bin 26.10-r0 (enterprise-packages), captured 2026-11-08 by running kernel-bootcfg --help (exit 0). permalink

usage: kernel-bootcfg [-h] [-l LEVEL] [--vars FILE] [--show] [-v] [--add-uki FILE]
                      [--update-uki FILE] [--remove-uki FILE] [--cleanup-uki] [--cmdline CMDLINE]
                      [--boot-ok] [--update-csv] [--add-uri URI] [--remove-entry NNNN] [--once]
                      [--boot-order POS] [--dry-run] [--title TITLE] [--shim FILE]
                      [--print-loader] [--print-stub-info] [--print-stub-image]

Show and manage uefi boot entries.

options:
  -h, --help            show this help message and exit
  -l, --loglevel LEVEL  set loglevel to LEVEL
  --vars FILE           read edk2 vars from FILE
  --show                print boot configuration
  -v, --verbose         print more details

update unified kernel image (UKI) boot entries:
  --add-uki FILE        add boot entry for UKI image FILE
  --update-uki FILE     update boot entry for UKI image FILE
  --remove-uki FILE     remove boot entry for UKI image FILE
  --cleanup-uki         remove stale UKI entries
  --cmdline CMDLINE     override UKIs cmdline when adding boot entry (ignored when Secure Boot is
                        enabled)
  --boot-ok, --boot-successful
                        boot is successful, add BootCurrent to BootOrder.
  --update-csv          update BOOT.CSV

update other boot entries:
  --add-uri URI         add boot entry to netboot URI
  --remove-entry NNNN   add remove entry NNNN

options for boot entry updates:
  --once, --boot-next   boot added/updated entry once (using BootNext)
  --boot-order POS      place added/updated entry at POS in BootOrder (0 is first)
  --dry-run             do not actually update the configuration
  --title TITLE         label the entry with TITLE
  --shim FILE           use shim binary FILE

print system information:
  --print-loader        print boot loader name
  --print-stub-info     print efi stub info
  --print-stub-image    print efi stub image
Options (22)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-l, --loglevel LEVELset loglevel to LEVELhelp
--vars FILEread edk2 vars from FILEhelp
--showprint boot configurationhelp
-v, --verboseprint more detailshelp
--add-uki FILEadd boot entry for UKI image FILEhelp
--update-uki FILEupdate boot entry for UKI image FILEhelp
--remove-uki FILEremove boot entry for UKI image FILEhelp
--cleanup-ukiremove stale UKI entrieshelp
--cmdline CMDLINEoverride UKIs cmdline when adding boot entry (ignored when Secure Boot is enabled)help
--boot-ok, --boot-successfulboot is successful, add BootCurrent to BootOrder.help
--update-csvupdate BOOT.CSVhelp
--add-uri URIadd boot entry to netboot URIhelp
--remove-entry NNNNadd remove entry NNNNhelp
--once, --boot-nextboot added/updated entry once (using BootNext)help
--boot-order POSplace added/updated entry at POS in BootOrder (0 is first)help
--dry-rundo not actually update the configurationhelp
--title TITLElabel the entry with TITLEhelp
--shim FILEuse shim binary FILEhelp
--print-loaderprint boot loader namehelp
--print-stub-infoprint efi stub infohelp
--print-stub-imageprint efi stub imagehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.