[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26815: [PATCH 0/3] Hybrid UEFI disk image
From: |
Marius Bakke |
Subject: |
bug#26815: [PATCH 0/3] Hybrid UEFI disk image |
Date: |
Sun, 7 May 2017 16:35:05 +0200 |
This ended up a lot simpler than anticipated.
These patches are on top of <https://bugs.gnu.org/26339>, but can be
ported to master since it ultimately didn't use any of the new tricks.
Test with:
$ cp $(./pre-inst-env guix system disk-image --image-size=1G \
gnu/system/install.scm) install.img
$ chmod 644 install.img
$ qemu-system-x86_64 -enable-kvm -m 512M -serial stdio \
-bios $(guix build ovmf)/share/firmware/ovmf_x64.bin \
-drive file=install.img,if=virtio
One caveat is that it probably only works on most(?) 64-bit systems.
Please test it on real hardware, especially older EFI systems. Not sure
what to do about 32-bit yet.
Marius Bakke (3):
vm: Add support for arbitrary partition flags.
vm: Support creating FAT partitions.
vm: Support EFI boot in base image.
gnu/build/vm.scm | 98 +++++++++++++++++++++++++++++++++++++++------
gnu/system/linux-initrd.scm | 4 +-
gnu/system/vm.scm | 16 ++++++--
3 files changed, 98 insertions(+), 20 deletions(-)
--
2.12.2
- bug#26815: [PATCH 0/3] Hybrid UEFI disk image,
Marius Bakke <=
- bug#26815: [PATCH 1/3] vm: Add support for arbitrary partition flags., Marius Bakke, 2017/05/07
- bug#26815: [PATCH 3/3] vm: Support EFI boot in base image., Marius Bakke, 2017/05/07
- bug#26815: [PATCH 3/3] vm: Support EFI boot in base image., Danny Milosavljevic, 2017/05/07
- bug#26815: [PATCH 3/3] vm: Support EFI boot in base image., Marius Bakke, 2017/05/07
- bug#26815: [PATCH 3/3] vm: Support EFI boot in base image., Marius Bakke, 2017/05/07
- bug#26815: [PATCH 3/3] vm: Support EFI boot in base image., Marius Bakke, 2017/05/08
- bug#26815: [PATCH 3/3] vm: Support EFI boot in base image., Ludovic Courtès, 2017/05/08
- bug#26815: [PATCH 1/3] vm: Support arbitrary partition flags., Marius Bakke, 2017/05/10
- bug#26815: [PATCH 2/3] vm: Support creating FAT partitions., Marius Bakke, 2017/05/10
- bug#26815: [PATCH 3/3] vm: Add UEFI loader to disk images., Marius Bakke, 2017/05/10