From 5337cccf9773306ec9aa4b73b331b34ad86a1dd8 Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Wed, 12 Jun 2019 19:18:04 +0200 Subject: Document that gpt-auto-generator supports decrypting rootfs When systemd is running in initrd, we actually support decrypting a LUKS rootfs. Fixes #12786 --- man/systemd-gpt-auto-generator.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'man/systemd-gpt-auto-generator.xml') diff --git a/man/systemd-gpt-auto-generator.xml b/man/systemd-gpt-auto-generator.xml index d94d6ac715..22cd638f1f 100644 --- a/man/systemd-gpt-auto-generator.xml +++ b/man/systemd-gpt-auto-generator.xml @@ -187,6 +187,12 @@ /dev/mapper/home and /dev/mapper/srv. Note that this might create conflicts if the same partition is listed in /etc/crypttab with a different device mapper device name. + + When systemd is running in the initrd the / partition may be encrypted in LUKS + format as well. In this case, a device mapper device is set up under the name /dev/mapper/root, + and a sysroot.mount is set up that mounts the device under /sysroot. + For more information, see bootup7. + Mount and automount units for the EFI System Partition (ESP) are generated on EFI systems. The ESP is mounted to /boot/ (except if an Extended Boot Loader partition exists, see -- cgit v1.2.1