BOOTCTL(1) bootctl BOOTCTL(1) bootctl - EFI bootctl [...] {} bootctl EFI systemd-boot(7) . EFI / EFI . status ESP . . . 239. reboot-to-firmware [BOOL] "Reboot-Into-Firmware-Setup" EFI . . . systemctl reboot --firmware-setup . : systemctl reboot --firmware-setup . systemctl(1) . 251. UAPI.1[1] systemd-boot. list UAPI.1[1] [2]. JSON --json=. . 239. unlink . . initrd . 253. cleanup ESP XBOOTLDR . 253. UAPI.1[1] [2] systemd-boot. set-preferred set-default set-oneshot set-sysfail . . set-oneshot set-default set-preferred set-default . set-sysfail . (SysFail) EFI. bootctl list . : @default @oneshot @current . EFI LoaderEntryDefault LoaderEntrySysFail LoaderEntryOneShot LoaderEntrySelected UAPI.1[1] . . @saved EFI . ("") EFI . : systemctl reboot --boot-loader-entry=ID systemctl reboot --boot-loader-menu=timeout . systemctl(1) . 240. set-timeout set-timeout-oneshot . set-timeout-oneshot . systemd.time(7) . menu-disabled menu-hidden 0 menu-force . ("") . 250. SYSTEMD-BOOT EFI systemd-boot . systemd-boot EFI (ESP). systemd-boot / EFI ESP/EFI/BOOT/BOOT*.EFI. . 239. update systemd-boot(7) EFI. / ESP/EFI/BOOT/BOOT*.EFI. . 239. remove systemd-boot EFI . 239. is-installed systemd-boot ESP. ESP systemd-boot EFI. 243. random-seed EFI (ESP) systemd-boot. ESP . " " EFI . ESP EFI ESP . (entropy pool) . systemd-boot-random-seed.service(8). [3] . 243. kernel-identify - . . "uki" "addon" "pe" "unknown". 253. kernel-inspect - . . 253. : --esp-path= EFI (ESP). /efi/ /boot/ /boot/efi/ . ESP /efi/ . --boot-path= UAPI.1[1]. /boot/. /boot/ . --root=root . root . 252. --image=image . . --root= . GPT UAPI.2[4]. systemd-nspawn(1). 252. --image-policy= systemd.image-policy(7). --image= . "*" . --install-source= --root= --image= . "auto" () "image" "host". "auto" . "image" "host" . 252. -p, --print-esp-path status. EFI (ESP) . 236. -x, --print-boot-path status. ESP . ESP. " #1" "$(bootctl -x)/loader/entries/". . #2 "$(bootctl -x)/EFI/Linux/". ( --print-esp-path ) systemd-boot. 242. --print-loader-path status: EFI . . 257. --print-stub-path status: EFI UKI/stub . . 257. -R, --print-root-device . /dev/nvme0n1p5. dm-crypt/LUKS dm-verity . ( btrfs) . ( -RR) "" ( /dev/nvme0n1). "tmpfs" /usr/ . ( NFS CIFS) . 254. --variables=yes|no|auto EFI EFI . auto EFI . yes . 258. --random-seed=yes|no install ESP. . 257. --graceful EFI EFI . is-installed update random-seed install. v258 chroot. 244. -q --quiet ESP. 251. --make-entry-directory=yes|no #1 UAPI.1[1] initrd install remove . " " --entry-token= $BOOT ( --print-boot-path). "no". 251. --entry-token= . install "auto" "machine-id" "os-id" "os-image-id" "literal:" . machine-id (: "b0e793a9baf14b5fa13ecbe84ff637ac"). machine-id(5) . os-id ID= os-release(5) (: "fedora"). os-image-id IMAGE_ID= os-release (: "vendorx-cashier-system"). auto () /etc/kernel/entry-token . . IMAGE_ID= os-release . ID= os-release . "machine-id" --make-entry-directory=yes /etc/kernel/entry-token . kernel-install(8) . (machine ID) . : $BOOT ( ) . . . 251. --all-architectures EFI ( --variables=no). 252. --efi-boot-option-description= . "Linux Boot Manager". "Linux Boot Manager" ESP . . ESP . 252. --efi-boot-option-description-with-device= false. ( --efi-boot-option-description= ). . . 260. --dry-run unlink cleanup. unlink cleanup . 253. --secure-boot-auto-enroll=yes|no, --private-key=/, --private-key-source=[:], --certificate=, --certificate-source=[:] ESP (Secure Boot) install. . . bootctl ESP "PK" "KEK" "db" "DER" . systemd-boot . --certificate= --private-key=. X.509 PEM URI OpenSSL --certificate-source "file" "provider" . URI OpenSSL --private-key-source= "engine:pkcs11". OpenSSL EFI. 257. --no-pager (pager). --json=MODE JSON. : "short" ( ) "pretty" ( ) "off" ( JSON ). -h --help . --version . EFI bootctl install update systemd-boot ".efi.signed" ".efi" . UEFI SecureBoot. 0 . bootctl --print-root-device 80 . $SYSTEMD_RELAX_ESP_CHECKS=1 ESP --esp-path= . $SYSTEMD_RELAX_XBOOTLDR_CHECKS=1 . 1. status list $ bootctl status System: Firmware: UEFI 2.40 (--) <- Secure Boot: disabled (setup) <- TPM2 Support: yes Boot into FW: supported <- Current Boot Loader: <- systemd-boot Product: systemd-boot [2] Features: \/ \/ \/ \/ \/ \/ XBOOTLDR \/ \/ \/ ESP \/ ESP: /dev/disk/by-partuuid/01234567-89ab-cdef-dead-beef00000000 File: /EFI/systemd/systemd-bootx64.efi Random Seed: <- Passed to OS: yes System Token: set Exists: yes ESP: ESP: /boot/efi (/dev/disk/by-partuuid/01234567-89ab-cdef-dead-beef00000000) File: /EFI/systemd/systemd-bootx64.efi (systemd-boot 251 File: /EFI/BOOT/BOOTX64.EFI (systemd-boot 251 EFI: : Linux Boot Manager : 0x0001 : - : /dev/disk/by-partuuid/... : /EFI/systemd/systemd-bootx64.efi : Fedora : 0x0000 : - : /dev/disk/by-partuuid/... : /EFI/fedora/shimx64.efi : Linux-Firmware-Updater : 0x0002 : - : /dev/disk/by-partuuid/... : /EFI/fedora/fwupdx64.efi : $BOOT: /boot/efi (/dev/disk/by-partuuid/01234567-89ab-cdef-dead-beef00000000) : : #1 (.conf) : Fedora Linux 36 (Workstation Edition) : ... : /boot/efi/loader/entries/entry-token-kernel-version.conf : kernel-version : ... linux: /entry-token/kernel-version/linux initrd: /entry-token/kernel-version/initrd : root=... $ bootctl list : : #1 (.conf) : Fedora Linux 36 (Workstation Edition) () () : ... : /boot/efi/loader/entries/entry-token-kernel-version.conf : kernel-version : ... linux: /entry-token/kernel-version/linux initrd: /entry-token/kernel-version/initrd : root=... : #2 (.efi) : Fedora Linux 35 (Workstation Edition) : ... : /boot/efi/EFI/Linux/fedora-kernel-version.efi : kernel-version : ... linux: /EFI/Linux/fedora-kernel-version.efi : root=... : : : auto-reboot-to-firmware-setup : /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f "(default)" "(selected)" ( ). systemd-boot(7) UAPI.1[1] [2] systemd-boot-random-seed.service(8) 1. UAPI.1 https://uapi-group.org/specifications/specs/boot_loader_specification 2. https://systemd.io/BOOT_LOADER_INTERFACE 3. https://systemd.io/RANDOM_SEEDS 4. UAPI.2 https://uapi-group.org/specifications/specs/discoverable_partitions_specification 3 . . : . systemd 260.1 BOOTCTL(1)