Subject: bug#64593: ‘guix system image’ fails to create image while invoking ‘grub-bios-setup’

From: Sergey Trofimov <[email-masked]>
Date: Tue, 18 Jul 2023 20:34:35 +0200

Hi Ludovic,

shouldn't it be `(bootloader grub-efi-bootloader)` if you're 
building a `efi-raw` image?
With efi grub it builds and boots just fine, as I've tested before 
submitting the patch.

Ludovic Courtès <[email-masked]> writes:

> Hello,
>
> There seems to be a recent regression:
>
> $ cat mini-os.scm
> (use-modules (gnu))
>
> (operating-system
>   (host-name "mini-1")
>
>   (bootloader (bootloader-configuration
>                 (bootloader grub-bootloader)
>                 (targets '("/dev/sda"))))
>   (file-systems (cons (file-system
>                         (device (file-system-label "my-root"))
>                         (mount-point "/")
>                         (type "ext4")) %base-file-systems))
>   (kernel-arguments (list "console=tty0 console=ttyS0,115200")))
> $ guix system image mini-os.scm
>