Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2017 15:15:10 +0200
From:      =?UTF-8?Q?Christian_St=c3=a6rk?= <xi@borderworlds.dk>
To:        "Patrick M. Hausen" <hausen@punkt.de>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: Ubuntu guest in bhyve - startup.nsh
Message-ID:  <e7d797a5-987d-b240-96db-47357fad6c2c@borderworlds.dk>
In-Reply-To: <C2636787-9C96-456C-88CF-3F998E256F3A@punkt.de>
References:  <53aae4e1-0f98-c3a7-97b9-39c902487c2d@borderworlds.dk> <C2636787-9C96-456C-88CF-3F998E256F3A@punkt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/02/17 14:47, Patrick M. Hausen wrote:

>> Am 02.08.2017 um 14:34 schrieb Christian Stærk <xi@borderworlds.dk>:
>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7d797a5-987d-b240-96db-47357fad6c2c>