Hi Matt > I wrote a patch a while ago for this. I ended up creating an add-on command, > that uses the partition UUID/GUID, to search (--pt-uuid) and > an accompanying module search.pt_uuid. These two commands mirror the search > --fs-uuid and search.fs_uuid where given a uuid it will > return the device. When given a disk/partition UUID/GUID that corresponds to > a disk that is either a biosdisk or efidisk, or a partition with > a partmap name of either "msdos" or "gpt" on one of the previous disks it > will return that device. I checked it against the master and it > applied cleanly. I can post it in a day.
That's exactly what I'm looking for. I appreciate if you can post the patches. Did you try to upstream them? Many Thanks Urs > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Freitag, 13. April 2018 07:33 > To: [email protected]; Ritzmann Urs > Subject: Re: search by PARTUUID > > I wrote a patch a while ago for this. I ended up creating an add-on command, > that uses the partition UUID/GUID, to search (--pt-uuid) and > an accompanying module search.pt_uuid. These two commands mirror the search > --fs-uuid and search.fs_uuid where given a uuid it will > return the device. When given a disk/partition UUID/GUID that corresponds to > a disk that is either a biosdisk or efidisk, or a partition with > a partmap name of either "msdos" or "gpt" on one of the previous disks it > will return that device. I checked it against the master and it > applied cleanly. I can post it in a day. > > Best regards, > > Matt > _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
