bug#66207: Cannot boot VMs with grub-efi-bootloader

2023-10-01 Thread Ricardo Wurmus
Mathieu Othacehe writes: > Now it looks to me that what Ricardo is observing is not linked to any > of the changes mentioned above. When using the grub-efi-bootloader, > Grub is never installed in the post-MBR gap. This was already the case > in 1.4.0 and is still true. Those images cannot be

bug#66207: Cannot boot VMs with grub-efi-bootloader

2023-10-01 Thread Mathieu Othacehe
Hey, Some context around that. Before recent commits, when we were producing qcow2 or raw images, those were MBR images with an EFI partition. If the grub-bootloader was used, then Grub was installed both in the post-MBR gap and in the EFI partition. This means that a single image could be boot

bug#66207: Cannot boot VMs with grub-efi-bootloader

2023-10-01 Thread Maxim Cournoyer
Hi, [...] > It’s due to the bootloader. This field from the bare bones template > works: > > (bootloader (bootloader-configuration > (bootloader grub-bootloader) > (targets '("/dev/sdX" > > but this from the desktop template doesn’t: > > (bootloader (bootl

bug#66207: Cannot boot VMs with grub-efi-bootloader

2023-10-01 Thread Ludovic Courtès
Hi, Ricardo Wurmus skribis: > The manual for “guix system” gives a somewhat complicated invocation > that I only found out about later: > > image=$(guix system image --image-type=qcow2 \ > gnu/system/examples/lightweight-desktop.tmpl) > cp $image /tmp/my-ima

bug#66207: Cannot boot VMs with grub-efi-bootloader

2023-09-30 Thread Ricardo Wurmus
Ludovic Courtès writes: > Hi, > > Ricardo Wurmus skribis: > >> I’m trying to build a more recent VM image than 1.4.0. The 1.4.0 qcow2 >> image that’s available for download on the Guix website boots fine, but >> any image created with a current Guix cannot be booted. >> >> I’m on Guix commit