[vm-bhyve] Does anyone have a vm template for Linux Mint ?

Josias L. Gonçalves josiaslg at bsd.com.br
Mon Oct 8 21:01:31 UTC 2018


Em seg, 8 de out de 2018 às 11:52, Victor Sudakov <vas at mpeks.tomsk.su>
escreveu:

> Victor Sudakov wrote:
> > Victor Sudakov wrote:
> > > Josias L. Gonçalves wrote:
> > > > My ubuntu is something like that:
> > > >
> > > > uefi="csm"
> > > ^^^^^^^^^^^^^^^^^^^
> > >
> > > This is supposed to be the key feature! I did not know about UEFI-CSM.
> > >
> > > However, when I start the vm:
> > >
> > >  # vm install mint linuxmint-19-cinnamon-64bit-v2.iso
> > > Starting mint
> > >   * found guest in /d02/vm/mint
> > >   * booting...
> > >
> > >
> > > the TightVNC "console" is just a blank rectangle. Nothing ever
> happens.
> >
> > I get the same blank rectangle with Ubuntu (vm install mint
> ubuntu-16.04-desktop-amd64.iso)
> > So there must be something amiss in my setup.
>
> The log:
>
>
> окт. 08 21:46:29: initialising
> окт. 08 21:46:29:  [loader: none]
> окт. 08 21:46:29:  [uefi: csm]
> окт. 08 21:46:29:  [cpu: 1]
> окт. 08 21:46:29:  [memory: 2G]
> окт. 08 21:46:29:  [hostbridge: standard]
> окт. 08 21:46:29:  [com ports: com1]
> окт. 08 21:46:29:  [uuid: f9bbfaab-cafc-11e8-8d16-5404a6b49a66]
> окт. 08 21:46:29:  [utctime: yes]
> окт. 08 21:46:29:  [debug mode: no]
> окт. 08 21:46:29:  [primary disk: disk0.img]
> окт. 08 21:46:29:  [primary disk dev: file]
> окт. 08 21:46:29: initialising network device tap1
> окт. 08 21:46:29: adding tap1 -> bridge0 (main addm)
> окт. 08 21:46:29: bring up tap1 -> bridge0 (main addm)
> окт. 08 21:46:29: booting
> окт. 08 21:46:29:  [bhyve options: -c 1 -m 2G -Hwl
> bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CSM.fd -U
> f9bbfaab-cafc-11e8-8d16-5404a6b49a66 -u]
> окт. 08 21:46:29:  [bhyve devices: -s 0,hostbridge -s 31,lpc -s
> 4:0,virtio-blk,/d02/vm/mint/disk0.img -s
> 5:0,virtio-net,tap1,mac=58:9c:fc:08:91:3d -s 6:0,fbuf,tcp=0.0.0.0:5909
> ,wait]
> окт. 08 21:46:29:  [bhyve console: -l com1,/dev/nmdm-mint.1A]
> окт. 08 21:46:29:  [bhyve iso device: -s
> 3:0,ahci-cd,/d02/vm/.iso/ubuntu-16.04-desktop-amd64.iso]
> окт. 08 21:46:29: starting bhyve (run 1)
> окт. 08 21:50:08: bhyve exited with status 143
> окт. 08 21:50:08: destroying network device tap1
> окт. 08 21:50:08: stopped
>
> I waited about 4 minutes before sending "vm mint stop" looking into
> the blank VNC console.
>
> --
> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> 2:5005/49 at fidonet http://vas.tomsk.ru/



Verify if everything is installed:
pkg install bhyve-firmware-1.0_1 bhyve-rc-3 grub2-bhyve-0.40_5
libhyve-remote-0.1.4.2 uefi-edk2-bhyve-0.1,1 uefi-edk2-bhyve-csm-0.1,1


More information about the freebsd-virtualization mailing list