From owner-freebsd-virtualization@freebsd.org Tue Oct 9 15:14:26 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 501B110AEB3A for ; Tue, 9 Oct 2018 15:14:26 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc:5400:1ff:feaf:6afb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E31528DB02 for ; Tue, 9 Oct 2018 15:14:25 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from vas by admin.sibptus.ru with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g9tiI-000OoN-BA; Tue, 09 Oct 2018 22:14:22 +0700 Date: Tue, 9 Oct 2018 22:14:22 +0700 From: Victor Sudakov To: Matt Churchyard Cc: Josias =?iso-8859-1?Q?L=2E_Gon=E7alves?= , "freebsd-virtualization@freebsd.org" Subject: Re: [vm-bhyve] Does anyone have a vm template for Linux Mint ? Message-ID: <20181009151422.GA94629@admin.sibptus.ru> References: <20181006141906.GA10597@admin.sibptus.ru> <20181008133604.GA77358@admin.sibptus.ru> <20181008143806.GA78665@admin.sibptus.ru> <20181008145233.GA78859@admin.sibptus.ru> <20181009021713.GA88207@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Victor Sudakov X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2018 15:14:26 -0000 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@fidonet http://vas.tomsk.ru/