Qemu doesn't load >16MB boot partition
The following are two different mkimg config entries that differ only in the size of boot partition. The first one works perfectly while the second one doesn't. Using even smaller values than 130 but >16 also doesn't work.
The command I am running looks like this
qemu-system-x86_64 -bios /usr/share/qemu/OVMF.fd -m 64 -drive file=./target/disk-x86_64.img,format=raw -serial stdio
I am unable to find if this is an OVMF issue or the mkbootimg issue
{
"diskguid": "00000000-0000-0000-0000-000000000000",
"config": "./target/initrd/sys/config",
"initrd": {
"type": "tar",
"gzip": true,
"directory": "./target/initrd"
},
"partitions": [
{
"type": "boot",
"size": 16
},
{
"type": "ext4",
"size": 128,
"name": "Linux Exchange"
},
{
"type": "ntfs",
"size": 128,
"name": "Windows Exchange"
}
]
}
{
"diskguid": "00000000-0000-0000-0000-000000000000",
"config": "./target/initrd/sys/config",
"initrd": {
"type": "tar",
"gzip": true,
"directory": "./target/initrd"
},
"partitions": [
{
"type": "boot",
"size": 130
},
{
"type": "ext4",
"size": 128,
"name": "Linux Exchange"
},
{
"type": "ntfs",
"size": 128,
"name": "Windows Exchange"
}
]
}