Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2021 22:31:31 +0100 (CET)
From:      Sysadmin Lists via freebsd-virtualization
 <freebsd-virtualization@freebsd.org>
To:        Freebsd Virtualization <freebsd-virtualization@freebsd.org>
Subject:   Bhyve CD-ROM
Message-ID:  <1786593170.587714.1638135091567@ichabod.co-bxl>

next in thread | raw e-mail | index | archive | help
Hi. How do I attach a CD-ROM device (in this case an ISO file) to a VM without bhyve booting into it?

bhyve -c 1 -m 512M -w -H \
        -s 0,hostbridge \
        -s 3,ahci-cd,/media/Debian-11.1.0-amd64-DVD-1.iso \
        -s 4,virtio-blk,/dev/zvol/zroot/bhyve_vms/debianvm \
        -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

/dev/zvol/zroot/bhyve_vms/debianvm already contains the installed OS, so now I want to boot into it while still having access to the packages on the ISO (to selectively install packages I want).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1786593170.587714.1638135091567>