From owner-freebsd-virtualization@freebsd.org Fri Apr 5 16:12:30 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4610B1531946 for ; Fri, 5 Apr 2019 16:12:30 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 424B668480 for ; Fri, 5 Apr 2019 16:12:28 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=XLJ9fj28bD4MnH3HThgjBMg2FNf2IBclrBFNScKvhrA=; b=pfCKR+jkM75hu6jCZTrwlDv2c/ 4gAmckWMOYrzfxBHAGwq/GGqLk+n2lmj/8V2YYLWfRU5G24908U7PbaGHtlUIiF8oCFjeKyEHpmNe 8J6H4CE6IxC2CpuL/iLjb+SWqqFouVoJw76+q1ELHF3OdNOD515/h0JfCeQBcGLwYzeA=; Received: from vas by admin.sibptus.ru with local (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hCRS7-000Jtn-OP for freebsd-virtualization@freebsd.org; Fri, 05 Apr 2019 23:12:27 +0700 Date: Fri, 5 Apr 2019 23:12:27 +0700 From: Victor Sudakov To: freebsd-virtualization@freebsd.org Subject: Re: running FreePBX SNG7 Official Distro Message-ID: <20190405161227.GA73383@admin.sibptus.ru> References: <20190404163824.GA32075@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <20190404163824.GA32075@admin.sibptus.ru> X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.11.4 (2019-03-13) Sender: Victor Sudakov X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Apr 2019 16:12:30 -0000 --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--