bhyve I got error "BdsDxe: failed to load Boot0001..." when I boot kali linux VM via uefi-firmware

First I install kali linux use bhyve and ZFS via uefi-firmware it worked well.
I use the script as following to start kali linux.

Code:
#!/bin/sh
bhyve -c 1 -m 2G -w -H \
-s 0,hostbridge \
-s 2,ahci-hd,/dev/zvol/zroot/linuxdisk0 \
-s 3,virtio-net,tap1 \
-s 29,fbuf,tcp=0.0.0.0:5800,w=1280,h=720,wait \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
linuxguest0

And then I install windows10 use bhyve and ZFS via uefi-firmware it worked well too.
I use the script as following to start window10.
Code:
#!/bin/sh
bhyve -c 2 -m 2G -w -H \
-s 0,hostbridge \
-s 2,ahci-hd,/dev/zvol/zroot/win10disk0 \
-s 3,virtio-net,tap2 \
-s 29,fbuf,tcp=0.0.0.0:5900,w=1280,h=720,wait \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
guestwin10


But kali linux VM didn't start when I start it. But windows10 VM still work well.
The error is as follows:
uefi-firmware.png
[/B]
 
Back
Top