Re: Bhyve CD-ROM

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Mon, 29 Nov 2021 21:46:45 UTC
So,the time to try my ideas has come. You can try to remove the first
sector of the iso image,so that it won't boot or you can pass through a
virtual or a physical disk or you can create a new iso file from scratch,
with your files inside...there are a lot of possibilities...

Il giorno lun 29 nov 2021 alle ore 21:42 Sysadmin Lists <
sysadmin.lists@mailfence.com> ha scritto:

> 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
>


-- 
Mario.