From d284ab4d037ed69c0368ab45f79917465187dfc8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 12 Sep 2016 23:22:14 +0200 Subject: qemu: efi boot works, need to add a package for EFI bios file --- target/x86_64/qemu-x86_64/genimage.cfg | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'target/x86_64/qemu-x86_64') diff --git a/target/x86_64/qemu-x86_64/genimage.cfg b/target/x86_64/qemu-x86_64/genimage.cfg index 9f2d3ec72..5a5479fbd 100644 --- a/target/x86_64/qemu-x86_64/genimage.cfg +++ b/target/x86_64/qemu-x86_64/genimage.cfg @@ -1,12 +1,25 @@ +image efi-part.vfat { + vfat { + file EFI { + image = "efi-part/EFI" + } + } + size = 32M +} + image disk.img { hdimage { } + partition boot { + partition-type = 0xEF + image = "efi-part.vfat" + } + partition root { partition-type = 0x83 image = "rootfs.ext" } } - -- cgit v1.2.3