bootctl: add page (#5418)

This commit is contained in:
marchersimon 2021-03-12 13:42:13 +01:00 committed by GitHub
parent ccf49a93d3
commit 6755015544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

28
pages/common/bootctl.md Normal file
View File

@ -0,0 +1,28 @@
# bootctl
> Control EFI firmware boot settings and manage boot loader.
> More information: <https://man.archlinux.org/man/bootctl.1>.
- 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`