From owner-freebsd-virtualization@freebsd.org Fri Oct 13 15:48:17 2017 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 C75A1E25540 for ; Fri, 13 Oct 2017 15:48:17 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (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 A3B086A430 for ; Fri, 13 Oct 2017 15:48:17 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 7B0741356C for ; Fri, 13 Oct 2017 15:48:15 +0000 (UTC) Subject: Re: Bhyve and windows 2012/2016 To: freebsd-virtualization@freebsd.org References: <201710131529.v9DFTlj1095566@pdx.rh.CN85.dnsmgr.net> From: Allan Jude Message-ID: Date: Fri, 13 Oct 2017 11:48:14 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <201710131529.v9DFTlj1095566@pdx.rh.CN85.dnsmgr.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wQ3WvkQftK7FUwotEhPhjt8aXeOXCc5F1" 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: Fri, 13 Oct 2017 15:48:17 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wQ3WvkQftK7FUwotEhPhjt8aXeOXCc5F1 Content-Type: multipart/mixed; boundary="B48t2hM1QXSmiOlFlc1ndBbp691T0kgA9"; protected-headers="v1" From: Allan Jude To: freebsd-virtualization@freebsd.org Message-ID: Subject: Re: Bhyve and windows 2012/2016 References: <201710131529.v9DFTlj1095566@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <201710131529.v9DFTlj1095566@pdx.rh.CN85.dnsmgr.net> --B48t2hM1QXSmiOlFlc1ndBbp691T0kgA9 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2017-10-13 11:29, Rodney W. Grimes wrote: >=20 >> Hello >> >> I'm trying to install Windows 2012 evaluation in bhyve. It looks like = >> neither HDD (ahci-hd) nor CD (ahci-cd) are available. >=20 > What version of FreeBSD are you doing this on? uname -a? >=20 >> Command is >> >> =C2=A0/usr/sbin/bhyve=C2=A0 -c 2 -m 17179869184 -H -A -w -s 0:0,hostb= ridge=C2=A0=C2=A0=C2=A0 -s=20 > ^^^^^^^^^^^ read the manual = page very carefully, > if you do not specify a unit for -m the default is to use it as megabyt= es, this is requesting > a VM of 17G x 10^6, or 17 x 10^15 bytes of memory, you probalby want to= say > -m 16G >=20 >> 3:0,ahci-hd,/usr/jails/jails-data/serv1c-data/dsk1.vhd,sectorsize=3D51= 2 -s=20 > ^^^ > bhyve does not support .vhd format disks, it supports only raw > images, how was this file created? You can use qemu-img or VBoxManage to convert the .vhd into a .raw so it will work with bhyve >=20 >> 2:0,ahci-cd,/usr/jails/src/iso/windows2012.iso=C2=A0 -s=20 >> 4:0,e1000,tap6,mac=3D00:a0:98:cf:ab:82 -s 5:0,virtio-rnd=C2=A0 -s=20 >> 6,fbuf,tcp=3D0.0.0.0:5902,w=3D1024,h=3D768,wait -s 30,xhci,tablet -s 3= 1,lpc -l=20 >> com1,stdio -l bootrom,/usr/local/cbsd/upgrade/patch/efi.fd serv1c > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > where is this bootrom from? The officially supported firmware > should be at /usr/local/share/uefi-firmware/BHYVE_UEFI.fd=20 >=20 >> >> Only X: drive is available, seems to be some memory image >=20 > I believe your X: drive is the ramdisk image of the windows 2012 > installer? >=20 > I do not see any setup for a fbuf/vnc console, you probalby want a > -s 29,fbuf,tcp=3D0.0.0.0:5900,w=3D800,h=3D600,wait > line added to above and connect to it once your vm is started. > Windows wants a graphical device, and unless you have handcrafted > an autoinstall .iso that can run unattended you wont get very=20 > far without one. >=20 >> >> What should I check? What could have I done wrong? >> >> Alex >=20 >=20 >=20 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 --=20 Allan Jude --B48t2hM1QXSmiOlFlc1ndBbp691T0kgA9-- --wQ3WvkQftK7FUwotEhPhjt8aXeOXCc5F1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJZ4OA+AAoJEBmVNT4SmAt+1fcP/2m9aWpW2UYF6BX5tzGA4C+0 L2DwS7P7o7VA7yJBOA1w6lrSCjUvaMvaBUT0TEHw3fWdJQrpDivXDWZgWZdhYsSB PDzXdb+W1Mi+ZTu3S9YB6+DGb9tWpTDBR9PgVtUq84RYcP+xQJtK7gXruVgTWjR2 uFt3zzpFMRfMe0Y5kJFrmMSXDsY67MgEDNZ/p2XL5AKnTEHj1aej+VTUgOJ2Qufu p6GfEox/wlDzcAXpvsQGVjKxbQhR5WLZn1v6qcEWGOx2iSH5mTGocPJ6EdzLuQgC GaH61UrZuDqDE909rZvBNxBVHtJ3p0JqIu+JJ4zj+PHOzc+jdOnzwR0Dc/SBuyrg /blGO3Jn3nXoCpOGjatAqe/6JUpx6HaEiYIzgXPU2lhGOyNHvgUKxNGUIs59Tsgj 5c/sK83HG/8Ksieb3ib3LcUhWkr+NnhQXnuswpH5DOz2hybgA4y/793gOGaYzkiA q6A3DttKefynycvZVmvHT4ONCiL5F8nYky3J1NnoZAO9OqUDF9aEfKdXE4TtUbh8 hY72toXS2GpWdMfrZ+4TstOUV1ij1S4mZHDXh+WbtjSowNqMaSk1pVGOzmUkfBSS SalFk/wXWn9/Yd0nRnyUHDCHg0tV3gcMSRhZw+C15qQg8x6Dlm76qmoJR+kAAwIh RjsmqXCy444Os7KdNsTh =fjmO -----END PGP SIGNATURE----- --wQ3WvkQftK7FUwotEhPhjt8aXeOXCc5F1--