![Forrest logo](/images/logo.png)
bootctl:tldr:6ddf5
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.