UPDATE-BOOTLOADER(8)

πŸ“¦ version 1.28, in opensuse-leap 16.0

🌸 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 πŸ‘€
  • --loader BOOTLOADER β€” 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, run update-bootloader --install and update-bootloader --config fr fr. like, actually do it, don't just set it and ghost it 😭
  • --default ENTRY β€” set default boot entry to ENTRY. pick your favorite child πŸ’–
  • --add-option OPTION β€” add OPTION to default boot options. ✨
  • --del-option OPTION β€” delete OPTION from default boot options. bye bestie πŸ¦‹
  • --get-option OPTION β€” get OPTION from default boot options. detective mode πŸ”
  • --add-kernel VERSION [KERNEL [INITRD]] β€” add kernel with version VERSION. optionally pass kernel and initrd explicitly. you can be as extra as you want here πŸŽ€
  • --remove-kernel VERSION β€” remove kernel with version VERSION. not me removing kernels πŸ’€
  • --default-settings β€” print default kernel, initrd, and boot options. the whole trio, served fresh 🌸
  • --log LOGFILE β€” log messages to LOGFILE (default: /var/log/pbl.log).
  • --version β€” show update-bootloader version. πŸ‘‘
  • --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 --initrd options. use --add-kernel instead β€” this one's giving deprecated 😬
  • --image KERNEL β€” use KERNEL as kernel when adding a boot loader entry.
  • --initrd INITRD β€” use INITRD as initrd when adding a boot loader entry.
  • --name VERSION β€” 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 πŸ’œ



okay that's the whole page! this was update-bootloader version 1.28, dated 2026-07-28 β€” bookmark it, screenshot it, tattoo it on your forearm, idc. now go --config your life together bestie πŸ’…βœ¨πŸŽ€ πŸ¦‹ 🌈 ⭐ πŸ’–