RE: Bhyve CD-ROM

From: Sysadmin Lists via freebsd-virtualization <freebsd-virtualization_at_freebsd.org>
Date: Mon, 29 Nov 2021 20:42:33 UTC
Thanks Corvin. But I tried that already and it didn't work. It still boots to the ISO. I get this text on the terminal I launch Bhyve from:

BdsDxe: loading Boot0001 "UEFI BHYVE SATA DVD ROM BHYVE-92FC-A81B-A3B5" from PciRoot(0x0)/Pci(0x4,0x0)/Sata(0x0,0xFFFF,0x0)
BdsDxe: starting Boot0001 "UEFI BHYVE SATA DVD ROM BHYVE-92FC-A81B-A3B5" from PciRoot(0x0)/Pci(0x4,0x0)/Sata(0x0,0xFFFF,0x0)
Welcome to GRUB!

> ----------------------------------------
> From: Corvin Köhne <C.Koehne@beckhoff.com>
> Sent: Mon Nov 29 07:31:19 CET 2021
> To: Sysadmin Lists <sysadmin.lists@mailfence.com>, Mario Marietto <marietto2008@gmail.com>
> Cc: Freebsd Virtualization <freebsd-virtualization@freebsd.org>
> Subject: RE: Bhyve CD-ROM
> 
> 
> Hi,
> 
> the bootorder is determined by pci slot order. Just add your disk before your cd-rom:
> 
> bhyve -c 1 -m 512M -w -H \
>         -s 0,hostbridge \
>         -s 3,virtio-blk,/dev/zvol/zroot/bhyve_vms/debianvm \
>         -s 4,ahci-cd,/media/Debian-11.1.0-amd64-DVD-1.iso \
>         -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait \
>         -s 31,lpc \
>         -l com1,stdio \
>         -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd debianvm
> 
> 
> Best regards
> Corvin


-- 
Sent with https://mailfence.com  
Secure and private email