Hello. I have a OpenBSD machine and I dumped the hard drive using the following command onto a Linux live session:
This gave me a 500G openbsd.img in a root of a zpool.
Now I'm trying to boot this file using the following bhyve command, but it gives
I've also tried using vm-bhyve with the following configuration:
I can boot onto grup, ls the drive but when i run
the VM crashes
I could boot this image in a QEMU VM on Linux. I have to say that this is MBR, not GPT. and I haven't figured how to run Legacy Boot on bhyve so that might be the issue.
Thanks!
Code:
ddrescue -nvb 4096 /dev/sda openbsd.img mapfile
Now I'm trying to boot this file using the following bhyve command, but it gives
Code:
BdsDxe: failed to load Boot0001 "UEFI BHYVE SATA DISK BHYVE-4124-8331-B1F8" from PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0xFFFF,0x0): Not Found
Code:
sh /usr/share/examples/bhyve/vmrun.sh -A -c 1 -m 1024M -C stdio -t tap0 -d /stranger/openbsd.img -E openbsd
Code:
loader="grub"
cpu="1"
memory="1024m"
disk0_type='ahci-hd'
disk0_name="/stranger/openbsd.img"
disk0_dev="custom"
bhyve_options="-A -D -H -P -S -u -w"
virt_random="yes"
uuid="87cc03e2-dea1-11ef-8253-d89d67249548"
network0_mac="58:9c:fc:0e:56:78"
I can boot onto grup, ls the drive but when i run
Code:
kopenbsd -r sd0a (hd0,openbsd1)/bsd
I could boot this image in a QEMU VM on Linux. I have to say that this is MBR, not GPT. and I haven't figured how to run Legacy Boot on bhyve so that might be the issue.
Thanks!