summaryrefslogtreecommitdiff
path: root/target/x86_64
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-03-20 12:36:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-03-21 14:13:11 +0100
commit0fe580b5ea37f72ecc7e3806e753bf9cffc19d27 (patch)
treec0397d05288bb42554d0be986fb40f559abe3fb3 /target/x86_64
parent46e79e7ac4deeccc9bb8790e5a057b9c73122d35 (diff)
qemu-x86_64: various fixes
- fix dual-boot for EFI setups - normal BIOS does not work in dual-boot - VGA and EFI does not work
Diffstat (limited to 'target/x86_64')
-rw-r--r--target/x86_64/qemu-x86_64/genimage-dual.cfg1
-rw-r--r--target/x86_64/qemu-x86_64/genimage-efi-dual.cfg8
2 files changed, 5 insertions, 4 deletions
diff --git a/target/x86_64/qemu-x86_64/genimage-dual.cfg b/target/x86_64/qemu-x86_64/genimage-dual.cfg
index 647a2bcb5..c9b73170d 100644
--- a/target/x86_64/qemu-x86_64/genimage-dual.cfg
+++ b/target/x86_64/qemu-x86_64/genimage-dual.cfg
@@ -8,6 +8,7 @@ image disk.img {
image = "boot.img"
offset = 0
size = 512
+ holes = {"(440; 512)"}
}
partition grub {
diff --git a/target/x86_64/qemu-x86_64/genimage-efi-dual.cfg b/target/x86_64/qemu-x86_64/genimage-efi-dual.cfg
index ff3cb08d2..247511d57 100644
--- a/target/x86_64/qemu-x86_64/genimage-efi-dual.cfg
+++ b/target/x86_64/qemu-x86_64/genimage-efi-dual.cfg
@@ -22,14 +22,14 @@ image disk.img {
partition root1 {
partition-type-uuid = 44479540-f297-41b2-9af7-d131d5f0458a
- image = "rootfs.ext"
- size = 128M
+ image = "rootfs1.ext"
+ size = 64M
}
partition root2 {
partition-type-uuid = 44479540-f297-41b2-9af7-d131d5f0458a
- image = "rootfs.ext"
- size = 128M
+ image = "rootfs2.ext"
+ size = 64M
}
partition cfgfs {