Skip to main content

use_discoverable_partitions

Function use_discoverable_partitions 

Source
fn use_discoverable_partitions(state: &State) -> bool
Expand description

Check whether DPS auto-discovery is enabled. When true, root=UUID= is omitted and systemd-gpt-auto-generator discovers the root partition via its DPS type GUID instead.

Defaults to true for systemd-boot (which always implements BLI). For GRUB the default is false because we cannot know at install time whether the GRUB build includes the bli module — the module is baked into the signed EFI binary with no external manifest. Distros shipping a BLI-capable GRUB should set discoverable-partitions = true in their install config.