Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2019 23:12:27 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: running FreePBX SNG7 Official Distro
Message-ID:  <20190405161227.GA73383@admin.sibptus.ru>
In-Reply-To: <20190404163824.GA32075@admin.sibptus.ru>
References:  <20190404163824.GA32075@admin.sibptus.ru>

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

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Victor Sudakov wrote:
>=20
> Has anyone tried to run FreePBX under bhyve? That's what I get trying to
> start the vm after a successful automatic install from the ISO image:
>=20
> Boot Failed. EFI DVD/CDROM
> Failed to set MokListRT: Invalid Parameter
> Failed to open \EFI\BOOT\grubx64.efi - Not Found
> Failed to load image \EFI\BOOT\grubx64.efi: Not Found
> start_image() returned Not Found
> Boot Failed. EFI Misc Device

Below are the partitions the automatic installer has created (looking at
them from another vm):

root@mfsbsd:~ # gpart show vtbd1
=3D>      34  41942973  vtbd1  GPT  (20G)
        34      2014         - free -  (1.0M)
      2048    186368      1  efi  (91M)
    188416   4096000      2  ms-basic-data  (2.0G)
   4284416  37654528      3  linux-lvm  (18G)
  41938944      4063         - free -  (2.0M)

If I "mount_msdosfs /dev/vtbd1p1 /mnt/" I see that grubx64.efi is not
where bhyve expects to find it:

root@mfsbsd:~ # find /mnt/ -name grubx64.efi
/mnt/EFI/centos/grubx64.efi

Who is to blame, bhyve or FreePBX's installer?

How can I tell bhyve's UEFI loader to look for grubx64.efi in a
different place? Or look for a different loader?

Who says that the image to load should be "\EFI\BOOT\grubx64.efi" and
not "\EFI\BOOT\BOOTX64.EFI" for example?

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--0F1p//8PRICkK4MW
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJcp35rAAoJEA2k8lmbXsY0+UgIAIOfflioWoZ+kGVIk36jWWyJ
KztbLycZSUtgZmqW8oDW+Ucdcbs05w1nAkMaog+JXw+LI0RSNUzAvdn/NNsOdkVC
6kzgswk75NW7ruXfonN1OA1xMV3r8oE+i9xSy5l0TLeZJro4WOZA6pV6DZoceZIx
3L3qaWqEru0kMabi3nc9y2dI0LoggQam15qFvfIZIVFwhESihHN4MKC/RsYLagda
R4Xj3wLRGtyhl5HRl9XnLKzaqmxSkgV+qy5jy2fPJy3A6+PpAadtjC53jN6TdWjR
Hqk7Tl7lbre8s7CVKRhYJSRF0E0yqoBn2tPOqNA5Q1bIWb41F3eNdeg6RAOns90=
=A/qr
-----END PGP SIGNATURE-----

--0F1p//8PRICkK4MW--



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