Mailing List Archive

The OVMF.bin file generated by the configuration / installation of XEN 4.14 does not work.
Hello.

I'm trying to boot Windows 10 x64 bit guest os installed physically on the
disk GPT + EFI SDC,on the sdc2 partition from the host os Ubuntu 20.10
where I have installed XEN 4.14. On sdc3 of the guest disk there is another
installation of Ubuntu. Give a look below :
[.image: r/xen - The OVMF.bin file generated by the configuration /
installation of XEN 4.14 does not work.]
<https://preview.redd.it/6b9u8ubdsox51.png?width=1920&format=png&auto=webp&s=fc65e0858f11a8a362d823ed933636fc01e64dc9>

*Disk /dev/sdc: 298,09 GiB, 320072933376 bytes, 625142448 sectors*
Disk model: WDC WD3200AAJS-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F2E34254-FB88-4C01-AD1E-6B1A9239D7C6

*Dispositivo* *Start* *Fine* *Settori* *Size* *Tipo*
/dev/sdc1 2048 206847 204800 100M EFI System
/dev/sdc2 206848 311425023 311218176 148,4G Microsoft basic data
/dev/sdc3 311425024 625142414 313717391 149,6G Linux filesystem


the problem that I have is that the ovmf.bin file has been generated when I
have started the installation / configuration of XEN 4.14 doing :


./configure --enable-ovmf


,but for some reason it seems to be damaged and it is not able to shows
correctly what's happening inside the vncviewer window,where windows 10 is
loading itself. To fix it,I have also tried to rename the file OVMF_VARS.fd
to ovmf.bin and I tried to boot windows 10 with that file :


cp
/etc/xen/xen-4.14.0/tools/firmware/ovmf-dir-remote/Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd
/etc/xen/Nazim/4.14/ovmf.bin


putting inside the xen cfg file :


bios='ovmf'

bios_override = '/etc/xen/Nazim/4.14/ovmf.bin'


but even this experiment didn't work :


[.image: r/xen - The OVMF.bin file generated by the configuration /
installation of XEN 4.14 does not work.]
<https://preview.redd.it/6l02u0wirox51.png?width=1920&format=png&auto=webp&s=236c1626652656214f2ea8c2d94e90039f257105>
[.image: r/xen - The OVMF.bin file generated by the configuration /
installation of XEN 4.14 does not work.]
<https://preview.redd.it/ebxg5fuirox51.png?width=1920&format=png&auto=webp&s=da29ed9d50fb3595a03d2664be8e1dff8bf7f045>

anyway,the passthrough works (my monitor is turned on). what u suggest to
me to do ?
--
Mario.
re: The OVMF.bin file generated by the configuration / installation of XEN 4.14 does not work. [ In reply to ]
Mario,

The default ovmf.bios path is configured in the qemu-xen build
(config-host.mak):
qemu_datadir=/usr/share/qemu-xen/qemu

if you want to change it in xl.cfg use:
bios_path_override="<my/new/path>"

to see more details of the domU boot, use
xl -vvv create myconfig.cfg

Your block device /dev/sdc is bare-metal. Do you have a grub install
for the Xen domU in the ESP/EFI part? If you don't, you might be able
to enter the menu if tiano-core ever launches.

I attached a trace of a CentOS 7 EFI domU running in debian Buster
with xen-4.14.0.

cheers,
PryMar56