vm-bhyve version: 1.6-devel
FreeBSD version: 14.3
Hi, I am new to vm-bhyve and trying to install a Debian-based Linux NAS OS named fnos and failed, error shows as below:
Also failed to connect to it through VNC, the following is my configuration:
I followed this article to install bhyve and the steps are as below:
Failed to destroy this vm, so:
Then, ok to destroy this vm.
Please tell me what's more information needed. Thanks.
FreeBSD version: 14.3
Hi, I am new to vm-bhyve and trying to install a Debian-based Linux NAS OS named fnos and failed, error shows as below:
Code:
# vm create -t fnos -s 25G fnos
# vm install -f fnos fnos-0.9.29-1142.iso
Starting fnos
* found guest in /usr/local/bhyve/fnos
* booting...
fbuf frame buffer base: 0x211ca7600000 [sz 16777216]
Also failed to connect to it through VNC, the following is my configuration:
Code:
# cat /usr/local/bhyve/.templates/fnos.conf
loader="uefi"
graphics="yes"
xhci_mouse="yes"
graphics_res="1280x720"
graphics_listen="192.168.31.240"
graphics_port="5900"
graphics_wait="yes"
cpu="1"
memory="4G"
disk0_type="virtio-blk"
disk0_name="disk0.img"
network0_type="virtio-net"
network0_switch="public"
I followed this article to install bhyve and the steps are as below:
Code:
sysrc cloned_interfaces="bridge0"
sysrc ifconfig_bridge0_name="publicnet0"
sysrc ifconfig_publicnet0="addm igb0 up"
service netif restart
echo 'vmm_load="YES"' >> /boot/loader.conf
kldload vmm
zfs create -o mountpoint=/usr/local/bhyve/ work/bhyve
zfs create -o mountpoint=/usr/local/bhyve/data data/byhve # Optional
pkg install -y tmux vm-bhyve bhyve-firmware grub2-bhyve qemu-tools
service vm enable
sysrc vm_dir="zfs:work/bhyve"
sysrc vm_list=""sysrc vm_delay="5"
vm init
vm set console=tmux
cp /usr/local/share/examples/vm-bhyve/* /usr/local/bhyve/.templates/
vm switch create -t manual -b publicnet0 public
reboot
Code:
# vm list
NAME DATASTORE LOADER CPU MEMORY VNC AUTO STATE
fnos default uefi 1 4G - No Stopped
Code:
# vm install -f fnos fnos-0.9.29-1142.iso
Starting fnos
* found guest in /usr/local/bhyve/fnos
! guest appears to be running already
# vm start fnos
Starting fnos
* found guest in /usr/local/bhyve/fnos
! guest appears to be running already
# vm stop fnos
/usr/local/sbin/vm: WARNING: unable to locate process id for fnos
# vm destroy fnos
/usr/local/sbin/vm: WARNING: fnos appears to be running locally (vmm exists)
Failed to destroy this vm, so:
Code:
# bhyvectl --vm=fnos --destroy
Then, ok to destroy this vm.
Code:
# vm list
NAME DATASTORE LOADER CPU MEMORY VNC AUTO STATE
fnos default uefi 1 4G - No Stopped
# vm destroy fnos
Are you sure you want to completely remove this virtual machine (y/n)? y
# vm list
NAME DATASTORE LOADER CPU MEMORY VNC AUTO STATE
Please tell me what's more information needed. Thanks.