mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
man,doc: add uapi spec numbers to all links to uapi specs (#39867)
This commit is contained in:
@@ -9,7 +9,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
systemd provides support for automatically reverting back to the previous
|
||||
version of the OS or kernel in case the system consistently fails to boot. The
|
||||
[Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification/#boot-counting)
|
||||
[UAPI.1 Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification/#boot-counting)
|
||||
describes how to annotate boot loader entries with a counter that specifies how
|
||||
many attempts should be made to boot it. This document describes how systemd
|
||||
implements this scheme.
|
||||
@@ -28,7 +28,7 @@ Here's a brief overview of the complete set of components:
|
||||
* The
|
||||
[`systemd-boot(7)`](https://www.freedesktop.org/software/systemd/man/systemd-boot.html)
|
||||
boot loader optionally maintains a per-boot-loader-entry counter described by
|
||||
the [Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification/#boot-counting)
|
||||
the [UAPI.1 Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification/#boot-counting)
|
||||
that is decreased by one on each attempt to boot the entry, prioritizing
|
||||
entries that have non-zero counters over those which already reached a
|
||||
counter of zero when choosing the entry to boot.
|
||||
@@ -61,7 +61,7 @@ Here's a brief overview of the complete set of components:
|
||||
## Details
|
||||
|
||||
As described in the
|
||||
[Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification/#boot-counting),
|
||||
[UAPI.1 Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification/#boot-counting),
|
||||
the boot counting data is stored in the file name of the boot loader entries as
|
||||
a plus (`+`), followed by a number, optionally followed by `-` and another
|
||||
number, right before the file name suffix (`.conf` or `.efi`).
|
||||
|
||||
@@ -136,7 +136,7 @@ the identifiers as passed in `LoaderEntries`, `LoaderEntryDefault`,
|
||||
names for them in UIs.
|
||||
|
||||
1. When boot loader entries are defined through the
|
||||
[Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification/)
|
||||
[BOOT.1 Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification/)
|
||||
files, the identifier should be derived directly from the file name,
|
||||
but with the `.conf` (Type #1 snippets) or `.efi` (Type #2 images)
|
||||
suffix removed.
|
||||
@@ -167,8 +167,8 @@ names for them in UIs.
|
||||
|
||||
## Links
|
||||
|
||||
[Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification)<br>
|
||||
[Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification)<br>
|
||||
[UAPI.1 Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification)<br>
|
||||
[UAPI.2 Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification)<br>
|
||||
[`systemd-boot(7)`](https://www.freedesktop.org/software/systemd/man/systemd-boot.html)<br>
|
||||
[`bootctl(1)`](https://www.freedesktop.org/software/systemd/man/bootctl.html)<br>
|
||||
[`systemd-gpt-auto-generator(8)`](https://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html)
|
||||
|
||||
@@ -66,7 +66,7 @@ boot. For that it's essential to:
|
||||
The
|
||||
[`kernel-install(8)`](https://www.freedesktop.org/software/systemd/man/kernel-install.html)
|
||||
logic used to generate
|
||||
[Boot Loader Specification Type #1](https://uapi-group.org/specifications/specs/boot_loader_specification/#type-1-boot-loader-specification-entries)
|
||||
[UAPI.1 Boot Loader Specification Type #1](https://uapi-group.org/specifications/specs/boot_loader_specification/#type-1-boot-loader-specification-entries)
|
||||
entries by default uses the machine ID as stored in `/etc/machine-id` for
|
||||
naming boot menu entries and the directories in the ESP to place kernel images in.
|
||||
This is done in order to allow multiple installations of the same OS on the
|
||||
@@ -207,7 +207,7 @@ it, then format it.
|
||||
in. The `x-systemd.growfs` mount option in `/etc/fstab` is sufficient to
|
||||
enable this logic for specific mounts. Alternatively appropriately set up
|
||||
partitions can set GPT partition flag 59 to request this behaviour, see the
|
||||
[Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification)
|
||||
[UAPI.2 Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification)
|
||||
for details. If the file system is already grown it executes no operation.
|
||||
|
||||
3. Similar, the `systemd-makefs@.service` and `systemd-makeswap@.service`
|
||||
@@ -268,8 +268,8 @@ fields.
|
||||
[`machine-id(5)`](https://www.freedesktop.org/software/systemd/man/machine-id.html)<br>
|
||||
[`systemd-random-seed(8)`](https://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html)<br>
|
||||
[`os-release(5)`](https://www.freedesktop.org/software/systemd/man/os-release.html)<br>
|
||||
[Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification)<br>
|
||||
[Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification)<br>
|
||||
[UAPI.1 Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification)<br>
|
||||
[UAPI.2 Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification)<br>
|
||||
[`mkosi`](https://github.com/systemd/mkosi)<br>
|
||||
[`systemd-boot(7)`](https://www.freedesktop.org/software/systemd/man/systemd-boot.html)<br>
|
||||
[`systemd-repart(8)`](https://www.freedesktop.org/software/systemd/man/systemd-repart.service.html)<br>
|
||||
|
||||
@@ -234,7 +234,7 @@ All tools:
|
||||
file may be checked for by services run during system shutdown in order to
|
||||
request the appropriate operation from the boot loader in an alternative
|
||||
fashion. Note that by default only boot loader entries which follow the
|
||||
[Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification)
|
||||
[UAPI.1 Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification)
|
||||
and are placed in the ESP or the Extended Boot Loader partition may be
|
||||
selected this way. However, if a directory `/run/boot-loader-entries/`
|
||||
exists, the entries are loaded from there instead. The directory should
|
||||
@@ -518,7 +518,7 @@ disk images with `--image=` or similar:
|
||||
to load the embedded Verity signature data. If enabled (which is the
|
||||
default), Verity root hash information and a suitable signature is
|
||||
automatically acquired from a signature partition, following the
|
||||
[Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification).
|
||||
[UAPI.2 Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification).
|
||||
If disabled any such partition is ignored. Note that this only disables
|
||||
discovery of the root hash and its signature, the Verity data partition
|
||||
itself is still searched in the GPT image.
|
||||
@@ -540,7 +540,7 @@ disk images with `--image=` or similar:
|
||||
* `$SYSTEMD_DISSECT_FSTYPE_<DESIGNATOR>=` – overrides the file system time to
|
||||
use when mounting the partition of the indicated designator. The
|
||||
`<DESIGNATOR>` string shall be one of `ROOT`, `USR`, `HOME`, `SRV`, `ESP`,
|
||||
`XBOOTLDR`, `TMP`, `VAR` as per the [Discoverable Partitions
|
||||
`XBOOTLDR`, `TMP`, `VAR` as per the [UAPI.2 Discoverable Partitions
|
||||
Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification/). If
|
||||
unspecified the image dissection logic will automatically probe the file
|
||||
system type (subject to `$SYSTEMD_DISSECT_FILE_SYSTEMS`, see above), except
|
||||
@@ -560,8 +560,8 @@ disk images with `--image=` or similar:
|
||||
* `$SYSTEMD_DISSECT_VERITY_GUESS` – takes a boolean. Controls whether to guess
|
||||
the Verity root hash from the partition UUIDs of a suitable pair of data
|
||||
partition and matching Verity partition: the UUIDs two are simply joined and
|
||||
used as root hash, in accordance with the recommendations in [Discoverable
|
||||
Partitions
|
||||
used as root hash, in accordance with the recommendations in [UAPI.2
|
||||
Discoverable Partitions
|
||||
Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification). Defaults
|
||||
to true.
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ This document describes the requirements placed by systemd
|
||||
on the time when various parts of the file system hierarchy
|
||||
must be available and mounted during boot.
|
||||
This document should be read in conjunction with
|
||||
[Linux File System Hierarchy](https://uapi-group.org/specifications/specs/linux_file_system_hierarchy/),
|
||||
[UAPI.9 Linux File System Hierarchy](https://uapi-group.org/specifications/specs/linux_file_system_hierarchy/),
|
||||
which describes the role of the mount points discussed here.
|
||||
|
||||
If the file system backing a mount point is located on external or remote media
|
||||
|
||||
@@ -162,7 +162,7 @@ Specifically, the following requirements are made for an image that can be attac
|
||||
an image with a partition table understood by the Linux kernel with only a
|
||||
single partition defined, or alternatively, a GPT partition table with a set
|
||||
of properly marked partitions following the
|
||||
[Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification).
|
||||
[UAPI.2 Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification).
|
||||
|
||||
3. The image must at least contain one matching unit file, with the right name
|
||||
prefix and suffix (see above).
|
||||
|
||||
@@ -27,7 +27,7 @@ architecture.
|
||||
partitions. Use `systemd-id128 new -p` to generate new suitable UUIDs you
|
||||
can use for this. Make sure to register your new types in the various
|
||||
functions in `gpt.c`. Also make sure to update the tables in
|
||||
[Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification)
|
||||
[UAPI.2 Discoverable Partitions Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification)
|
||||
and `man/systemd-gpt-auto-generator.xml` accordingly.
|
||||
|
||||
3. If your architecture supports UEFI, make sure to update the `efi_arch`
|
||||
|
||||
@@ -13,7 +13,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
4. Update hwdb (`ninja -C build update-hwdb`, `ninja -C build update-hwdb-autosuspend`, commit separately).
|
||||
5. Update syscall numbers (`ninja -C build update-syscall-tables update-syscall-header`).
|
||||
6. [RC1] Update library numbers in `meson.build`
|
||||
7. Update version number in `meson.version` (e.g. from `256~devel` to `256~rc1` or from `256~rc3` to `256`). Note that this uses a tilde (\~) instead of a hyphen (-) because tildes sort lower in version comparisons according to the [version format specification](https://uapi-group.org/specifications/specs/version_format_specification/), and we want `255~rc1` to sort lower than `255`.
|
||||
7. Update version number in `meson.version` (e.g. from `256~devel` to `256~rc1` or from `256~rc3` to `256`). Note that this uses a tilde (\~) instead of a hyphen (-) because tildes sort lower in version comparisons according to the [UAPI.10 Version Format Specification](https://uapi-group.org/specifications/specs/version_format_specification/), and we want `255~rc1` to sort lower than `255`.
|
||||
8. Check dbus docs with `ninja -C build update-dbus-docs`
|
||||
9. Check manpages list with `ninja -C build update-man-rules`
|
||||
10. Update translation strings (`ninja -C build systemd-pot`, `ninja -C build systemd-update-po`) - drop the header comments from `systemd.pot` + re-add SPDX before committing. If the only change in a file is the 'POT-Creation-Date' field, then ignore that file.
|
||||
|
||||
@@ -15,13 +15,13 @@ components:
|
||||
i.e. [`systemd-boot`](https://www.freedesktop.org/software/systemd/man/latest/systemd-boot.html)
|
||||
that provides interactive and programmatic control of what precisely to
|
||||
boot. It takes care of enumerating all possible boot targets (implementing
|
||||
the [Boot Loader
|
||||
the [UAPI.1 Boot Loader
|
||||
Specification](https://uapi-group.org/specifications/specs/boot_loader_specification/)),
|
||||
potentially presenting it to the user in a menu, but otherwise picking an
|
||||
item automatically, implementing boot counting and automatic rollback if
|
||||
desired.
|
||||
|
||||
2. A [unified kernel image
|
||||
2. A [UAPI.5 Unified Kernel Image
|
||||
("UKI")](https://uapi-group.org/specifications/specs/unified_kernel_image/),
|
||||
i.e. an UEFI PE executable that combines
|
||||
[`systemd-stub`](https://www.freedesktop.org/software/systemd/man/latest/systemd-stub.html),
|
||||
@@ -133,7 +133,7 @@ the same disk. Specifically:
|
||||
ESP as well, in particular below the `/loader/` subdirectory.
|
||||
|
||||
2. The UKIs may either be placed in the ESP (below the `/EFI/Linux/`
|
||||
subdirectory), or in the [Extended Boot Loader
|
||||
subdirectory), or in the [UAPI.1 Extended Boot Loader
|
||||
Partition](https://uapi-group.org/specifications/specs/boot_loader_specification/#the-partitions)
|
||||
("XBOOTLDR"), which can be placed on the same disk as the ESP and is also
|
||||
VFAT. XBOOTLDR is an optional concept and it's only *raison d'être* is that
|
||||
@@ -146,7 +146,7 @@ the same disk. Specifically:
|
||||
3. The `rootfs` is placed on the same disk as the ESP/XBOOTLDR, in a partition
|
||||
marked with a special GPT partition type. Various other well-known types of
|
||||
partitions can be placed next to the `rootfs` and are automatically
|
||||
discovered and mounted, see the [Discoverable Partitions
|
||||
discovered and mounted, see the [UAPI.2 Discoverable Partitions
|
||||
Specification](https://uapi-group.org/specifications/specs/discoverable_partitions_specification/)
|
||||
for details.
|
||||
|
||||
@@ -179,8 +179,8 @@ each of these resources:
|
||||
[`bootctl`](https://www.freedesktop.org/software/systemd/man/latest/bootctl.html),
|
||||
`efibootmgr` or `kernel-bootcfg`.
|
||||
|
||||
2. The `systemd-boot` boot loader may be configured via [`Boot Loader
|
||||
Specification Type #1`](https://uapi-group.org/specifications/specs/boot_loader_specification/)
|
||||
2. The `systemd-boot` boot loader may be configured via [UAPI.1 Boot Loader
|
||||
Specification Type #1](https://uapi-group.org/specifications/specs/boot_loader_specification/)
|
||||
entries to acquire UKIs or similar from other locations.
|
||||
|
||||
3. The `initrd` part of the UKI understands the `root=` (and `mount.usr=`)
|
||||
@@ -220,7 +220,7 @@ local disk. This can happen at each of these three components:
|
||||
`rootfs` from HTTP
|
||||
sources](https://www.freedesktop.org/software/systemd/man/latest/systemd-import-generator.html),
|
||||
either in a GPT disk image (specifically:
|
||||
[DDIs](https://uapi-group.org/specifications/specs/discoverable_disk_image/),
|
||||
[UAPI.3 DDIs](https://uapi-group.org/specifications/specs/discoverable_disk_image/),
|
||||
with `.raw` suffix) or in a `.tar` file, which are placed in system RAM and
|
||||
then booted into (these downloads can be downloaded in compressed form and
|
||||
are automatically decompressed on-the-fly). This of course requires
|
||||
|
||||
@@ -17,7 +17,7 @@ to systemd's UEFI-mode measurements, and if the latter are not done the former
|
||||
aren't made either.
|
||||
|
||||
See
|
||||
[Linux TPM PCR Registry](https://uapi-group.org/specifications/specs/linux_tpm_pcr_registry/)
|
||||
[UAPI.7 Linux TPM PCR Registry](https://uapi-group.org/specifications/specs/linux_tpm_pcr_registry/)
|
||||
for an overview of PCRs.
|
||||
|
||||
systemd will measure to PCRs 5 (`boot-loader-config`), 11 (`kernel-boot`),
|
||||
@@ -108,8 +108,8 @@ trailing NUL bytes).
|
||||
### PCR 11, `EV_IPL`, PE section name
|
||||
|
||||
A measurement is made for each PE section of the UKI that is defined by the
|
||||
[UKI
|
||||
specification](https://uapi-group.org/specifications/specs/unified_kernel_image/),
|
||||
[UAPI.5 UKI
|
||||
Specification](https://uapi-group.org/specifications/specs/unified_kernel_image/),
|
||||
in the canonical order described in the specification.
|
||||
|
||||
Happens once for each UKI-defined PE section of the UKI, in the canonical UKI
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
<para>These commands are available for all boot loaders that
|
||||
implement the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot
|
||||
Loader Specification</ulink>, such as
|
||||
<command>systemd-boot</command>.</para>
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
<term><option>list</option></term>
|
||||
|
||||
<listitem><para>Shows all available boot loader entries implementing the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink>, as well as any
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink>, as well as any
|
||||
other entries discovered or automatically generated by a boot loader implementing the <ulink
|
||||
url="https://systemd.io/BOOT_LOADER_INTERFACE">Boot Loader Interface</ulink>.
|
||||
JSON output may be requested with <option>--json=</option>.</para>
|
||||
@@ -126,7 +126,7 @@
|
||||
<title>Boot Loader Interface Commands</title>
|
||||
|
||||
<para>These commands are available for all boot loaders that implement the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink> and the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink> and the <ulink
|
||||
url="https://systemd.io/BOOT_LOADER_INTERFACE">Boot Loader Interface</ulink>, such as
|
||||
<command>systemd-boot</command>.</para>
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
boot loader entry. These special IDs are resolved to the current values of the EFI variables
|
||||
<varname>LoaderEntryDefault</varname>, <varname>LoaderEntrySysFail</varname>, <varname>LoaderEntryOneShot</varname>
|
||||
and <varname>LoaderEntrySelected</varname>, see <ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">
|
||||
Boot Loader Specification</ulink> for details.
|
||||
UAPI.1 Boot Loader Specification</ulink> for details.
|
||||
These special IDs are primarily useful as a quick way to persistently make the currently booted boot loader
|
||||
entry the default choice, or to upgrade the default boot loader entry for the next boot to the default boot
|
||||
loader entry for all future boots, but may be used for other operations too.</para>
|
||||
@@ -314,7 +314,7 @@
|
||||
are applied to file system in the indicated disk image. This option is similar to
|
||||
<option>--root=</option>, but operates on file systems stored in disk images or block devices. The
|
||||
disk image should either contain just a file system or a set of file systems within a GPT partition
|
||||
table, following the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
table, following the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions
|
||||
Specification</ulink>. For further information on supported disk images, see
|
||||
<citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
|
||||
switch of the same name.</para>
|
||||
@@ -444,7 +444,7 @@
|
||||
<varlistentry>
|
||||
<term><option>--make-entry-directory=yes|no</option></term>
|
||||
<listitem><para>Controls creation and deletion of the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink> Type #1 entry
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink> Type #1 entry
|
||||
directory on the file system containing resources such as kernel and initrd images during
|
||||
<option>install</option> and <option>remove</option>, respectively. The directory is named after the
|
||||
entry token, as specified with <option>--entry-token=</option> parameter described below, and is
|
||||
@@ -705,7 +705,7 @@ Boot Loader Entries:
|
||||
<title>See Also</title>
|
||||
<para><simplelist type="inline">
|
||||
<member><citerefentry><refentrytitle>systemd-boot</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink></member>
|
||||
<member><ulink url="https://systemd.io/BOOT_LOADER_INTERFACE">Boot Loader Interface</ulink></member>
|
||||
<member><citerefentry><refentrytitle>systemd-boot-random-seed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
||||
</simplelist></para>
|
||||
|
||||
@@ -306,8 +306,9 @@
|
||||
are applied to file system in the indicated disk image. This option is similar to
|
||||
<option>--root=</option>, but operates on file systems stored in disk images or block devices. The
|
||||
disk image should either contain just a file system or a set of file systems within a GPT partition
|
||||
table, following the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
Specification</ulink>. For further information on supported disk images, see
|
||||
table, following the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2
|
||||
Discoverable Partitions Specification</ulink>. For further information on supported disk images, see
|
||||
<citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
|
||||
switch of the same name.</para>
|
||||
|
||||
|
||||
@@ -25,12 +25,11 @@
|
||||
|
||||
<para>Operating systems using the
|
||||
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry> system and
|
||||
service manager are organized based on a file system hierarchy inspired by UNIX,
|
||||
as described in <ulink url="https://uapi-group.org/specifications/specs/linux_file_system_hierarchy/">
|
||||
Linux File System Hierarchy</ulink>.
|
||||
Additional requirements on <emphasis>when</emphasis> given parts of the hierarchy
|
||||
must be available during boot are listed in
|
||||
<ulink url="https://systemd.io/MOUNT_REQUIREMENTS/">Mount Requirements</ulink>.</para>
|
||||
service manager are organized based on a file system hierarchy inspired by UNIX, as described in <ulink
|
||||
url="https://uapi-group.org/specifications/specs/linux_file_system_hierarchy/"> UAPI.9 Linux File System
|
||||
Hierarchy</ulink>. Additional requirements on <emphasis>when</emphasis> given parts of the hierarchy
|
||||
must be available during boot are listed in <ulink url="https://systemd.io/MOUNT_REQUIREMENTS/">Mount
|
||||
Requirements</ulink>.</para>
|
||||
|
||||
<para>Many of the paths described here can be queried
|
||||
with the
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
option is similar to <option>--root=</option>, but operates on file systems stored in disk images or
|
||||
block devices, thus providing an easy way to extract log data from disk images. The disk image should
|
||||
either contain just a file system or a set of file systems within a GPT partition table, following
|
||||
the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions
|
||||
Specification</ulink>. For further information on supported disk images, see
|
||||
<citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
|
||||
switch of the same name.</para>
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
|
||||
<para>The third argument directly refers to the path where to place kernel images, initrd
|
||||
images and other resources for
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot
|
||||
Loader Specification</ulink> Type #1 entries (the "entry directory"). If other boot loader schemes
|
||||
are used the parameter may be ignored.</para>
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
<filename>$BOOT/<replaceable>ENTRY-TOKEN</replaceable>/<replaceable>KERNEL_VERSION</replaceable>/<replaceable>INITRD-FILE</replaceable></filename>.
|
||||
This can also be used to prepend microcode before the actual initrd. It also creates a boot
|
||||
loader entry according to the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink>
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink>
|
||||
(Type #1) in
|
||||
<filename>$BOOT/loader/entries/<replaceable>ENTRY-TOKEN</replaceable>-<replaceable>KERNEL-VERSION</replaceable>.conf</filename>.
|
||||
The title of the entry is the <replaceable>PRETTY_NAME</replaceable> parameter specified in
|
||||
@@ -290,7 +290,7 @@
|
||||
<refsect1>
|
||||
<title>The <varname>$BOOT</varname> partition</title>
|
||||
|
||||
<para>The partition where the kernels and <ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot
|
||||
<para>The partition where the kernels and <ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot
|
||||
Loader Specification</ulink> snippets are located is called <varname>$BOOT</varname>.
|
||||
<command>kernel-install</command> determines the location of this partition by checking
|
||||
<filename>/efi/</filename>, <filename>/boot/</filename>, and <filename>/boot/efi/</filename> in turn. The
|
||||
@@ -310,7 +310,7 @@
|
||||
<term><option>--make-entry-directory=yes|no|auto</option></term>
|
||||
<listitem>
|
||||
<para>Controls creation and deletion of the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink>
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink>
|
||||
Type #1 entry directory on the file system containing resources such as kernel and initrd images
|
||||
during <option>add</option> and <option>remove</option>, respectively. The directory is named after
|
||||
the entry token, and is placed immediately below the boot root directory. When
|
||||
@@ -410,7 +410,7 @@
|
||||
are applied to the file system in the indicated disk image. This option is similar to
|
||||
<option>--root=</option>, but operates on file systems stored in disk images or block devices. The
|
||||
disk image should either contain just a file system or a set of file systems within a GPT partition
|
||||
table, following the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
table, following the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions
|
||||
Specification</ulink>. For further information on supported disk images, see
|
||||
<citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
|
||||
switch of the same name.</para>
|
||||
@@ -504,7 +504,7 @@
|
||||
<varlistentry>
|
||||
<term>bls</term>
|
||||
<listitem>
|
||||
<para>Standard <ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader
|
||||
<para>Standard <ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader
|
||||
Specification</ulink> Type #1 layout, compatible with
|
||||
<citerefentry><refentrytitle>systemd-boot</refentrytitle><manvolnum>7</manvolnum></citerefentry>:
|
||||
entries in
|
||||
@@ -520,7 +520,7 @@
|
||||
<term>uki</term>
|
||||
<listitem>
|
||||
<para>Standard <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader
|
||||
Specification</ulink> Type #2 layout, compatible with
|
||||
<citerefentry><refentrytitle>systemd-boot</refentrytitle><manvolnum>7</manvolnum></citerefentry>:
|
||||
unified kernel images under <filename>$BOOT/EFI/Linux</filename> as
|
||||
@@ -787,7 +787,7 @@
|
||||
<member><citerefentry project='man-pages'><refentrytitle>depmod</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>systemd-boot</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>ukify</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink></member>
|
||||
</simplelist></para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
and type #2 (<filename><replaceable>ESP</replaceable>/EFI/Linux/*.uki</filename>
|
||||
and <filename><replaceable>XBOOTLDR</replaceable>/EFI/Linux/*.uki</filename>).
|
||||
Those files are described by the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader
|
||||
Specification</ulink>.</para>
|
||||
|
||||
<para>Note: the behaviour of <command>systemd-boot</command> is also influenced by EFI variables. Some of
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
<constant>x86</constant> (32-bit, aka i386) and <constant>x86-64</constant> (64-bit, aka amd64).</para>
|
||||
|
||||
<para>Most of the partition type UUIDs listed above are defined in the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions
|
||||
Specification</ulink>.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v245"/></listitem>
|
||||
@@ -780,7 +780,7 @@
|
||||
|
||||
<listitem><para>Configures the No-Auto, Read-Only and Grow-File-System partition flags (bit 63, 60
|
||||
and 59) of the partition table entry, as defined by the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions Specification</ulink>. Only
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions Specification</ulink>. Only
|
||||
available for partition types supported by the specification. This option is a friendly way to set
|
||||
bits 63, 60 and 59 of the partition flags value without setting any of the other bits, and may be set
|
||||
via <varname>Flags=</varname> too, see above.</para>
|
||||
@@ -1007,7 +1007,7 @@
|
||||
associated with it.</para>
|
||||
|
||||
<para>For example, distributions can use this to implement <varname>$BOOT</varname> as defined in the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification/">Boot Loader
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification/">UAPI.1 Boot Loader
|
||||
Specification</ulink>. Distributions may prefer to use the ESP as <varname>$BOOT</varname> whenever
|
||||
possible, but to adhere to the spec XBOOTLDR must sometimes be used instead. So, they should create
|
||||
two definitions: the first defining an ESP big enough to hold just the bootloader, and a second for
|
||||
|
||||
@@ -137,7 +137,7 @@
|
||||
|
||||
<listitem>
|
||||
<para>Path to the Extended Boot Loader partition, as defined in the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink>.
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink>.
|
||||
If not specified, <filename>/boot/</filename> is checked. It is recommended to mount the Extended Boot
|
||||
Loader partition to <filename>/boot/</filename>, if possible.</para>
|
||||
</listitem>
|
||||
|
||||
@@ -1755,7 +1755,7 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
|
||||
</para>
|
||||
|
||||
<para>To load a kernel, an enumeration is performed following the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink>,
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink>,
|
||||
and the default boot entry is loaded. For this step to succeed, the system must be using UEFI
|
||||
and the boot loader entries must be configured appropriately. <command>bootctl list</command>
|
||||
may be used to list boot entries, see
|
||||
@@ -2646,7 +2646,7 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
|
||||
are applied to file system in the indicated disk image. This option is similar to
|
||||
<option>--root=</option>, but operates on file systems stored in disk images or block devices. The
|
||||
disk image should either contain just a file system or a set of file systems within a GPT partition
|
||||
table, following the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
table, following the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions
|
||||
Specification</ulink>. For further information on supported disk images, see
|
||||
<citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
|
||||
switch of the same name.</para>
|
||||
|
||||
@@ -966,7 +966,7 @@ stored sock 0:8 4213190 - socket:[4213190] ro
|
||||
<para>This command analyzes the specified image policy string, as per
|
||||
<citerefentry><refentrytitle>systemd.image-policy</refentrytitle><manvolnum>7</manvolnum></citerefentry>. The
|
||||
policy is normalized and simplified. For each currently defined partition identifier (as per the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable
|
||||
Partitions Specification</ulink>) the effect of the image policy string is shown in tabular form.</para>
|
||||
|
||||
<example>
|
||||
|
||||
@@ -36,15 +36,15 @@
|
||||
detects that <citerefentry><refentrytitle>systemd-boot</refentrytitle><manvolnum>7</manvolnum></citerefentry> style
|
||||
boot counting is used.</para>
|
||||
|
||||
<para>Internally, the service operates based on the <varname>LoaderBootCountPath</varname> EFI variable (of the
|
||||
vendor UUID <constant>4a67b082-0a4c-41cf-b6c7-440b29bb8c4f</constant>), which is passed from the boot loader to the
|
||||
OS. It contains a file system path (relative to the EFI system partition) of the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink> compliant boot loader entry
|
||||
file or unified kernel image file that was used to boot up the
|
||||
system. <command>systemd-bless-boot.service</command> removes the two "tries done" and "tries left" numeric boot
|
||||
counters from the filename, which indicates to future invocations of the boot loader that the entry has completed
|
||||
booting successfully at least once. (This service will hence rename the boot loader entry file or unified kernel
|
||||
image file on the first successful boot.)</para>
|
||||
<para>Internally, the service operates based on the <varname>LoaderBootCountPath</varname> EFI variable
|
||||
(of the vendor UUID <constant>4a67b082-0a4c-41cf-b6c7-440b29bb8c4f</constant>), which is passed from the
|
||||
boot loader to the OS. It contains a file system path (relative to the EFI system partition) of the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader
|
||||
Specification</ulink> compliant boot loader entry file or unified kernel image file that was used to boot
|
||||
up the system. <command>systemd-bless-boot.service</command> removes the two "tries done" and "tries
|
||||
left" numeric boot counters from the filename, which indicates to future invocations of the boot loader
|
||||
that the entry has completed booting successfully at least once. (This service will hence rename the boot
|
||||
loader entry file or unified kernel image file on the first successful boot.)</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
||||
@@ -39,12 +39,12 @@
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><para>Boot entries defined with <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink> Type #1
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink> Type #1
|
||||
description files located in <filename>/loader/entries/</filename> on the ESP and the Extended Boot
|
||||
Loader Partition. These usually describe Linux kernel images with associated initrd images, but
|
||||
alternatively may also describe other arbitrary EFI executables.</para></listitem>
|
||||
|
||||
<listitem><para>Unified kernel images, <ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot
|
||||
<listitem><para>Unified kernel images, <ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot
|
||||
Loader Specification</ulink> Type #2, which are executable EFI binaries in
|
||||
<filename>/EFI/Linux/</filename> on the ESP and the Extended Boot Loader Partition.</para></listitem>
|
||||
|
||||
@@ -373,11 +373,11 @@
|
||||
<citerefentry><refentrytitle>loader.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
|
||||
|
||||
<para>Boot entry description files following the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink> are read from
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink> are read from
|
||||
<filename>/loader/entries/</filename> on the ESP and the Extended Boot Loader partition.</para>
|
||||
|
||||
<para>Unified kernel boot entries following the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink> are read from
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink> are read from
|
||||
<filename>/EFI/Linux/</filename> on the ESP and the Extended Boot Loader partition.</para>
|
||||
|
||||
<para>Optionally, a random seed for early boot entropy pool provisioning is stored in
|
||||
@@ -657,7 +657,7 @@ uki-url http://example.com/somedir/fooos.efi</programlisting>
|
||||
<title>Boot Counting</title>
|
||||
|
||||
<para><command>systemd-boot</command> implements a simple boot counting mechanism on top of the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink>, for automatic and unattended
|
||||
url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink>, for automatic and unattended
|
||||
fallback to older kernel versions/boot loader entries when a specific entry continuously fails. Any boot loader
|
||||
entry file and unified kernel image file that contains a <literal>+</literal> followed by one or two numbers (if
|
||||
two they need to be separated by a <literal>-</literal>), before the <filename>.conf</filename> or
|
||||
@@ -742,7 +742,7 @@ uki-url http://example.com/somedir/fooos.efi</programlisting>
|
||||
<member><citerefentry><refentrytitle>systemd-boot-random-seed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>kernel-install</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>systemd-stub</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink></member>
|
||||
<member><ulink url="https://systemd.io/BOOT_LOADER_INTERFACE">Boot Loader Interface</ulink></member>
|
||||
<member><ulink url="https://systemd.io/TPM2_PCR_MEASUREMENTS">TPM2 PCR Measurements Made by systemd</ulink></member>
|
||||
</simplelist></para>
|
||||
|
||||
@@ -84,8 +84,8 @@
|
||||
<option>--tpm2-public-key-pcrs=</option>, <option>--tpm2-signature=</option> described below.
|
||||
</para>
|
||||
|
||||
<para>See <ulink url="https://uapi-group.org/specifications/specs/linux_tpm_pcr_registry/">Linux TPM
|
||||
PCR Registry</ulink> for an authoritative list of PCRs and how they are updated. The table below
|
||||
<para>See <ulink url="https://uapi-group.org/specifications/specs/linux_tpm_pcr_registry/">UAPI.7 Linux
|
||||
TPM PCR Registry</ulink> for an authoritative list of PCRs and how they are updated. The table below
|
||||
contains a quick reference, describing in particular the PCRs modified by systemd.</para>
|
||||
|
||||
<table>
|
||||
@@ -218,7 +218,7 @@
|
||||
through the certificates measured into PCR 7. Validation through certificates hashes is typically
|
||||
preferable over validation through direct measurements as it is less brittle in context of OS/firmware
|
||||
updates: the measurements will change on every update, but signatures should remain unchanged. See the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/linux_tpm_pcr_registry/">Linux TPM PCR
|
||||
<ulink url="https://uapi-group.org/specifications/specs/linux_tpm_pcr_registry/">UAPI.7 Linux TPM PCR
|
||||
Registry</ulink> for more discussion.</para>
|
||||
</refsect2>
|
||||
</refsect1>
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
|
||||
<orderedlist>
|
||||
<listitem><para>OS disk images containing a GPT partition table envelope, with partitions marked
|
||||
according to the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
according to the <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions
|
||||
Specification</ulink>.</para></listitem>
|
||||
|
||||
<listitem><para>OS disk images containing just a plain file-system without an enveloping partition
|
||||
@@ -144,7 +144,7 @@
|
||||
<listitem><para>Mount the specified OS image to the specified directory. This will dissect the image,
|
||||
determine the OS root file system — as well as possibly other partitions — and mount them to the
|
||||
specified directory. If the OS image contains multiple partitions marked with the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions Specification</ulink>
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions Specification</ulink>
|
||||
multiple nested mounts are established. This command expects two arguments: a path to an image file
|
||||
and a path to a directory where to mount the image.</para>
|
||||
|
||||
@@ -421,7 +421,7 @@
|
||||
<option>--mount</option> or <option>--copy-to</option>) the file systems contained in the OS image
|
||||
are automatically grown to their partition sizes, if bit 59 in the GPT partition flags is set for
|
||||
partition types that are defined by the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions Specification</ulink>. This
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions Specification</ulink>. This
|
||||
behavior may be switched off using <option>--growfs=no</option>. File systems are grown automatically
|
||||
on access if all of the following conditions are met:</para>
|
||||
<orderedlist>
|
||||
@@ -492,7 +492,7 @@
|
||||
<option>--verity-data=</option> specifies a path to a file with the Verity data to use for the OS
|
||||
image, in case it is stored in a detached file. It is recommended to embed the Verity data directly
|
||||
in the image, using the Verity mechanisms in the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions Specification</ulink>.
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions Specification</ulink>.
|
||||
</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v247"/></listitem>
|
||||
@@ -651,7 +651,7 @@
|
||||
<member><citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>systemd.v</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions Specification</ulink></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions Specification</ulink></member>
|
||||
<member><citerefentry project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
||||
<member><citerefentry project='man-pages'><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
||||
<member><citerefentry project='man-pages'><refentrytitle>fdisk</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
are applied to file system in the indicated disk image. This is similar to <option>--root=</option>
|
||||
but operates on file systems stored in disk images or block devices. The disk image should either
|
||||
contain just a file system or a set of file systems within a GPT partition table, following the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions
|
||||
Specification</ulink>. For further information on supported disk images, see
|
||||
<citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
|
||||
switch of the same name.</para>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
(XBOOTLDR), and swap partitions and creates mount and swap units for them, based on the partition type
|
||||
GUIDs of GUID partition tables (GPT). See <ulink url="https://uefi.org/specifications">UEFI
|
||||
Specification</ulink>, chapter 5 for more details. It implements the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable
|
||||
Partitions Specification</ulink>.</para>
|
||||
|
||||
<para>Note that this generator has no effect on non-GPT systems. It will also not create mount point
|
||||
@@ -138,7 +138,7 @@
|
||||
<entry>…</entry>
|
||||
<entry>Root partitions for other architectures</entry>
|
||||
<entry><filename>/</filename></entry>
|
||||
<entry>The first partition with the type UUID matching the architecture, located on the same disk as the ESP used for booting, is used as the root file system <filename>/</filename>. For the full list and constant values, see <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions Specification</ulink>.</entry>
|
||||
<entry>The first partition with the type UUID matching the architecture, located on the same disk as the ESP used for booting, is used as the root file system <filename>/</filename>. For the full list and constant values, see <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions Specification</ulink>.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>SD_GPT_HOME</constant></entry>
|
||||
@@ -252,7 +252,7 @@
|
||||
|
||||
<para>Mount and automount units for the EFI System Partition (ESP) and Extended Boot Loader Partition
|
||||
(XBOOTLDR) are generated on EFI systems. If the disk contains an XBOOTLDR partition, as defined in the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader
|
||||
Specification</ulink>, it is made available at <filename>/boot/</filename>. This generator creates an
|
||||
automount unit; the mount will only be activated on-demand when accessed. The mount point will be created
|
||||
if necessary.</para>
|
||||
@@ -354,7 +354,7 @@
|
||||
automatic discovery of the root partition based on GPT partition information is enabled. This is a
|
||||
superset of <varname>root=gpt-auto</varname>, as it automatically configures Verity partitions
|
||||
(including signature-based setup) following the logic defined for that in the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification/">Discoverable
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification/">UAPI.2 Discoverable
|
||||
Partitions Specification</ulink>. Moreover it takes the configured image policy and image filter into
|
||||
account for all partition types, including the root file system. <literal>root=dissect</literal> will
|
||||
wait for the factory reset phase to be completed if it is in effect before activating the root file
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
version 255.</para>
|
||||
|
||||
<para><command>var-partition-uuid</command> prints a UUID which, following the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable
|
||||
Partitions Specification</ulink>, should be used as the GPT partition UUID for
|
||||
<filename>/var/</filename>, being derived from the GPT partition type, keyed by the local
|
||||
<filename>/etc/machine-id</filename>. Added in version 257.</para>
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
from downloaded disk images. This is only supported for <literal>raw</literal> disk images.</para>
|
||||
|
||||
<para>Note when this option is used with the purpose of mounting a disk image conforming to the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_disk_image/">Discoverable
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_disk_image/">UAPI.3 Discoverable
|
||||
Disk Image Specification</ulink> as root file system, and the automatic GPT partition discovery
|
||||
logic as implemented by
|
||||
<citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
<para><command>systemd-measure</command> is a tool that may be used to pre-calculate and sign the
|
||||
expected TPM2 PCR 11 values that should be seen when a Linux <ulink
|
||||
url="https://uapi-group.org/specifications/specs/unified_kernel_image/">Unified Kernel Image
|
||||
url="https://uapi-group.org/specifications/specs/unified_kernel_image/">UAPI.5 Unified Kernel Image
|
||||
(UKI)</ulink> based on
|
||||
<citerefentry><refentrytitle>systemd-stub</refentrytitle><manvolnum>7</manvolnum></citerefentry> is
|
||||
booted up. It accepts paths to the ELF kernel image file, initrd image file, devicetree file, kernel
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
file descriptors for the file systems contained therein to clients, via a Varlink IPC API.</para>
|
||||
|
||||
<para>The disk images provided must contain a raw file system image or must follow the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification/">Discoverable
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification/">UAPI.2 Discoverable
|
||||
Partitions Specification</ulink>. Before mounting any file systems authenticity of the disk image is
|
||||
established in one or a combination of the following ways:</para>
|
||||
|
||||
|
||||
@@ -327,14 +327,12 @@
|
||||
partition of type
|
||||
0fc63daf-8483-4772-8e79-3d69d8477de4.</para></listitem>
|
||||
|
||||
<listitem><para>A GUID partition table (GPT) with a marked
|
||||
root partition which is mounted as the root directory of the
|
||||
container. Optionally, GPT images may contain a home and/or
|
||||
a server data partition which are mounted to the appropriate
|
||||
places in the container. All these partitions must be
|
||||
identified by the partition types defined by the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable
|
||||
Partitions Specification</ulink>.</para></listitem>
|
||||
<listitem><para>A GUID partition table (GPT) with a marked root partition which is mounted as the
|
||||
root directory of the container. Optionally, GPT images may contain a home and/or a server data
|
||||
partition which are mounted to the appropriate places in the container. All these partitions must
|
||||
be identified by the partition types defined by the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2
|
||||
Discoverable Partitions Specification</ulink>.</para></listitem>
|
||||
|
||||
<listitem><para>No partition table, and a single file system spanning the whole image.</para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
or credentials) or bind encryption to booted kernels.</para>
|
||||
|
||||
<para>For further details about the UKI concept, see the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/unified_kernel_image/">UKI specification</ulink>.</para>
|
||||
url="https://uapi-group.org/specifications/specs/unified_kernel_image/">UAPI.5 UKI specification</ulink>.</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
@@ -806,7 +806,7 @@
|
||||
<member><citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>systemd-creds</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>systemd-sysext</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink></member>
|
||||
<member><ulink url="https://systemd.io/BOOT_LOADER_INTERFACE">Boot Loader Interface</ulink></member>
|
||||
<member><citerefentry><refentrytitle>ukify</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>systemd-measure</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
<orderedlist>
|
||||
<listitem><para>Plain directories or btrfs subvolumes containing the OS tree</para></listitem>
|
||||
<listitem><para>Disk images with a GPT disk label, following the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions Specification</ulink></para></listitem>
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions Specification</ulink></para></listitem>
|
||||
<listitem><para>Disk images lacking a partition table, with a naked Linux file system (e.g. erofs,
|
||||
squashfs or ext4)</para></listitem>
|
||||
</orderedlist>
|
||||
|
||||
@@ -76,8 +76,8 @@
|
||||
are applied to file system in the indicated disk image. This is similar to <option>--root=</option>
|
||||
but operates on file systems stored in disk images or block devices. The disk image should either
|
||||
contain just a file system or a set of file systems within a GPT partition table, following the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
Specification</ulink>. For further information on supported disk images, see
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2
|
||||
Discoverable Partitions Specification</ulink>. For further information on supported disk images, see
|
||||
<citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
|
||||
switch of the same name.</para>
|
||||
|
||||
|
||||
@@ -264,7 +264,7 @@
|
||||
are applied to file system in the indicated disk image. This is similar to <option>--root=</option>
|
||||
but operates on file systems stored in disk images or block devices. The disk image should either
|
||||
contain just a file system or a set of file systems within a GPT partition table, following the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions
|
||||
Specification</ulink>. For further information on supported disk images, see
|
||||
<citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
|
||||
switch of the same name.</para>
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
<para>Set the linux kernel image to use for direct kernel boot.
|
||||
If a directory type image is used and <option>--linux=</option> was omitted, vmspawn will search for boot loader entries
|
||||
according to the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink> assuming
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink> assuming
|
||||
XBOOTLDR to be located at /boot and ESP to be /efi respectively.
|
||||
If no kernel was installed into the image then the image will fail to boot.</para>
|
||||
|
||||
@@ -210,7 +210,7 @@
|
||||
<listitem>
|
||||
<para>Set the initrd to use for direct kernel boot.
|
||||
If the <option>--linux=</option> supplied is a
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink>
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink>
|
||||
Type #2 entry, then this argument is not required.
|
||||
If no initrd was installed into the image then the image will fail to boot.</para>
|
||||
|
||||
@@ -739,7 +739,7 @@ $ ssh root@vsock/$my_vsock_cid -i /run/user/$UID/systemd/vmspawn/machine-*-syste
|
||||
<member><citerefentry project='debian'><refentrytitle>mkosi</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>machinectl</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>importctl</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader Specification</ulink></member>
|
||||
<member><ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader Specification</ulink></member>
|
||||
</simplelist></para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
@@ -174,9 +174,9 @@
|
||||
or loopback file instead of a directory. The device node or file system image file needs to contain a
|
||||
file system without a partition table, or a file system within an MBR/MS-DOS or GPT partition table
|
||||
with only a single Linux-compatible partition, or a set of file systems within a GPT partition table
|
||||
that follows the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">
|
||||
Discoverable Partitions Specification</ulink>.</para>
|
||||
that follows the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2
|
||||
Discoverable Partitions Specification</ulink>.</para>
|
||||
|
||||
<para>When <varname>DevicePolicy=</varname> is set to <literal>closed</literal> or
|
||||
<literal>strict</literal>, or set to <literal>auto</literal> and <varname>DeviceAllow=</varname> is
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<title>Description</title>
|
||||
|
||||
<para>In systemd, whenever a disk image (DDI) implementing the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable
|
||||
Partitions Specification</ulink> is activated, a filter may be specified controlling which partitions to
|
||||
consider for mounting. Such a disk image dissection filter is a string that contains per-partition-type
|
||||
patterns, separated by colons (<literal>:</literal>). The individual rules consist of a partition
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
<title>Description</title>
|
||||
|
||||
<para>In systemd, whenever a disk image (DDI) implementing the <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable
|
||||
Partitions Specification</ulink> is activated, a policy may be specified controlling which partitions to
|
||||
mount and what kind of cryptographic protection to require. Such a disk image dissection policy is a
|
||||
string that contains per-partition-type rules, separated by colons (<literal>:</literal>). The individual
|
||||
rules consist of a partition identifier, an equal sign (<literal>=</literal>), and one or more flags
|
||||
which may be set per partition. If multiple flags are specified per partition they are separated by a
|
||||
plus sign (<literal>+</literal>).</para>
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2
|
||||
Discoverable Partitions Specification</ulink> is activated, a policy may be specified controlling which
|
||||
partitions to mount and what kind of cryptographic protection to require. Such a disk image dissection
|
||||
policy is a string that contains per-partition-type rules, separated by colons
|
||||
(<literal>:</literal>). The individual rules consist of a partition identifier, an equal sign
|
||||
(<literal>=</literal>), and one or more flags which may be set per partition. If multiple flags are
|
||||
specified per partition they are separated by a plus sign (<literal>+</literal>).</para>
|
||||
|
||||
<para>The partition identifiers currently defined are: <option>root</option>, <option>usr</option>,
|
||||
<option>home</option>, <option>srv</option>, <option>esp</option>, <option>xbootldr</option>,
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
<para>The variable part of the filenames in the <literal>.v/</literal> directories are filtered and
|
||||
compared primarily with a version comparison, implementing <ulink
|
||||
url="https://uapi-group.org/specifications/specs/version_format_specification/">Version Format
|
||||
url="https://uapi-group.org/specifications/specs/version_format_specification/">UAPI.10 Version Format
|
||||
Specification</ulink>. However, additional rules apply:</para>
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
@@ -84,8 +84,8 @@
|
||||
<listitem><para>A file <literal>https://download.example.com/foobarOS_47.root.xz</literal> should be
|
||||
downloaded, decompressed and written to a previously unused partition with GPT partition type UUID
|
||||
4f68bce3-e8cd-4db1-96e7-fbcaf984b709 for x86-64, as per <ulink
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
Specification</ulink>.</para></listitem>
|
||||
url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2
|
||||
Discoverable Partitions Specification</ulink>.</para></listitem>
|
||||
|
||||
<listitem><para>Similarly, a file <literal>https://download.example.com/foobarOS_47.verity.xz</literal>
|
||||
should be downloaded, decompressed and written to a previously empty partition with GPT partition type
|
||||
@@ -93,7 +93,7 @@
|
||||
for x86-64 root file systems).</para></listitem>
|
||||
|
||||
<listitem><para>Finally, a file <literal>https://download.example.com/foobarOS_47.efi</literal> (a
|
||||
unified kernel, as per <ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader
|
||||
unified kernel, as per <ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader
|
||||
Specification</ulink> Type #2) should be downloaded, decompressed and written to the $BOOT file system,
|
||||
i.e. to <filename>EFI/Linux/foobarOS_47.efi</filename> in the ESP or XBOOTLDR partition.</para></listitem>
|
||||
</orderedlist>
|
||||
@@ -368,21 +368,21 @@
|
||||
<entry><literal>@a</literal></entry>
|
||||
<entry>GPT partition flag NoAuto</entry>
|
||||
<entry>Either <literal>0</literal> or <literal>1</literal></entry>
|
||||
<entry>Controls NoAuto bit of the GPT partition flags, as per <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions Specification</ulink>; only relevant if target resource type chosen as <constant>partition</constant></entry>
|
||||
<entry>Controls NoAuto bit of the GPT partition flags, as per <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions Specification</ulink>; only relevant if target resource type chosen as <constant>partition</constant></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>@g</literal></entry>
|
||||
<entry>GPT partition flag GrowFileSystem</entry>
|
||||
<entry>Either <literal>0</literal> or <literal>1</literal></entry>
|
||||
<entry>Controls GrowFileSystem bit of the GPT partition flags, as per <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions Specification</ulink>; only relevant if target resource type chosen as <constant>partition</constant></entry>
|
||||
<entry>Controls GrowFileSystem bit of the GPT partition flags, as per <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions Specification</ulink>; only relevant if target resource type chosen as <constant>partition</constant></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>@r</literal></entry>
|
||||
<entry>Read-only flag</entry>
|
||||
<entry>Either <literal>0</literal> or <literal>1</literal></entry>
|
||||
<entry>Controls ReadOnly bit of the GPT partition flags, as per <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions Specification</ulink> and other output read-only flags, see <varname>ReadOnly=</varname> below</entry>
|
||||
<entry>Controls ReadOnly bit of the GPT partition flags, as per <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions Specification</ulink> and other output read-only flags, see <varname>ReadOnly=</varname> below</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
@@ -681,12 +681,12 @@
|
||||
<para>If set to <constant>root</constant>, <constant>esp</constant>, <constant>xbootldr</constant>,
|
||||
the specified <varname>Path=</varname> will be resolved relative to the mount point of the
|
||||
corresponding partition, as defined by the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader
|
||||
Specification</ulink>.</para>
|
||||
|
||||
<para>If set to <constant>boot</constant>, the specified <varname>Path=</varname> will be resolved
|
||||
relative to the mount point of the $BOOT partition (i.e. the ESP or XBOOTLDR), as defined by the
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader
|
||||
Specification</ulink>.</para>
|
||||
|
||||
<para>If set to <constant>explicit</constant>, the specified <varname>Path=</varname> will be
|
||||
@@ -753,7 +753,7 @@
|
||||
overall <varname>PartitionFlags=</varname> flags setting and the individual flag settings
|
||||
<varname>PartitionNoAuto=</varname> and <varname>PartitionGrowFileSystem=</varname> are used (or the
|
||||
wildcards for them), then the latter override the former, i.e. the individual flag bit overrides the
|
||||
overall flags value. See <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable
|
||||
overall flags value. See <ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable
|
||||
Partitions Specification</ulink> for details about these flags.</para>
|
||||
|
||||
<para>Note that these settings are not used for matching, they only have effect on newly written
|
||||
@@ -767,7 +767,7 @@
|
||||
|
||||
<listitem><para>Controls whether to mark the resulting file, subvolume or partition read-only. If the
|
||||
target type is <constant>partition</constant> this controls the ReadOnly partition flag, as per
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">Discoverable Partitions
|
||||
<ulink url="https://uapi-group.org/specifications/specs/discoverable_partitions_specification">UAPI.2 Discoverable Partitions
|
||||
Specification</ulink>, similar to the <varname>PartitionNoAuto=</varname> and
|
||||
<varname>PartitionGrowFileSystem=</varname> flags described above. If the target type is
|
||||
<constant>regular-file</constant>, the writable bit is removed from the access mode. If the
|
||||
@@ -987,7 +987,7 @@ TriesDone=0
|
||||
InstancesMax=2</programlisting></para>
|
||||
|
||||
<para>The above installs a unified kernel image into the $BOOT partition, as per
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader
|
||||
<ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">UAPI.1 Boot Loader
|
||||
Specification</ulink> Type #2. This defines three possible patterns for the names of the kernel
|
||||
images, as per <ulink url="https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT">Automatic Boot Assessment</ulink>,
|
||||
and ensures when installing new kernels, they are set up with 3 tries left. No more than two parallel
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<para><command>ukify</command> is a tool whose primary purpose is to combine components (usually a
|
||||
kernel, an initrd, and the
|
||||
<citerefentry><refentrytitle>systemd-stub</refentrytitle><manvolnum>7</manvolnum></citerefentry> UEFI
|
||||
stub) to create a <ulink url="https://uapi-group.org/specifications/specs/unified_kernel_image/">Unified
|
||||
stub) to create a <ulink url="https://uapi-group.org/specifications/specs/unified_kernel_image/">UAPI.5 Unified
|
||||
Kernel Image (UKI)</ulink> — a single PE binary that boots the system. When the UKI is executed, the stub
|
||||
extracts and boots the embedded linux kernel. The UKI can be started directly by the firmware or through
|
||||
a boot loader. When used with <ulink url="https://www.qemu.org/docs/master/">qemu</ulink>, a UKI can also
|
||||
|
||||
Reference in New Issue
Block a user