Ubuntu guest in bhyve - startup.nsh

Christian Stærk xi at borderworlds.dk
Wed Aug 2 13:15:13 UTC 2017


On 08/02/17 14:47, Patrick M. Hausen wrote:

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


More information about the freebsd-virtualization mailing list