Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 67:04:53 |
Calls: | 425 |
Calls today: | 3 |
Files: | 1,025 |
Messages: | 91,511 |
Posted today: | 1 |
I would really like this patch to be included into partman-auto-raid.
The same bug also prevents device paths with a dot. This is common in /dev/disk/by-path symlinks. It would be great to be able to use such
symlinks to avoid issues with different device enumerations depending on
how man slots are actually populated with disks.
Feel free to add this to the wishlist, without any promises though.
https://wiki.debian.org/DebianInstaller/Trixie/Wishlist
I haven't tried to fully understand the patches and its implications, but that might be doable even if we're getting late in the release cycle.
On 14/05/2025 at 21:47, Cyril Brulebois wrote:
Feel free to add this to the wishlist, without any promises though.
https://wiki.debian.org/DebianInstaller/Trixie/Wishlist
I can do it if Johannes agrees.
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, which may be required by some UEFI implementations to recognize such partitions as ESP when booting from the removable media path (other UEFI implementations may
be able to use any partition containing a FAT filesystem as an ESP, regardless of the partition type identifier). Note that grub-install cannot update EFI boot variables if /boot/efi is not a plain partition, so booting from such setup relies on the removable media path or manually updating EFI boot variables with efibootmgr via preseed commands.
Yeah sure, I personally would be fine with that. I don't want to step on >Holger's toes after our off-list discussion of the matter, however... but I >realize having made it onto the wishlist is very far from the final call to >get it merged for a given release, so I hope he'd be fine with it ;)
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
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!)
(Trimming the Cc list, no need to bother everyone)
[...]
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.
[...]
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 ?