Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2018 11:32:24 +0000
From:      Matt Churchyard <matt.churchyard@userve.net>
To:        D'Arcy Cain <darcy@druid.net>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   RE: Error installing Xubuntu under bhyve
Message-ID:  <c2acacf823d649b4beef449edcf96023@SERVER.ad.usd-group.com>
In-Reply-To: <6ac9ed7e-8d92-5933-e097-306dc54a01d1@druid.net>
References:  <21bcfbf0-e0f9-0250-097d-5a5b2e372056@druid.net> <6ac9ed7e-8d92-5933-e097-306dc54a01d1@druid.net>

index | next in thread | previous in thread | raw e-mail

On 10/8/18 6:14 PM, D'Arcy Cain wrote:
> I am trying to install Xubuntu under bhyve with vm-bhyve.  The install

>I had a private email with some suggestions.  They didn't work but I thought I should mention them here for discussion purposes.

> goes fine right up to near the end when it fails with a "Executing 
> 'grub-install /dev/vda' failed" error and the install fails.  A second 
> attempt says that there is a system already on the disk but it won't 
> boot up and leaves the console at a grub prompt.  I have grub2-bhyve 
> installed.  Here is my config:
> 
> guest="linux"
> uefi="yes"
> loader="grub"
> grub_run_partition="msdos1"

>He said that I don't need the grub lines if I am using uefi.  Those lines were actually added in as a Hail Mary.  In or out made no difference.

Yes, all grub settings are irrelevant if you are using UEFI. With UEFI, the UEFI firmware is used instead of grub2-bhyve (even if the guest boots from UEFI into grub internally).
As such, the loader="grub" option isn't actually needed here either.
Also the "guest" configuration option was removed quite a while ago

I was able to install XUbuntu with a simple UEFI + graphics config and using the graphical installer via VNC -

uefi="yes"
graphics="yes"
xhci_mouse="yes"
cpu=1
memory=512M
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="disk0.img"

> disk0_type="virtio-blk"

>He suggested ahci-hd.  It made no difference.

>He also suggested starting over with a new disk but that didn't help either.

>Still looking for suggestions.

-- 
D'Arcy J.M. Cain <darcy@druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 788 2246     (DoD#0082)    (eNTP)   |  what's for dinner.
IM: darcy@Vex.Net, VoIP: sip:darcy@druid.net _______________________________________________
freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c2acacf823d649b4beef449edcf96023>