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
- Bootctl is a command-line tool used in Linux-based operating systems to manage the system's boot loader.
- It belongs to the systemd-boot bootloader, which is a part of the systemd init system.
- Bootctl allows users to view and modify the boot configuration of their system.
- The tool provides information about the current boot loader configuration, such as the default boot entry, available entries, and file paths.
- Users can set the default boot entry to specify which operating system or kernel version should boot by default.
- It enables users to add, remove, or modify boot entries, helping to manage multiple operating systems on the same machine.
- Bootctl works with EFI (Extensible Firmware Interface) systems and supports the boot loader configurations stored in the EFI system partition.
- 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.
- Bootctl also provides validation checks to ensure the correctness of the boot loader configuration and reports errors if any issues are found.
- 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 listtry on your machineexplain 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 machineexplain this command
-
bootctl:tldr:a4161 bootctl: Install `systemd-boot` into the EFI system partition.$ sudo bootctl installtry on your machineexplain this command
-
bootctl:tldr:d7f98 bootctl: Show information about the system firmware and the bootloaders.$ bootctl statustry on your machineexplain this command
-
bootctl:tldr:e681a bootctl: Remove all installed versions of `systemd-boot` from the EFI system partition.$ sudo bootctl removetry on your machineexplain 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 truetry on your machineexplain this command