Linux "bootctl" Command Line Options and Examples
Control the firmware and boot manager settings

bootctl checks, updates, installs or removes the boot loader from the current system. bootctl status checks and prints the currently installed versions of the boot loader binaries and all current EFI boot variables. bootctl list displays all configured boot loader entries.


Usage:

bootctl [OPTIONS...] status


    bootctl [OPTIONS...] list


    bootctl [OPTIONS...] update


    bootctl [OPTIONS...] install


    bootctl [OPTIONS...] remove




Command Line Options:

-h
Print a short help text and exit.
bootctl -h ...
--version
Print a short version string and exit.
bootctl --version ...
--path
Path to the EFI System Partition (ESP). If not specified, /efi, /boot, and /boot/efi are checked in turn. It is recommended tomount the ESP to /boot, if possible.
bootctl --path ...
-p
This option modifies the behaviour of status. Just print the path to the EFI System Partition (ESP) to standard output and exit.
bootctl -p ...
--no-variables
Do not touch the EFI boot variables.EXIT STATUSOn success, 0 is returned, a non-zero failure code otherwise.
bootctl --no-variables ...