[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27735: Lookup by UUID
From: |
Danny Milosavljevic |
Subject: |
bug#27735: Lookup by UUID |
Date: |
Thu, 20 Jul 2017 23:51:15 +0200 |
Hi Ludo,
On Thu, 20 Jul 2017 22:32:29 +0200
address@hidden (Ludovic Courtès) wrote:
> > 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.
I can't believe I'm suggesting this (we've come full circle now) but we could
add a new bootloader in gnu/bootloader/grub.scm,
(define* grub-hybrid-bootloader ; or grub-mkrescue-bootloader, maybe less
misleading.
(bootloader
(inherit grub-efi-bootloader)
(configuration-file-generator
grub-configuration-file-without-search-emission) ; this here could parametrize
grub-configuration-file somehow or maybe we could refactor
grub-configuration-file instead.
; Note: name is still 'grub-efi, so the public boot parameters API doesn't
change.
(package grub-hybrid))) ; probably; or grub-efi if you just want a quick
test with EFI only.
... and use it in iso9660-image or gnu/system/install.scm .
- bug#27735: Unbootable images with GuixSD on... "GuixSD", (continued)
- bug#27735: Unbootable images with GuixSD on... "GuixSD", Danny Milosavljevic, 2017/07/19
- bug#27735: Lookup by UUID, Ludovic Courtès, 2017/07/19
- bug#27735: Lookup by UUID, Danny Milosavljevic, 2017/07/20
- bug#27735: Lookup by UUID, Ludovic Courtès, 2017/07/20
- bug#27735: Lookup by UUID,
Danny Milosavljevic <=