Subject: [bug#27695] [PATCH 0/2] Introduce grub hybrid bootloader and use it.

From: Danny Milosavljevic <[email-masked]>
Date: Fri, 14 Jul 2017 21:34:57 +0200

On Fri, 14 Jul 2017 20:59:54 +0200
Danny Milosavljevic <[email-masked]> wrote:

> Ok, it turns out that grub-mkrescue can create a hybrid bootloader that works
> with both EFI and non-EFI systems.
> 
> For that, the contents of lib/grub/i386-pc has to be available to
> grub-mkrescue.  Then it will build a hybrid bootloader.
> 
> I've successfully tested it using:
> 
> $ qemu-system-x86_64 -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin -m 1G -enable-kvm -cdrom ZZ -serial stdio
> $ qemu-system-x86_64 -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin -m 1G -enable-kvm -hda ZZ -serial stdio
> $ qemu-system-x86_64 -m 1G -enable-kvm -cdrom ZZ -serial stdio
> $ qemu-system-x86_64 -m 1G -enable-kvm -hda ZZ -serial stdio
> 
> and the patch from bug# 27690.

and the patch from bug# 27689.

To clarify: I've tested both

$ guix system disk-image gnu/system/install.scm

and

$ guix system disk-image -t iso9660 gnu/system/install.scm

- both successfully.