Forrest logo
tool overview
On this page you find all important commands for the CLI tool bootctl. If the command you are looking for is missing please ask our AI.

bootctl

  1. Bootctl is a command-line tool used in Linux-based operating systems to manage the system's boot loader.
  2. It belongs to the systemd-boot bootloader, which is a part of the systemd init system.
  3. Bootctl allows users to view and modify the boot configuration of their system.
  4. The tool provides information about the current boot loader configuration, such as the default boot entry, available entries, and file paths.
  5. Users can set the default boot entry to specify which operating system or kernel version should boot by default.
  6. It enables users to add, remove, or modify boot entries, helping to manage multiple operating systems on the same machine.
  7. Bootctl works with EFI (Extensible Firmware Interface) systems and supports the boot loader configurations stored in the EFI system partition.
  8. It enables users to perform tasks like enabling or disabling the boot menu, setting a timeout before the default entry is automatically selected, and configuring the display style of the boot menu.
  9. Bootctl also provides validation checks to ensure the correctness of the boot loader configuration and reports errors if any issues are found.
  10. Overall, bootctl is a useful tool for managing the boot loader in Linux systems, making it easier to configure and control the boot process.

List of commands for bootctl:

  • bootctl:tldr:4d541 bootctl: Show all available bootloader entries.
    $ bootctl list
    try on your machine
    explain this command
  • bootctl:tldr:6ddf5 bootctl: Specify the path to the EFI system partition (defaults to `/efi/`, `/boot/` or `/boot/efi`).
    $ bootctl --esp-path=${-path-to-efi_system_partition-}
    try on your machine
    explain this command
  • bootctl:tldr:a4161 bootctl: Install `systemd-boot` into the EFI system partition.
    $ sudo bootctl install
    try on your machine
    explain this command
  • bootctl:tldr:d7f98 bootctl: Show information about the system firmware and the bootloaders.
    $ bootctl status
    try on your machine
    explain this command
  • bootctl:tldr:e681a bootctl: Remove all installed versions of `systemd-boot` from the EFI system partition.
    $ sudo bootctl remove
    try on your machine
    explain this command
  • bootctl:tldr:e7134 bootctl: Set a flag to boot into the system firmware on the next boot (similar to `sudo systemctl reboot --firmware-setup`).
    $ sudo bootctl reboot-to-firmware true
    try on your machine
    explain this command
tool overview