Subject: Re: Lookup by UUID

From: Danny Milosavljevic <[email-masked]>
Date: Thu, 20 Jul 2017 19:38:01 +0200

Hi Ludo,

> With iso9660, it works… by chance, because GRUB’s “search --fs-uuid”
> fails.  Guess why?  Because it compares UUIDs as strings, and we format
> it as a DCE UUID instead of an ISO UUID.  Sounds familiar no?  :-)

Yeah :)

> So that’s where we are.  Thoughts on how to address it?

https://www.gnu.org/software/grub/manual/grub.html#Making-a-GRUB-bootable-CD_002dROM says:

>...grub-mkrescue
>This produces a file named grub.iso, which then can be burned into a CD (or a DVD), or written to a USB mass storage device.
>The root device will be set up appropriately on entering your grub.cfg configuration file, so you can refer to file names on the CD without needing to use an explicit device name. This makes it easier to produce rescue images that will work on both optical drives and USB mass storage devices. 

So... just leave the entire "search" instruction off if it's created by grub-mkrescue ?  That's how one could interpret thir "root device" sentence...