From owner-freebsd-virtualization@freebsd.org Wed May 3 07:00: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 531FAD5B738 for ; Wed, 3 May 2017 07:00:17 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 14033C74 for ; Wed, 3 May 2017 07:00:17 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 068A1202D62D for ; Wed, 3 May 2017 17:00:15 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id F28A02809E2 for ; Wed, 3 May 2017 17:00:14 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id m7U1_6Z5X8Cq for ; Wed, 3 May 2017 17:00:14 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id A6B222809CD; Wed, 3 May 2017 17:00:12 +1000 (AEST) Subject: Re: Windows Server 2016 as guest on bhyve 4k emulated drive To: Artur Moor References: Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <49770719-c87f-c673-4f2b-c17674797159@freebsd.org> Date: Wed, 3 May 2017 00:00:09 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=XKlAcUpE c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=N659UExz7-8A:10 a=tJ8p9aeEuA8A:10 a=-goNIgqANLlWp11eBCcA:9 a=pILNOxqGKmIA:10 wl=host:3 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: Wed, 03 May 2017 07:00:17 -0000 Hi Artur, > if the option 'sectorsize=4096/4096' for the emulated drive specified, the > installation process of "Windows Server 2016" completes the first stage > ('Copying Windows files', 'Getting files ready for installation', > 'Installing features' etc.) and fails after rebooting to the second stage. > > The second stage ends with the following message: > Boot Failed. Windows Boot Manager > Boot Failed. EFI DVD/CDROM > Boot Failed. EFI DVD/CDROM 1 > Boot Failed. EFI Hard Drive > > I suppose that Windows Boot Manager has problems when booting the 4k > emulated drive. > > Does anyone have any idea what can be the cause of this? I think it may be an issue with the AHCI driver in UEFI not returning the correct block size - will look into it further. I did verify that setting 'sectorsize=512/4096' works fine with 2k16. later, Peter.