When booting from a CD-ROM via El Torito, the UEFI device path contains a CDROM_DEVICE_PATH node instead of a HARDDRIVE_DEVICE_PATH node. Unlike the hard drive variant, the CDROM node does not carry a partition UUID, so systemd-boot previously could not determine the boot partition UUID in this scenario. Add disk_get_part_uuid_cdrom() which recovers the partition UUID by reading the GPT from the underlying disk. Since ISO images are commonly mastered with 512-byte GPT sectors on media with 2048-byte blocks, the function probes for the GPT header at multiple sector sizes (512, 1024, 2048, 4096) and matches the partition by comparing byte offsets between the CDROM node's PartitionStart and each GPT entry's StartingLBA. The function reuses read_gpt_entries() for GPT parsing and adds debug logging for each failure path to aid diagnosis on real hardware. Also adds the CDROM_DEVICE_PATH struct and MEDIA_CDROM_DP subtype constant to device-path.h, and fixes disk_get_part_uuid() to preserve the original device path pointer so it can be passed to the CDROM fallback. Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel
Stable branches with backported patches are available in the stable repo.
We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack
Repositories with distribution packages built from git main are available on OBS, and also repositories with packages built from the latest stable release
