SYSTEMD-GPT-AUTO-GENERATOR(8) systemd-gpt-auto-generator ----- - /home/ /srv/ /var/ /var/tmp/ GUIDs GPT /usr/lib/systemd/system-generators/systemd-gpt-auto-generator ----- /home/ /srv/ /var/ /var/tmp/ EFI (ESP) (XBOOTLDR) GUIDs GUID (GPT). UEFI[1] 5 . UAPI.2[2]. GPT. fstab(5). ESP XBOOTLDR /boot/ /efi/ fstab(5). . RAM (initrd) . : o EFI (ESP). : EFI LoaderDevicePartUUID UUID 4a67b082-0a4c-41cf-b6c7-440b29bb8c4f ( ) . . [3] . o ".lo_name" "rootdisk" "rootdisk.raw". losetup' --loop-ref=. systemd-import-generator(8) "blockdev" "rootdisk" . "root=gpt-auto" "root=dissect" ESP "root=" . ( systemd-udevd.service' /dev/gpt-auto-root). ( initrd ) . . initrd ( ) . : ( initrd ). btrfs RAID. /run/systemd/volatile-root /dev/block/$major:$minor. (overlayfs). ----- /etc/fstab . GUID . GUIDs : 1. GUIDs +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ | | GUID | | | | | | | | | | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ |SD_GPT_ROOT_X86_64 | 4f68bce3-e8cd-4db1-96e7-fbcaf984b709 | | / | | | | | (x86-64) | | | | | | | | UUID | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ESP | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | / | | | | | | AMD64 / x86 | | | | | | 64 . | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ |SD_GPT_ROOT_ARM64 | b921b045-1df0-41c3-af44-4c6f280d3fae | | / | | | | | (ARM 64 | | | | | | ) | | UUID | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ESP | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | / | | | | | | AArch64 / ARM | | | | | | 64 . | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ |SD_GPT_ROOT_ALPHA | ... | | / | | |SD_GPT_ROOT_ARC | | | | | |SD_GPT_ROOT_ARM | | | | UUID | |SD_GPT_ROOT_ARM64 | | | | | |SD_GPT_ROOT_IA64 | | | | | |SD_GPT_ROOT_LOONGARCH64 | | | | | |SD_GPT_ROOT_MIPS | | | | | |SD_GPT_ROOT_MIPS64 | | | | | |SD_GPT_ROOT_MIPS_LE | | | | | |SD_GPT_ROOT_MIPS64_LE | | | | ESP | |SD_GPT_ROOT_PARISC | | | | | |SD_GPT_ROOT_PPC | | | | | |SD_GPT_ROOT_PPC64 | | | | | |SD_GPT_ROOT_PPC64_LE | | | | | |SD_GPT_ROOT_RISCV32 | | | | | |SD_GPT_ROOT_RISCV64 | | | | /. | |SD_GPT_ROOT_S390 | | | | | |SD_GPT_ROOT_S390X | | | | | |SD_GPT_ROOT_TILEGX | | | | | |SD_GPT_ROOT_X86 | | | | | |SD_GPT_ROOT_X86_64 | | | | UAPI.2 | |SD_GPT_USR_ALPHA | | | | Discoverable Partitions | |SD_GPT_USR_ARC | | | | Specification[2]. | |SD_GPT_USR_ARM | | | | | |SD_GPT_USR_IA64 | | | | | |SD_GPT_USR_LOONGARCH64 | | | | | |SD_GPT_USR_MIPS_LE | | | | | |SD_GPT_USR_MIPS64_LE | | | | | |SD_GPT_USR_PARISC | | | | | |SD_GPT_USR_PPC | | | | | |SD_GPT_USR_PPC64 | | | | | |SD_GPT_USR_PPC64_LE | | | | | |SD_GPT_USR_RISCV32 | | | | | |SD_GPT_USR_RISCV64 | | | | | |SD_GPT_USR_S390 | | | | | |SD_GPT_USR_S390X | | | | | |SD_GPT_USR_TILEGX | | | | | |SD_GPT_USR_X86 | | | | | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ |SD_GPT_HOME | 933ac7e1-2eb4-4f13-b844-0e14e2aef915 | | /home/ | | | | | | | | | | | | | UUID | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /home/. | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ |SD_GPT_SRV | 3b8f8425-20e0-4f3b-907f-1a25a76f98e8 | | /srv/ | | | | | | | | | | | | | UUID | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /srv/. | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ |SD_GPT_VAR | 4d21b016-b534-45c2-a9fb-5c16e091fd2d | | /var/ | | | | | | | | | | | | | UUID | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /var/ -- | | | | | | UUID | | | | | | | | | | | | 128 | | | | | | HMAC-SHA256 uuid | | | | | | GPT | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | machine-id(5). | | | | | | | | | | | | | | | | | | systemd-id128(1). | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ |SD_GPT_TMP | 7ec6f557-3bc5-4aca-b293-16ef5df639d1 | | /var/tmp/ | | | | | | | | | | | | | UUID | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /var/tmp/. | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ |SD_GPT_SWAP | 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f | | n/a | | | | | | | | | | | | | UUID | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ |SD_GPT_ESP | c12a7328-f81f-11d2-ba4b-00a0c93ec93b | EFI | /efi/ /boot/ | | | | | (ESP) | | | | | | | | UUID | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /boot/ /efi/ | | | | | | . | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ |SD_GPT_XBOOTLDR | bc13c2ff-59e6-4262-a352-b275fd6f7172 | | /boot/ | | | | | | | | | | | | | UUID | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /boot/ | | | | | | . | +------------------------+--------------------------------------+--------------------------------+-----------------------+--------------------------------+ : 2. +---------------------------------+--------------------+-----------------------+-----------------------+ | | | | | | | | | | +---------------------------------+--------------------+-----------------------+-----------------------+ |SD_GPT_FLAG_READ_ONLY | 0x1000000000000000 | /, /home/, /srv/, | | | | | /var/, /var/tmp/, | | | | | | | | | | | | | | | | | | | | | | +---------------------------------+--------------------+-----------------------+-----------------------+ |SD_GPT_FLAG_NO_AUTO | 0x8000000000000000 | /, /home/, /srv/, | | | | | /var/, /var/tmp/, | | | | | | | | | | | | | | | | | | | | | | +---------------------------------+--------------------+-----------------------+-----------------------+ |SD_GPT_FLAG_NO_BLOCK_IO_PROTOCOL | 0x0000000000000002 | | | | | | EFI | | | | | (ESP) | | | | | | | +---------------------------------+--------------------+-----------------------+-----------------------+ /home/ /srv/ /var/ /var/tmp/ LUKS. /dev/mapper/home /dev/mapper/srv /dev/mapper/var /dev/mapper/tmp /dev/mapper/swap. /etc/crypttab . systemd initrd / LUKS . /dev/mapper/root sysroot.mount /sysroot. bootup(7). EFI (ESP) (XBOOTLDR) EFI. XBOOTLDR UAPI.1[4] /boot/. . . ESP /boot/ XBOOTLDR /efi/. /boot/ . . fstab(5) . btrfs btrfs subvolume set-default. systemd-stub(7) TPM2 PCR /var/ ( ) PCR 15 systemd-pcrfs@.service(8). LUKS NvPCR "cryptsetup". /usr/ Verity / ( ) NvPCR "verity". systemd-validatefs@.service(8) . systemd-gpt-auto-generator systemd.generator(7). systemd-gpt-auto-generator : systemd.gpt_auto rd.systemd.gpt_auto . ( "systemd.gpt_auto=0"). 242. systemd.image_policy= ( systemd.image-policy(7)) GPT . /usr/ root=dissect/mount.usr=dissect ( root=dissect-force). ( .) 254. systemd.image_filter= ( systemd.image-filter(7)) GPT . /usr/ root=dissect/mount.usr=dissect ( root=dissect-force). ( .) 258. root= rootfstype= rootflags= root= "gpt-auto" GPT. . [5] . "gpt-auto-force" . root= "dissect" GPT. root=gpt-auto Verity ( ) UAPI.2[6]. . "root=dissect" . "root=dissect-force" . ( "gpt-auto" "gpt-auto-force" "dissect" "dissect-force") . root= ESP ( "root=gpt-auto") ".lo_name" . rootfstype= rootflags= . 242. mount.usr= mount.usrfstype= mount.usrflags= root= rootfstype= rootflags= ( ) /usr/ . "gpt-auto" "gpt-auto-force" "dissect-force" root= mount.usr= ( "dissect" ). /usr/ root= . 258. rw ro - . . systemd-remount-fs.service(8). 242. systemd.swap= . () GPT. . 254. systemd(1) systemd.mount(5) systemd.swap(5) systemd-fstab-generator(8) systemd-cryptsetup@.service(8) systemd-pcrfs@.service(8) systemd-validatefs@.service(8) machine-id(5) cryptsetup(8) fstab(5) btrfs(8) 1. UEFI https://uefi.org/specifications 2. UAPI.2 https://uapi-group.org/specifications/specs/discoverable_partitions_specification 3. https://systemd.io/BOOT_LOADER_INTERFACE 4. UAPI.1 https://uapi-group.org/specifications/specs/boot_loader_specification 5. https://systemd.io/FACTORY_RESET 6. UAPI.2 https://uapi-group.org/specifications/specs/discoverable_partitions_specification/ 3 . . : . systemd 260.1 SYSTEMD-GPT-AUTO-GENERATOR(8)