snippetbashTip
bootctl — Control EFI firmware boot settings and manage boot loader. More information: <https://www.freedeskto
Viewed 0 times
commandbootctlfirmwarebootclicontrolsettingsefi
linux
Problem
How to use the
bootctl command: Control EFI firmware boot settings and manage boot loader. More information: <https://www.freedesktop.org/software/systemd/man/latest/bootctl.html>.Solution
bootctl — Control EFI firmware boot settings and manage boot loader. More information: <https://www.freedesktop.org/software/systemd/man/latest/bootctl.html>.Show information about the system firmware and the bootloaders:
bootctlShow all available bootloader entries:
bootctl listSet a flag to boot into the system firmware on the next boot (similar to
sudo systemctl reboot --firmware-setup):sudo bootctl reboot-to-firmware trueSpecify the path to the EFI system partition (defaults to
/efi/, /boot/, or /boot/efi):bootctl --esp-path /{{path/to/efi_system_partition}}/Install
systemd-boot into the EFI system partition:sudo bootctl installRemove all installed versions of
systemd-boot from the EFI system partition:sudo bootctl removeCode Snippets
Show information about the system firmware and the bootloaders
bootctlShow all available bootloader entries
bootctl listSet a flag to boot into the system firmware on the next boot (similar to `sudo systemctl reboot --firmware-setup`)
sudo bootctl reboot-to-firmware trueSpecify the path to the EFI system partition (defaults to `/efi/`, `/boot/`, or `/boot/efi`)
bootctl --esp-path /{{path/to/efi_system_partition}}/Install `systemd-boot` into the EFI system partition
sudo bootctl installContext
tldr-pages: linux/bootctl
Revisions (0)
No revisions yet.