bug-guix
[Top][All Lists]
Advanced

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

bug#27735: Lookup by UUID


From: Ludovic Courtès
Subject: bug#27735: Lookup by UUID
Date: Thu, 20 Jul 2017 22:32:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Heya,

Danny Milosavljevic <address@hidden> skribis:

>> 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...

Oooh, interesting, that comes in handy.  :-)

Now, how can we pass the information to ‘grub-configuration-file’ so
that it doesn’t emit that “search” command?

It seems that the bootloader API doesn’t leave room to pass
bootloader-specific options.

Thoughts?

Ludo’.





reply via email to

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