Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2024 20:05:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 278984] Debian 12 won't boot in UEFI mode
Message-ID:  <bug-278984-27103-Heo2HmEw4l@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278984-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278984-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278984

--- Comment #11 from mario felicioni <marietto2008@gmail.com> ---
Please read here :

https://www.digitalfoundations.com.au/blog/macos-on-windows-with-qemu/

at a certain point,he explains how to combine OVMF_VARS.fd + OVMF_CODE.fd :

copy /B OVMF_VARS.fd + OVMF_CODE.fd OVMF_combined.fd

so,what about to do :

copy /B BHYVE_UEFI_VARS.fd + BHYVE_UEFI_CODE.fd BHYVE_combined.fd

(in Windows)

and then :

bhyve -S -c sockets=3D2,cores=3D2,threads=3D2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 1,ahci-hd,/bhyve/debian12-test1/Debian.img,bootindex=3D1 \
-s 13,virtio-net,tap4 \
-s 14,virtio-9p,sharename=3D/ \
-s 29,fbuf,tcp=3D0.0.0.0:5904,w=3D1600,h=3D950,wait \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_combined.fd \
vm0:4 < /dev/null & sleep 2 && vncviewer 0:4

please try and let me know if it works.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278984-27103-Heo2HmEw4l>