2021-03-12 12:42:13 +00:00
|
|
|
# bootctl
|
|
|
|
|
|
|
|
> Control EFI firmware boot settings and manage boot loader.
|
2022-03-09 04:28:57 +00:00
|
|
|
> More information: <https://manned.org/bootctl>.
|
2021-03-12 12:42:13 +00:00
|
|
|
|
|
|
|
- Show information about the system firmware and the bootloaders:
|
|
|
|
|
|
|
|
`sudo bootctl status`
|
|
|
|
|
|
|
|
- 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`
|
|
|
|
|
|
|
|
- Specify the path to the EFI system partition (defaults to `/efi/`, `/boot/` or `/boot/efi`):
|
|
|
|
|
|
|
|
`sudo bootctl --esp-path={{/path/to/efi_system_partition/}}`
|
|
|
|
|
|
|
|
- Show all available bootloader entries:
|
|
|
|
|
|
|
|
`sudo bootctl list`
|
|
|
|
|
|
|
|
- Install `systemd-boot` into the EFI system partition:
|
|
|
|
|
|
|
|
`sudo bootctl install`
|
|
|
|
|
|
|
|
- Remove all installed versions of `systemd-boot` from the EFI system partition:
|
|
|
|
|
|
|
|
`sudo bootctl remove`
|