unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27695] [PATCH 0/2] Introduce grub hybrid bootloader and use it.
@ 2017-07-14 18:59 Danny Milosavljevic
  2017-07-14 19:01 ` [bug#27695] [PATCH 1/2] bootloader: Add grub-hybrid-bootloader Danny Milosavljevic
  2017-07-14 19:34 ` [bug#27695] [PATCH 0/2] Introduce grub hybrid bootloader and use it Danny Milosavljevic
  0 siblings, 2 replies; 7+ messages in thread
From: Danny Milosavljevic @ 2017-07-14 18:59 UTC (permalink / raw)
  To: 27695

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.

Danny Milosavljevic (2):
  bootloader: Add grub-hybrid-bootloader.
  install: Use grub-hybrid-bootloader.

 gnu/bootloader/grub.scm      |  7 +++++++
 gnu/packages/bootloaders.scm | 20 ++++++++++++++++++++
 gnu/system/install.scm       |  3 ++-
 3 files changed, 29 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-20 18:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-14 18:59 [bug#27695] [PATCH 0/2] Introduce grub hybrid bootloader and use it Danny Milosavljevic
2017-07-14 19:01 ` [bug#27695] [PATCH 1/2] bootloader: Add grub-hybrid-bootloader Danny Milosavljevic
2017-07-14 19:01   ` [bug#27695] [PATCH 2/2] install: Use grub-hybrid-bootloader Danny Milosavljevic
2017-07-20  8:39   ` [bug#27695] [PATCH 1/2] bootloader: Add grub-hybrid-bootloader Ludovic Courtès
2017-07-20 11:47     ` Danny Milosavljevic
2017-07-20 18:42       ` Danny Milosavljevic
2017-07-14 19:34 ` [bug#27695] [PATCH 0/2] Introduce grub hybrid bootloader and use it Danny Milosavljevic

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).