table of contents
UPDATE-BOOTLOADER(8) | System Administration | UPDATE-BOOTLOADER(8) |
NAME¶
update-bootloader, pbl - manage boot loader configuration.
SYNOPSIS¶
update-bootloader [OPTIONS] IMAGE
pbl [OPTIONS] IMAGE
DESCRIPTION¶
update-bootloader is a light wrapper to unify some common
boot loader configuration tasks.
pbl is an alternative name for the same program.
It is not intended to provide a comprehensive API to boot loader configuration.
Most notably, not all options make sense for all boot loaders.
Supported boot loaders have a sub directory in /usr/lib/bootloader containing a shell script for each option. To add support for a new boot loader create a new directoy with its name and add scripts for options you need.
OPTIONS¶
--install
Note that this does not update the boot loader configuration.
--config
--show
--loader _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.
--default ENTRY
--add-option OPTION
--del-option OPTION
--get-option OPTION
--add-kernel VERSION [KERNEL [INITRD]]
--remove-kernel VERSION
--default-settings
--log LOGFILE
--version
--help
LEGACY OPTIONS¶
--reinit
--add
--image KERNEL
--initrd INITRD
--name VERSION
--force
FILES¶
/etc/sysconfig/bootloader
/var/log/pbl.log
/usr/etc/logrotate.d/pbl
/usr/lib/bootloader
EXAMPLES¶
# 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
SEE ALSO¶
LINKS¶
2025-01-24 | update-bootloader 1.24 |