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

Victor Sudakov vas at mpeks.tomsk.su
Tue Oct 9 15:14:26 UTC 2018


Matt Churchyard wrote:
> 
> I have successfully** installed Ubuntu 16.04 (via VNC) using the following template, which is just a basic UEFI config with virtio network/disk.
> 
> uefi="yes"
> graphics="yes"
> xhci_mouse="yes"
> cpu=2
> memory=2G
> network0_type="virtio-net"
> network0_switch="public"
> disk0_type="virtio-blk"
> disk0_name="disk0.img"


This plain UEFI template worked for me too, for Linux Mint. Thank you.

> 
> **I did have two fairly annoying issues getting 16.04 to work -
> 
> 1) After installation it seemed to refuse to reboot without me
> removing the install CD, which I obviously couldn't do. I ended up
> powering off the system manually with "vm poweroff guest"

Had this problem too, I sent "vm stop mint" from another xterm.

> 
> 2) It then would not boot due to the fact that Ubuntu 16.04 puts the
> bootloader in a non-default location, then uses efivars to tell UEFI
> how to find it. Unfortunately the bhyve EFI firmware still does not
> save efivars, so any specific boot options set by a guest are lost
> on restart. 

Did not have this problem with Mint.

> I had to escape to the EFI shell and manually choose the
> EFI/ubuntu/grubx64.efi loader. See my post #11 on this forum post
> for more details -
> https://forums.freebsd.org/threads/how-to-install-a-ubuntu-guest-in-bhyve.66767/

Thank you again, I may need it one day.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/


More information about the freebsd-virtualization mailing list