From owner-freebsd-virtualization@freebsd.org Fri Oct 13 12:42:44 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 9A050E472B7 for ; Fri, 13 Oct 2017 12:42:44 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (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 36F89358A for ; Fri, 13 Oct 2017 12:42:44 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v9DCggbf052025; Fri, 13 Oct 2017 14:42:42 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 2358062E; Fri, 13 Oct 2017 14:42:42 +0200 (CEST) Message-ID: <59E0B4C1.6070907@omnilan.de> Date: Fri, 13 Oct 2017 14:42:41 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: =?UTF-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCf0L7QstC+0LvQvtGG0LrQuNC5?= CC: freebsd-virtualization@freebsd.org Subject: Re: Bhyve and windows 2012/2016 References: <90634b92-dea2-0866-39fc-a1c36e1a9800@webmail.sub.ru> In-Reply-To: <90634b92-dea2-0866-39fc-a1c36e1a9800@webmail.sub.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: ACL 129 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Fri, 13 Oct 2017 14:42:42 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) 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 12:42:44 -0000 Bezüglich Александр Поволоцкий's Nachricht vom 13.10.2017 12:12 (localtime): > Hello > > I'm trying to install Windows 2012 evaluation in bhyve. It looks like > neither HDD (ahci-hd) nor CD (ahci-cd) are available. > > Command is > > /usr/sbin/bhyve -c 2 -m 17179869184 -H -A -w -s 0:0,hostbridge -s > 3:0,ahci-hd,/usr/jails/jails-data/serv1c-data/dsk1.vhd,sectorsize=512 > -s 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 com1,stdio -l bootrom,/usr/local/cbsd/upgrade/patch/efi.fd serv1c > > Only X: drive is available, seems to be some memory image > > What should I check? What could have I done wrong? Hmm, nut sure about vhd image struture, but I doubt you can use that as block backend. You can attach the HDD and ODD to the same controller. If you use md(4) as hdd backend, does taht change anything (mdconfig -a -t swap -s 10G and "-s 3:0,ahci,hd:/dev/mdX,cd:usr/jails/src/iso/windows2012.iso")? Or a zvol or sparse file (truncate -s 10g /your/data/path/bhyve-testdisk.file) insetad of md, just to rule out the vhd image file. -harry