From owner-freebsd-virtualization@freebsd.org Fri Oct 13 15:37:55 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 62E28E2515E for ; Fri, 13 Oct 2017 15:37:55 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24A6169F4A for ; Fri, 13 Oct 2017 15:37:54 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id v9DFbsgs095615; Fri, 13 Oct 2017 08:37:54 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id v9DFbs9s095614; Fri, 13 Oct 2017 08:37:54 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201710131537.v9DFbs9s095614@pdx.rh.CN85.dnsmgr.net> Subject: Re: Bhyve and windows 2012/2016 In-Reply-To: <201710131529.v9DFTlj1095566@pdx.rh.CN85.dnsmgr.net> To: "Rodney W. Grimes" Date: Fri, 13 Oct 2017 08:37:54 -0700 (PDT) CC: =?UTF-8?Q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80_?= =?UTF-8?Q?=D0=9F=D0=BE=D0=B2=D0=BE=D0=BB=D0=BE=D1=86=D0=BA=D0=B8=D0=B9?= , freebsd-virtualization@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UNKNOWN-8BIT 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:37:55 -0000 > > > Hello > > > > I'm trying to install Windows 2012 evaluation in bhyve. It looks like > > neither HDD (ahci-hd) nor CD (ahci-cd) are available. > > What version of FreeBSD are you doing this on? uname -a? > > > Command is > > > >  /usr/sbin/bhyve  -c 2 -m 17179869184 -H -A -w -s 0:0,hostbridge    -s > ^^^^^^^^^^^ read the manual page very carefully, > if you do not specify a unit for -m the default is to use it as megabytes, 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 > > > 3:0,ahci-hd,/usr/jails/jails-data/serv1c-data/dsk1.vhd,sectorsize=512 -s > ^^^ > bhyve does not support .vhd format disks, it supports only raw > images, how was this file created? > > > 2:0,ahci-cd,/usr/jails/src/iso/windows2012.iso  -s > > 4:0,e1000,tap6,mac=00:a0:98:cf:ab:82 -s 5:0,virtio-rnd  -s > > 6,fbuf,tcp=0.0.0.0:5902,w=1024,h=768,wait -s 30,xhci,tablet -s 31,lpc -l ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Ooopss.. ignore my comments about fbuf/vnc, I missed it. > > 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 > > > > > Only X: drive is available, seems to be some memory image > > I believe your X: drive is the ramdisk image of the windows 2012 > installer? > > I do not see any setup for a fbuf/vnc console, you probalby want a > -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,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 > far without one. > > > > > What should I check? What could have I done wrong? > > > > Alex > > -- > Rod Grimes rgrimes@freebsd.org > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" -- Rod Grimes rgrimes@freebsd.org