grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

search by partition type guid supported?


From: Chris Murphy
Subject: search by partition type guid supported?
Date: Fri, 28 Jan 2022 13:12:41 -0700

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]