[Bug 278984] Debian 12 won't boot in UEFI mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 May 2024 20:05:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278984

--- 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=2,cores=2,threads=2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 1,ahci-hd,/bhyve/debian12-test1/Debian.img,bootindex=1 \
-s 13,virtio-net,tap4 \
-s 14,virtio-9p,sharename=/ \
-s 29,fbuf,tcp=0.0.0.0:5904,w=1600,h=950,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.

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