From: wouter bolsterlee Date: Sun, 21 Feb 2021 17:00:55 +0000 (+0100) Subject: Update docs about fdisk/gdisk support for discoverable partitions X-Git-Tag: v248-rc1~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1f782e44c363ee1c2e8fd0cdd54ea523d72807c;p=thirdparty%2Fsystemd.git Update docs about fdisk/gdisk support for discoverable partitions This updates the docs about using fdisk/gdisk to make partitions with the right partition type UUID as defined in the discoverable partitions spec. Improve wording/grammar/formatting, and reflect that gdisk supports this as well nowadays; see https://www.rodsbooks.com/gdisk/revisions.html --- diff --git a/docs/DISCOVERABLE_PARTITIONS.md b/docs/DISCOVERABLE_PARTITIONS.md index 5c9a8dd9bda..2bdf201df34 100644 --- a/docs/DISCOVERABLE_PARTITIONS.md +++ b/docs/DISCOVERABLE_PARTITIONS.md @@ -225,10 +225,12 @@ appliance-like installations. ### What partitioning tools will create a DPS-compliant partition table? -As of util-linux 2.25.2, the fdisk tool provides type codes to create the root, -home, and swap partitions that the DPS expects, but the gdisk tool (version -0.8.10) and its variants do not support creation of a root file system with a -matching type code. By default, fdisk will create an old-style MBR, not a GPT, -so typing 'l' to list partition types will not show the choices that the root -partition with the correct UUID. You must first create an empty GPT and then -type 'l' in order for the DPS-compliant type codes to be available. +As of util-linux 2.25.2, the `fdisk` tool provides type codes to create the +root, home, and swap partitions that the DPS expects, By default, `fdisk` will +create an old-style MBR, not a GPT, so typing `l` to list partition types will +not show the choices to let you set the correct UUID. Make sure to first create +an empty GPT, then type `l` in order for the DPS-compliant type codes to be +available. + +The `gdisk` tool (from version 1.0.5 onward) and its variants (`sgdisk`, +`cgdisk`) also support creation of partitions with a matching type code.