Hello.
I'm following this guide : https://github.com/churchers/vm-bhyve
because I want to boot and run ubuntu 21.04 hirsute with vm-bhyve. This is what I did right now.
ok but now,what should I do ? I don't see the installation of linux displayed somewhere.
I'm following this guide : https://github.com/churchers/vm-bhyve
because I want to boot and run ubuntu 21.04 hirsute with vm-bhyve. This is what I did right now.
Code:
[root@lozioma ~]# sysrc vm_enable="YES"
[root@lozioma ~]# sysrc vm_dir="/vms/os/linux"
[root@lozioma ~]# vm init
[root@lozioma ~]# cp /usr/local/share/examples/vm-bhyve/* /vms/os/linux/.templates/
[root@lozioma ~]# vm switch create public
[root@lozioma ~]# vm switch add public em0
[root@lozioma ~]# ifconfig
em0: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=481009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWFILTER,NOMAP>
ether
inet 192.168.1.6 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
vm-public: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
groups: bridge vm-switch viid-4c918@
nd6 options=9<PERFORMNUD,IFDISABLED>
[root@lozioma ~]# cd /vms
[root@lozioma /vms]# ls
iso os
[root@lozioma /vms]# cd iso
[root@lozioma /vms/iso]# ls
linux windows
[root@lozioma /vms/iso]# cd linux
[root@lozioma /vms/iso/linux]# ls
kubuntu-21.04-desktop-amd64.iso ubuntu-budgie-21.04-desktop-amd64.iso
ubuntu-21.04-desktop-amd64.iso ubuntustudio-21.04-dvd-amd64.iso
[root@lozioma /vms/iso/linux]# vm iso ubuntu-21.04-desktop-amd64.iso
/vms/os/linux/.iso/ubuntu-21.04-desktop-amd64. 2688 MB 28 MBps 01m36s
[root@lozioma /vms/iso/linux]# vm create hirsute
[root@lozioma /vms/iso/linux]# vm install hirsute ubuntu-21.04-desktop-amd64.iso
Starting hirsute
* found guest in /vms/os/linux/hirsute
* booting...
[root@lozioma /vms/iso/linux]# vm console hirsute
Connected
vm install -f hirsute ubuntu-21.04-desktop-amd64.iso
Starting hirsute
* found guest in /vms/os/linux/hirsute
! guest appears to be running already
[root@lozioma /vms/iso/linux]# ps ax
2044 0- I 0:00.01 /bin/sh /usr/local/sbin/vm _run hirsute /vms/iso/linux/ubuntu-21.04-desktop-amd64.iso
2262 0- R 16:41.68 bhyveload -c /dev/nmdm-hirsute.1A -m 256M -e autoboot_delay=3 -d /vms/iso/linux/ubuntu-21.04-desktop-amd64.iso hirsute
ok but now,what should I do ? I don't see the installation of linux displayed somewhere.