Hi,

I'm wondering if GRUB already has support for, or would consider
supporting, searching for GRUB root by partition type GUID rather than
by filesystem GUID.

e.g. instead of
search --no-floppy --fs-uuid --set=dev 20681947-2a83-451e-82dd-28e6beee18bb

do

search --no-floppy --type-uuid --set=dev bc13c2ff-59e6-4262-a352-b275fd6f7172

Where bc13c2ff... is the partition type code for XBOOTLDR as defined
in both the Discoverable Partitions and Boot Loader specifications.

https://systemd.io/BOOT_LOADER_SPECIFICATION/
https://systemd.io/DISCOVERABLE_PARTITIONS/

The goal is to make grub.cfg much more generic and portable, searching
by partition types rather than by specific and unique file system or
partition UUIDs.

Thanks,

-- 
Chris Murphy

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to