Forrest logo
back to the bootctl tool

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

The bootctl command you mentioned is used to manage the bootloader configuration on systems that support systemd-boot (formerly known as gummiboot).

The --esp-path option is used to specify the path to the EFI System Partition (ESP) where the bootloader is installed. The ESP is a partition on a disk that holds the EFI bootloader and related files. The --esp-path option allows you to specify the location of this partition if it's different from the default.

In the command you provided, ${-path-to-efi_system_partition-} is a placeholder for the actual path to your ESP. You need to replace ${-path-to-efi_system_partition-} with the correct path to your EFI System Partition. For example, if your ESP is mounted at /boot/efi, the command would be:

bootctl --esp-path=/boot/efi

By specifying the correct ESP path, you can ensure that bootctl operates on the correct partition for managing the bootloader configuration.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the bootctl tool