From owner-freebsd-virtualization@freebsd.org Sat Sep 29 11:05:57 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 4524A10C3810 for ; Sat, 29 Sep 2018 11:05:57 +0000 (UTC) (envelope-from darcy@druid.net) Received: from mail.vex.net (mail.vex.net [98.158.139.68]) by mx1.freebsd.org (Postfix) with ESMTP id C027977111 for ; Sat, 29 Sep 2018 11:05:56 +0000 (UTC) (envelope-from darcy@druid.net) Received: from dilbert.druid.net (dilbert.druid.net [207.35.13.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: darcy) by mail.vex.net (Postfix) with ESMTPSA id D6BE24A47919 for ; Sat, 29 Sep 2018 07:05:49 -0400 (EDT) Subject: Re: New bhyve user To: freebsd-virtualization@freebsd.org References: <2edf93d1-58c2-92bc-48e2-92a493a36e7e@druid.net> <2a95db911caf43afba6408423597533c@SERVER.ad.usd-group.com> <4fa7f24d-1d77-0c62-22ef-6b6f8172798a@druid.net> From: D'Arcy Cain Openpgp: preference=signencrypt Message-ID: Date: Sat, 29 Sep 2018 07:05:49 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <4fa7f24d-1d77-0c62-22ef-6b6f8172798a@druid.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Sat, 29 Sep 2018 11:05:57 -0000 On 9/28/18 11:07 AM, D'Arcy Cain wrote: >>> I tried to boot into a Linux install but even though I set grahics to yes, it doesn't seem to be serving VNC. On the console I can only get into the live CD. How do I get it installed? >> >> Did you have uefi="yes" in the configuration? Graphics are only available when using UEFI boot. > > Yes. I copied it right off the web site. For future searches I found the problem. I can connect to VNC OK if I just run from a regular terminal but it fails in screen. I am not sure why as it seemed OK when I connected to a FreeBSD host running vncconnect manually. However, I have a new issue. The install goes fine right up to near the end when it fails with a "Executing 'grub-install /dev/vda' failed" error and the install fails. A second attempt says that there is a system already on the disk but it won't boot up and leaves the console at a grub prompt. I have grub2-bhyve installed. Here is my config: guest="linux" uefi="yes" loader="grub" grub_run_partition="msdos1" cpu=2 memory=1024 network0_type="virtio-net" network0_switch="public" network0_mac="22:22:22:22:22:03" disk0_type="virtio-blk" disk0_name="disk0.img" uuid="532fb166-c1bb-11e8-9e80-b4b52fcc4894" graphics="yes" xhci_mouse="yes" -- D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner. IM: darcy@Vex.Net, VoIP: sip:darcy@druid.net