From owner-freebsd-virtualization@freebsd.org Tue Dec 5 17:10:50 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 B430BE713F4 for ; Tue, 5 Dec 2017 17:10:50 +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 52AA66358E for ; Tue, 5 Dec 2017 17:10:50 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id vB5HAlma099877; Tue, 5 Dec 2017 18:10:47 +0100 (CET) (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 DF12743B; Tue, 5 Dec 2017 18:10:46 +0100 (CET) Message-ID: <5A26D316.5060804@omnilan.de> Date: Tue, 05 Dec 2017 18:10:46 +0100 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: Lars Engels CC: "Rodney W. Grimes" , freebsd-virtualization@freebsd.org Subject: Re: Bhyve. Unable install Windows 7/Server 2008R2 References: <176468b0-708d-a0f6-96e9-49c99431e281@freebsd.org> <201712051249.vB5Cnj5f051306@pdx.rh.CN85.dnsmgr.net> <20171205165710.GK19238@e.0x20.net> In-Reply-To: <20171205165710.GK19238@e.0x20.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Tue, 05 Dec 2017 18:10:47 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 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: Tue, 05 Dec 2017 17:10:50 -0000 Bezüglich Lars Engels's Nachricht vom 05.12.2017 17:57 (localtime): > On Tue, Dec 05, 2017 at 04:49:45AM -0800, Rodney W. Grimes wrote: >>> Hi, >>> >>>> bhyve -c 2 -s 0,hostbridge -s 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0 >>> For win7/2k8*, the sector size presented to the guest has to be forced >>> to 512 bytes i.e. for the ahci-cd slot, the config would look like: >>> >>> -s 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0,sectorsize=512 >> Should we start a wiki page on "Guest Quirks"? > Please do. I'd vote for making ,"sectorsize=512/4096" a artificial default. I'm not entire sure about the different Windows versions, but since BHYVE_UEFI.fd isn't able to access drives other than 512b sector size, I think it doesn't make sense to provide 8k drives by default in case of default ZFS volume. If I remember correctly Win6.3 (8.1/Server2k12) did support 4k and 8k native drives, with the limitation that "windows internal database - mssql" might not be usable, but I couldn't UEFI boot unless I changed sectrosize to 512 and stripezesize to 4k/8k. I guess not may other operating systems support bigger sector sizes as well as FreeBSD does today. So this artifical format might be what most times makes most sense. -harry