UPDATE-BOOTLOADER(8)
πΈ UPDATE-BOOTLOADER(8) β the update-bootloader / pbl glow-up guide πΈ
okay bestie, so this is a page from the System Administration chapter of the manual (section 8, iykyk), and it's literally the whole vibe of managing your boot loader config. no cap, it's shorter than you think. π«Ά
β¨ NAME β¨
update-bootloader, pbl β manage boot loader configuration. that's it, that's the whole job description π
β¨ SYNOPSIS β¨
update-bootloader [OPTIONS] IMAGE
pbl [OPTIONS] IMAGE
β¨ DESCRIPTION β¨
okay so update-bootloader is a light wrapper β think of it as the group chat admin that just unifies some common boot loader configuration tasks so you don't have to talk to every boot loader individually π. and pbl? literally just an alternative name for the same exact program. same girl, different username. π
real talk though: it is not intended to provide a comprehensive API to boot loader configuration. so don't come for it expecting everything, bestie.
most notably, not all options make sense for all boot loaders π β so some flags are gonna be giving nothing on certain loaders. vibe check your loader first.
here's the iconic part: supported boot loaders have a sub directory in /usr/lib/bootloader containing a shell script for each option. so to add support for a new boot loader you literally create a new directoy with its name and add scripts for options you need. yes, "directoy" β that's how the original spells it, we love a typo moment, no cap π«Άβ¨
β¨ OPTIONS β¨
--installβ install (or update) boot loader. note that this does not update the boot loader configuration π« (it's giving "one job at a time").--configβ create (or update) boot loader configuration. this is the config half of the equation π--showβ print current boot loader. peek at your main character π--loaderBOOTLOADER β set current boot loader to BOOTLOADER. supported values:none,grub2,grub2-bls,grub2-efi,systemd-boot,u-boot. note that this only changes a config variable β to actually use the new boot loader, runupdate-bootloader --installandupdate-bootloader --configfr fr. like, actually do it, don't just set it and ghost it π--defaultENTRY β set default boot entry to ENTRY. pick your favorite child π--add-optionOPTION β add OPTION to default boot options. β¨--del-optionOPTION β delete OPTION from default boot options. bye bestie π¦--get-optionOPTION β get OPTION from default boot options. detective mode π--add-kernelVERSION [KERNEL [INITRD]]β add kernel with version VERSION. optionally pass kernel and initrd explicitly. you can be as extra as you want here π--remove-kernelVERSION β remove kernel with version VERSION. not me removing kernels π--default-settingsβ print default kernel, initrd, and boot options. the whole trio, served fresh πΈ--logLOGFILE β log messages to LOGFILE (default:/var/log/pbl.log).--versionβ showupdate-bootloaderversion. π--helpβ write this help text. hi, you're here π«Ά
β¨ LEGACY OPTIONS β¨
these are the vintage ones, bestie. old money πΈ
--reinitβ re-install boot loader. it's literally equivalent to--install --config. two icons in one π--addβ add new entry to boot loader configuration. requires also--name,--image, and--initrdoptions. use--add-kernelinstead β this one's giving deprecated π¬--imageKERNEL β use KERNEL as kernel when adding a boot loader entry.--initrdINITRD β use INITRD as initrd when adding a boot loader entry.--nameVERSION β use VERSION as name for new boot loader entry.--forceβ this option is ignored. literally nothing. it's giving "I'm here but I'm not really here" ππ
β¨ FILES β¨
/etc/sysconfig/bootloaderβ general boot loader related configuration settings. the main character file π/var/log/pbl.logβ default log file. receipts live here π§Ύ/usr/etc/logrotate.d/pblβ logrotate rules for/var/log/pbl.log. keeps your logs fresh and not messy πΈ/usr/lib/bootloaderβ directory with specific config scripts for each supported boot loader. the friend group of shell scripts π«Ά
β¨ EXAMPLES β¨
here's the copy-paste section, bestie, go off:
# display default boot loader
update-bootloader --show
# change default boot loader
update-bootloader --loader systemd-boot
# (re-)install default boot loader
update-bootloader --install
# update boot loader configuration
update-bootloader --config
slay, you did it β¨
β¨ SEE ALSO β¨
bootloader_entry(8). that's the only one listed, go read it when you're done here π
β¨ LINKS β¨
- The Boot Loader Specification:
https://uapi-group.org/specifications/specs/boot_loader_specification - The Discoverable Partitions Specification:
https://uapi-group.org/specifications/specs/discoverable_partitions_specification - grub2:
https://www.gnu.org/software/grub/manual/grub/grub.html - shim:
https://github.com/rhboot/shim - systemd-boot:
https://www.freedesktop.org/software/systemd/man/systemd-boot.html - u-boot:
http://www.denx.de/wiki/U-Boot - UEFI Specification:
https://uefi.org/specifications
okay that's the whole page! this wasupdate-bootloaderversion 1.28, dated 2026-07-28 β bookmark it, screenshot it, tattoo it on your forearm, idc. now go--configyour life together bestie π β¨π π¦ π β π
π¦ where this page comes from
- opensuse-leap 16.0: update-bootloader 1.28-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: update-bootloader 1.28-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: update-bootloader 1.28-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: update-bootloader 1.28-160000.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms