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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 thoug=
ht I should mention them here for discussion purposes.

> goes fine right up to near the end when it fails with a "Executing=20
> 'grub-install /dev/vda' failed" error and the install fails.  A second=20
> attempt says that there is a system already on the disk but it won't=20
> boot up and leaves the console at a grub prompt.  I have grub2-bhyve=20
> installed.  Here is my config:
>=20
> guest=3D"linux"
> uefi=3D"yes"
> loader=3D"grub"
> grub_run_partition=3D"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=3D"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 usin=
g the graphical installer via VNC -

uefi=3D"yes"
graphics=3D"yes"
xhci_mouse=3D"yes"
cpu=3D1
memory=3D512M
network0_type=3D"virtio-net"
network0_switch=3D"public"
disk0_type=3D"virtio-blk"
disk0_name=3D"disk0.img"

> disk0_type=3D"virtio-blk"

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

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

>Still looking for suggestions.

--=20
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/m=
ailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs=
d.org"



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