Date: Sun, 12 Nov 2017 11:45:05 +0100 From: Christian Schwarz <me@cschwarz.com> To: freebsd-virtualization@freebsd.org Subject: Re: grub-bhyve: support overriding just --root flag Message-ID: <1510483505.13439.16.camel@cschwarz.com> In-Reply-To: <161c3f27-41fd-ada6-4edb-b8d2b3c1dc48@freebsd.org> References: <1510414698.13439.8.camel@cschwarz.com> <161c3f27-41fd-ada6-4edb-b8d2b3c1dc48@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Alan, > Does libvirt support using the bhyve UEFI-CSM firmware instead? That > would let the VM boot using the native grub installed inside the VM, and > avoid this issue entirely. It also makes starting a bhyve a single > command instead of 2. Thanks for the tip, I just converted the disk to GPT and now use UEFI directly. The only problem I encountered with the UEFI firmware is that it will always prefer the virtualized cdrom over hdd or, more generally, one cannot define a boot order. This gist contains a working minimal UEFI-only libvirt domain: https://gist.github.com/problame/79a94ae05f5b17e11c3b5bc2fe5910c8 If you have any idea how to set the boot order via bhyve command line flags I would be "happy" to patch libvirt to support this feature. Otherwise, I hope this helps anyone reading this in the future, Christian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1510483505.13439.16.camel>