From owner-freebsd-virtualization@freebsd.org Thu Jan 21 16:06:24 2016 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 7C721A8B62E for ; Thu, 21 Jan 2016 16:06:24 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id 61F1C1741 for ; Thu, 21 Jan 2016 16:06:24 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [192.168.1.10] (unknown [192.168.1.10]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 94895D245; Thu, 21 Jan 2016 16:06:23 +0000 (UTC) Subject: Re: bhyve guest from physical disk To: Sergey Manucharian References: <56A0F7C0.2040806@freebsd.org> <20160121154953.GA18498@debian.ara-ler.com> Cc: freebsd-virtualization@freebsd.org From: Allan Jude Message-ID: <56A101F9.70005@freebsd.org> Date: Thu, 21 Jan 2016 11:06:17 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160121154953.GA18498@debian.ara-ler.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 21 Jan 2016 16:06:24 -0000 On 2016-01-21 10:49, Sergey Manucharian wrote: > Thanks, Allan! > > Excerpts from Allan Jude's message from Thu 21-Jan-16 10:22: >> On 2016-01-21 10:11, Sergey Manucharian wrote: >>> Is it possible to run a bhyve guest from physical disk? >>> I tried adding this option: >>> >>> -s 3,ahci-hd,/dev/ada2 >>> >>> but it doesn't work. >> >> Make sure that the device is not in use by anything else. Also, does >> that device contain an EFI boot partition? > > This is a great question. Most likely not, besides the main one, it has > only regular 100M Windows boot partition. > > However EFI should support legacy boot anyway, correct? > > Sergey > bhyve cannot legacy boot windows, only EFI, because of the graphics requirement. When you do 'gpart show /dev/ada2' if the disk was setup for EFI booting, it should have an EFI partition. -- Allan Jude