Hello to every FreeBSD lover.
I would like to virtualize FreeBSD on Windows 11 wth qemu-kvm (for Windows) using the Hyper-V hypervisor (if I don't make a mistake it should be "-accel whpx"). The idea comes to my mind because at the beginning I found this nice article and I wanted to emulate MacOS :
https://www.digitalfoundations.com.au/blog/macos-on-windows-with-qemu/
but,at a certain point,I've thought,who cares about MacOS ? I love FreeBSD. Why not try with it ?
So,I have modified the parameters a little bit and I tried with these ones :
Unfortunately some parameter is not good,because I get this nice kernel panic :
I think that the wrong parameter is the following one :
What's OVMF_combined.fd ? The article says how it has been assembled :
Anyway,what do you think ? I would like to be able to emulate it on top of Windows 11.
I would like to virtualize FreeBSD on Windows 11 wth qemu-kvm (for Windows) using the Hyper-V hypervisor (if I don't make a mistake it should be "-accel whpx"). The idea comes to my mind because at the beginning I found this nice article and I wanted to emulate MacOS :
https://www.digitalfoundations.com.au/blog/macos-on-windows-with-qemu/
but,at a certain point,I've thought,who cares about MacOS ? I love FreeBSD. Why not try with it ?
So,I have modified the parameters a little bit and I tried with these ones :
Code:
I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine q35 -m 8G \
-vga qxl -audiodev dsound,id=snd0 -device ich9-intel-hda \
-device hda-duplex,audiodev=snd0 \
-hda "I:\OS\ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \
-hdb "I:\OS\qemu\Linux\FreeBSD.img" -rtc base=localtime \
-device nec-usb-xhci,id=xhci -device usb-tablet -device usb-kbd \
-global nec-usb-xhci.msi=off -smbios type=2 -nodefaults \
-netdev user,id=net0 \
-device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:11:22:33 \
-device ich9-ahci,id=sata \
-bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combined.fd"
Unfortunately some parameter is not good,because I get this nice kernel panic :
I think that the wrong parameter is the following one :
Code:
-bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combined.fd"
What's OVMF_combined.fd ? The article says how it has been assembled :
WHPX crashes using separate OVMF CODE & VARS, so combine these to a single file :
copy /B OVMF_VARS.fd + OVMF_CODE.fd OVMF_combined.fd
Anyway,what do you think ? I would like to be able to emulate it on top of Windows 11.
Last edited: