From: Lennart Poettering Date: Wed, 20 Jun 2018 09:59:11 +0000 (+0200) Subject: man: update systemd-boot(7) man page in many ways X-Git-Tag: v239~15^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53ddb667a9ac3462c490af14c5c533bf9f60104b;p=thirdparty%2Fsystemd.git man: update systemd-boot(7) man page in many ways Let's fully document where the list of entries come from, including unified images and such. Let's add a "Files" section (replacing the "Configuration" section), and let's move it after they keybinding section (why? because keybinds are primary UI material, while configuration is one level more complex than that). Also, reword lot's of stuff to make it more precise. Fixes: #5127 --- diff --git a/man/systemd-boot.xml b/man/systemd-boot.xml index 0a1543d5900..5cd8a381523 100644 --- a/man/systemd-boot.xml +++ b/man/systemd-boot.xml @@ -25,47 +25,50 @@ Description - systemd-boot or sd-boot is a simple - UEFI boot manager, previously known as gummiboot. It provides - a graphical menu to select the entry to boot and an editor for the kernel command - line. systemd-boot is only useful on machines using UEFI. - - - systemd-boot loads information from the EFI system partition (ESP), usually - mounted at /boot, /efi, or - /boot/efi. Configuration file fragments, kernels, initrds, - other EFI images need to reside on the ESP. Linux kernels must be built with - to be able to be directly executed as an EFI - image. systemd-boot will automatically list other boot entries registered as EFI boot - variables, and a list of kernels from configuration files following the Boot Loader - Specification located under /loader/entries/ on the - ESP. - - kernel-install8 - may be used to copy kernel images onto the ESP and to generate entries compliant - with the Boot Loader Specification. - bootctl1 - may be used from a running system to locate the ESP, list available entries, and - install systemd-boot itself. - - systemd-boot will provide information about the time spent in UEFI firmware - using the - Boot Loader Interface. - This information can be displayed using + systemd-boot (short: sd-boot) is a simple UEFI boot manager. It + provides a graphical menu to select the entry to boot and an editor for the kernel command line. systemd-boot + supports systems with an UEFI firmware only. + + systemd-boot loads boot entry information from the EFI system partition (ESP), usually mounted at + /boot, /efi, or /boot/efi during OS + runtime. Configuration file fragments, kernels, initrds and other EFI images to boot generally need to reside on + the ESP. Linux kernels must be built with to be able to be directly executed as an + EFI image. During boot systemd-boot automatically assembles a list of boot entries from the following + sources: + + + Boot entries defined with Boot Loader + Specification description files located in /loader/entries/ on the ESP. These + usually describe Linux kernel images with associated initrd images, but alternatively may also describe + arbitrary other EFI executables. + + Unified kernel images following the Boot + Loader Specification, as executable EFI binaries in + /EFI/Linux/ on the ESP + + The Microsoft Windows EFI boot manager, if installed + + The Apple MacOS X boot manager, if installed + + The EFI Shell binary, if installed + + A reboot into the UEFI firmware setup option, if supported by the firmware + + + kernel-install8 may be + used to copy kernel images onto the ESP and to generate description files compliant with the Boot Loader + Specification. bootctl1 may be + used from a running system to locate the ESP, list available entries, and install systemd-boot itself. + + systemd-boot will provide information about the time spent in UEFI firmware using the Boot Loader Interface. This + information can be displayed using systemd-analyze1. - - Configuration - - systemd-boot reads configuration like the timeout and default entry from - /loader/loader.conf on the ESP and from EFI variables. See - loader.conf5. - - - Key bindings The following keys may be used in the boot menu: @@ -171,7 +174,7 @@ 7 8 9 - Entry number 1 .. 9 + Boot entry number 1 … 9 @@ -219,6 +222,21 @@ + + Files + + The files systemd-boot reads generally reside on the UEFI ESP which is usually mounted to + /boot/, /efi/ or /boot/efi during OS + runtime. systemd-boot reads runtime configuration such as the boot timeout and default entry from + /loader/loader.conf on the ESP (in combination with data read from EFI variables). See + loader.conf5. Boot entry + description files following the Boot Loader + Specification are read from /loader/entries/ on the ESP. Unified kernel boot entries + following the Boot + Loader Specification are read from /EFI/Linux/ on the ESP. + + See Also