From owner-freebsd-virtualization@freebsd.org Wed Aug 2 13:15:13 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 862BDDD0BC7 for ; Wed, 2 Aug 2017 13:15:13 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5732464972 for ; Wed, 2 Aug 2017 13:15:13 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id DF11920925; Wed, 2 Aug 2017 09:15:11 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Wed, 02 Aug 2017 09:15:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=borderworlds.dk; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=E+FO8X jumX9O9r5BG/s98XH7bizZVapFCBePK0PZJgc=; b=KvCmI/XZ8Pt0uhWxl7EEGl Sqg86p81gMixw7TD9K7wfIwlAikpQobuZZh2wfWaAo0OYR6WHLhIjoBJZz5SNbB9 6gjeOriVDr7RhIgwYyy4LGXjkQN/KdsanAuy6YmmxV35c9A1qqKe3nTKWuHYHJlc 7WgwJeTLjnW5beIuPVTm4MV4OUQFgp+MOEcjCE2oml50BvC7jH099OyeeY4oFLOC SsPdJMDXPFWQssP2tHAW5ewV4zmwNzvZtvm8jxrv1vFWoLljcGnL62am+YniVRHd 3ERlaJS37hL1bCCArsq4zxoCiPGvxYEt9ghatRt9AEmNZ9x4k1iDfmZI5tuUOW5Q == DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=E+FO8XjumX9O9r5BG/s98XH7bizZVapFCBePK0PZJgc=; b=YMmL6RNS sbO1pbds8/5G+obJ4oV08NpfzniHYZRmBkb3XvLiUeqs5d3+Np0nQNVxS2rzlJzT 3Dvc0rxpi62abbJIGiiVaIVS/1GJdPyW7X5ZwZnlqeRw8oDEGPBedUC4DJkoLtVw Hv1ec3LhNCHzVXpxhSSvjG2y0cvUV4XUW3sFJgw3cKcygcF0958P36NnXBK98QpL uwQ8Il9m9arMalKzqyiLUuIMutqM43yUck1UW0WIvwXU5DsU9J2hKzXGHdmTF+xH MVDcvZgaCo3eox+v8s/tTRqHLKNrBZ2mlkjjl4WPpX0H1kgnxZ2h1qhXF+iFzAew dFM4eJkQYoILHA== X-ME-Sender: X-Sasl-enc: Nk540g2a7MHGYsmXhDFKVLO5YBMOJm23035iM3L3SnQ4 1501679711 Received: from borg.borderworlds.dk (unknown [85.191.122.210]) by mail.messagingengine.com (Postfix) with ESMTPA id 54F4E24515; Wed, 2 Aug 2017 09:15:11 -0400 (EDT) Subject: Re: Ubuntu guest in bhyve - startup.nsh To: "Patrick M. Hausen" Cc: "freebsd-virtualization@freebsd.org" References: <53aae4e1-0f98-c3a7-97b9-39c902487c2d@borderworlds.dk> From: =?UTF-8?Q?Christian_St=c3=a6rk?= Organization: The Border Worlds Message-ID: Date: Wed, 2 Aug 2017 15:15:10 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: da 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, 02 Aug 2017 13:15:13 -0000 On 08/02/17 14:47, Patrick M. Hausen wrote: >> Am 02.08.2017 um 14:34 schrieb Christian Stærk : >> I was trying to work around bhyve not saving the EFI nvvars by creating a startup.nsh file inside the EFI partition. >> None of my attempts seemed to make any kind of difference when trying to boot so I am still stuck waiting a few minutes and then selecting grub manually. >> >> Has anyone had any success crafting such a workaround? > Sorry - cannot help with your question proper. But to just get > the job done of booting various guests via EFI in bhyve I had > good success with rEFInd: > > http://rodsbooks.com/refind/ Thank you for the refind pointer. After installing refind I had to move it to the default boot location in order to have it boot automatically: mvrefind /boot/efi/EFI/refind /boot/efi/EFI/BOOT Now it works. Thank you. Best regards Christian