From owner-freebsd-virtualization@freebsd.org Tue Oct 25 15:58:39 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDD0BC2198F for ; Tue, 25 Oct 2016 15:58:39 +0000 (UTC) (envelope-from randy@terbush.org) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CBEC64F for ; Tue, 25 Oct 2016 15:58:39 +0000 (UTC) (envelope-from randy@terbush.org) Received: by mail-qk0-x231.google.com with SMTP id z190so262606191qkc.2 for ; Tue, 25 Oct 2016 08:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=terbush.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sqidaR5DIvIDabnH5Uip/7TwiQnjZ/+m8chV2abquTY=; b=lLY284HrfcMZVpQ8Yf1d2FvpSupMlGQKrCCAenQWmq5+I7cK5S6Ipl49spTORAozlO WlK5ROw7dUuHibhizRx4t9XLKZYyj3Y8IRjpXdnWW3fIoi+pVo/zRA0lx192vpJPJApF jbP/5uxSf+0CrJHhvyTaZNnXnU9yerv4EL55w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sqidaR5DIvIDabnH5Uip/7TwiQnjZ/+m8chV2abquTY=; b=d4duUQRdwAHqh3uDYbiB1IMU/yAk8mL7F3qKtWRWDyGJZB/eywdU5S+x/bP/NV9srI 687ivzN/fZgqDbKnjoOoLenwObKXLRzy+ReHK4dB0YSKrBi8fUEDe/YT4Wuj2Db19ybQ absnGGc6WfBR4I3HwOasoAweE9BpVyPFtZXA4gOyFQj1JlNGUovZ7DxiB61tzz05237S Aj6HSnl5cowtDTc7/HxLQJRrJg2Fy2+Ycb0H4Hc+uRjS0oK3M3LVt0fLjNOVobV9vk/X drWom4KgmvAYAKq79FLxf7zpci0oJ3rUe+MFwR6kYyRVr0EGyyKNpT9141kmhLFbWca3 3atQ== X-Gm-Message-State: ABUngveEQpQy/uUOXDaUKCMzOyXwNKh7d3xglr2axdBsCHCEytdf5eQcX1aTNVX7JA3idqBmoGshVSzdGshndA== X-Received: by 10.55.158.4 with SMTP id h4mr4033802qke.41.1477411118403; Tue, 25 Oct 2016 08:58:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.51.174 with HTTP; Tue, 25 Oct 2016 08:58:07 -0700 (PDT) In-Reply-To: <20161025153820.GA69757@doctor.nl2k.ab.ca> References: <20161021183120.GA21232@doctor.nl2k.ab.ca> <20161021190122.GA30602@doctor.nl2k.ab.ca> <0406d06f-aa1a-677c-775a-b09a3ebd3073@freebsd.org> <20161021222342.GA80184@doctor.nl2k.ab.ca> <33e8e02d845145918591d25196402491@SERVER.ad.usd-group.com> <20161025060637.GA20650@doctor.nl2k.ab.ca> <4cec0d5457ca45e1b2dee0b92055a439@SERVER.ad.usd-group.com> <20161025135818.GA28314@doctor.nl2k.ab.ca> <20161025153820.GA69757@doctor.nl2k.ab.ca> From: Randy Terbush Date: Tue, 25 Oct 2016 09:58:07 -0600 Message-ID: Subject: Re: Windows 2016 Server To: "Dave Shariff Yadallee - System Administrator a.k.a. The Root of the Problem" Cc: The Doctor , Matt Churchyard , "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 25 Oct 2016 15:58:39 -0000 -- Randy On Tue, Oct 25, 2016 at 9:38 AM, Dave Shariff Yadallee - System Administrator a.k.a. The Root of the Problem wrote= : > On Tue, Oct 25, 2016 at 08:33:47AM -0600, Randy Terbush wrote: > > On Tue, Oct 25, 2016 at 7:58 AM, The Doctor > > wrote: > > > > > On Tue, Oct 25, 2016 at 09:20:28AM +0000, Matt Churchyard wrote: > > > > > > > One other issue is that Windows doesn't support the virtio-net > network > > > device by default. The easiest way to get this working is to boot th= e > > > guest with the virtio driver ISO attached instead of the Windows > install > > > disk (once Windows is installed and working). You can then install th= e > > > driver for the network interface from the CD using the VNC console. > > > > > > > > Depending on what you are doing you may find it easier to use > something > > > like iohyve/chyves/vm-bhyve/vmrc that handles all the raw bhyve > commands > > > for you. > > > > > > > > Matt > > > > > > I will look into the iohyve , saw that last night. > > > > > > Does this also apply to UEFU BSDs / Linuxes ? > > > > > > > ???Just to chime in quickly on this thread... I am a big fan of > vm-bhyve. It > > has made it much easier to sort bhyve out in general and get through so= me > > of these new options for supported guests. > > > > Regarding Linux and UEFI, much of this also applies there. I've > > successfully installed a LinuxMint guest. I will offer that after the > > install, the boot process hung at the EFI. After exiting from the Shell= > > > prompt that eventually appears, it is possible to navigate the UEFI bio= s > > settings to pick a bootable device. Only after rerunning 'grub2-install= ' > > was I able to have a Linux guest that would boot without fiddling. > > ??? > Let me give you my setup. > > No Zpool here. > > I am running FreeBSD 11 UEFI on x86_64. > > I have set up some non-UEFI guest successfull , > > Fedora, Centos and Ubuntu. > > If it the UEFI part using a non-zpool environment > > that I am trying to wrap my head around. > > Smilir to Windows, I did install Fedora using > UEFI but then > could not go to the > second stage, i.e. booting into the VM. > > Hence I do need to understand how to this with my environment using > purely bhyve. =E2=80=8BAs mentioned, I'm using vm-bhyve to insulating me from the learnin= g curve of "pure bhyve". https://github.com/churchers/vm-bhyve A few more details about my setup. FreeBSD 11-stable (reguired for vnc graphics to work with UEFI guests) Relevant installed packages: vm-bhyve bhyve-firmware grub2-bhyve uefi-edk2-bhyve uefi-edk2-bhyve-csm =E2=80=8BWhile vm-bhyve is running in a zpool, the guests are using disk im= age files. The following template allowed me to install LinuxMint through graphic VNC interface. =E2=80=8Bguest=3D"linux" uefi=3D"yes" cpu=3D1 memory=3D2G graphics=3D"yes" graphics_res=3D"1600x1200" graphics_wait=3D"yes" xhci_mouse=3D"yes" network0_type=3D"virtio-net" network0_switch=3D"public" disk0_type=3D"virtio-blk" disk0_name=3D"disk0.img" grub_run_partition=3D"1" =E2=80=8Bvm create -t mint -s 30G mint vm install mint=E2=80=8B linuxmint-18-cinnamon-64bit.iso (32bit would not i= nstall as a UEFI guest) vm list (shows running bhyve guests and indicates the IP and port that VNC is running on for this guest) vncviewer 127.0.0.1:5900 Top-level listing of the vm zpool shows the layout which includes a .template and .iso directory to collect your configs and install isos. Nice clean setup. [root: /vm]# ls -l total 171 drwxr-xr-x 2 root wheel 5 Jul 20 10:01 .config drwxr-xr-x 2 root wheel 10 Oct 24 12:10 .iso drwxr-xr-x 2 root wheel 17 Oct 24 11:56 .templates drwxr-xr-x 2 root wheel 8 Oct 3 21:41 kali drwxr-xr-x 2 root wheel 6 Oct 2 18:13 macos drwxr-xr-x 2 root wheel 8 Oct 25 05:37 mint drwxr-xr-x 2 root wheel 7 Oct 22 15:31 win2012 drwxr-xr-x 2 root wheel 5 Oct 10 16:58 winapp (NOTE: still trying to get a working MacOS guest running...)