(Trimming the Cc list, no need to bother everyone)

On 17/05/2025 at 11:28, Johannes Truschnigg wrote:
On Fri, May 16, 2025 at 10:05:50AM +0200, Pascal Hambourg wrote:

Patch 2 adds support for the special "efi" method in partman-auto-raid
recipes. However it seems to be incomplete, as IIUC it does not set the
"esp" flag/partition type identifier on RAID member partitions (...)

Hrrmm, interesting - I did assume that the "method" := "efi" approach that my
patch uses would cause the resulting partition to have the proper metadata to
be universally recognized as an ESP

method=efi would only make partman try to set the "esp" flag (representing the ESP type identifier) on the resulting RAID array /dev/mdX, not on member partitions. "boot" is only a duplicate of "esp" on GPT.

but at least parted 3.5 is not convinced: (...) the "boot, esp" flags
are missing from parted's "Flags" output...

I am not sure what (if anything) is at fault here, and won't have enough time
today to go into the details, but looking at hexdumps from two legs of a
resulting RAID1 and my own desktop's single-m.2.EFI setup, the crucial bit
(ESP GUID) seems to be OK? (I am not a EFI expert, unfortunately, so I am very
open to hearing your corrections!)

I would trust more parted -l or fdisk -l output.

PS: Any opinion about my latest comment ("nitpick") in the MR ?

Reply via email to