Date: Fri, 13 Oct 2017 11:48:14 -0400 From: Allan Jude <allanjude@freebsd.org> To: freebsd-virtualization@freebsd.org Subject: Re: Bhyve and windows 2012/2016 Message-ID: <ae023c9a-f798-ce42-7e35-fb294e31867b@freebsd.org> In-Reply-To: <201710131529.v9DFTlj1095566@pdx.rh.CN85.dnsmgr.net> References: <201710131529.v9DFTlj1095566@pdx.rh.CN85.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wQ3WvkQftK7FUwotEhPhjt8aXeOXCc5F1 Content-Type: multipart/mixed; boundary="B48t2hM1QXSmiOlFlc1ndBbp691T0kgA9"; protected-headers="v1" From: Allan Jude <allanjude@freebsd.org> To: freebsd-virtualization@freebsd.org Message-ID: <ae023c9a-f798-ce42-7e35-fb294e31867b@freebsd.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ae023c9a-f798-ce42-7e35-fb294e31867b>