From owner-freebsd-questions@freebsd.org Sun Mar 3 14:26:43 2019 Return-Path: Delivered-To: freebsd-questions@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 984D4150C46F; Sun, 3 Mar 2019 14:26:43 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C61A886B90; Sun, 3 Mar 2019 14:26:42 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id x23EQeP9083735 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sun, 3 Mar 2019 14:26:40 GMT (envelope-from list1@gjunka.com) To: FreeBSD Questions Mailing List , freebsd-arch@freebsd.org From: Grzegorz Junka Subject: Failed to load '/boot/loader.efi' Message-ID: Date: Sun, 3 Mar 2019 14:26:40 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 MIME-Version: 1.0 Content-Language: en-GB-large X-Rspamd-Queue-Id: C61A886B90 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149 as permitted sender) smtp.mailfrom=list1@gjunka.com X-Spamd-Result: default: False [-5.98 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[gjunka.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-3.64)[ip: (-9.53), ipnet: 88.98.192.0/18(-4.77), asn: 56478(-3.81), country: GB(-0.09)]; MX_GOOD(-0.01)[cached: gjunka.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.02)[-0.025,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Mar 2019 14:26:43 -0000 Hello, I am trying to configure UEFI loader to boot FreeBSD 12. The UEFI shell prints the following: >> FreeBSD EFI boot block   Loader path: /boot/loader.efi Initializing modules: ZFS UFS   Load Path: \efi\boot\BOOTx64.efi   Load Device: PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x2)/Pci(0x4,0x0)/Pci(0x0,0x0)/NVMe(0x1,8D-7F-B1-71-55-38-25-00)/HD(1,GPT,F4EC62C3-B000-4A60-AAA6-7079751A497D,0x800,0x64000)   BootCurrent: 0003   BootOrder: 0000 0005 0006 0003[*]   Probing 12 block devices......+...*.... done     ZFS found the following pools: tank7     UFS found no partitions Failed to load '/boot/loader.efi' panic: No bootable partions found! I can import the ZFS pool fine when booting a memstick livefs. Why loader.efi isn't importing it? efibootmgr -v gives the following BootCurrent: 0005 Timeout : 5 seconds. BootOrder: 0000, 0005, 0006, 0003   Boot0* Windows Boot Manager HD(5,GPT,5804e565-b8f6-4f47-9314-9eb4cfb79697,0x1d55e000,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI) nvd1p5:/EFI/MICROSOFT/BOOT/BOOTMGFW.EFI (null) * Boot5* UEFI OS HD(1,GPT,f4ec62c3-b000-4a60-aaa6-7079751a497d,0x800,0x64000)/File(\EFI\BOOT\BOOTX64.EFI) nvd1p1:/EFI/BOOT/BOOTX64.EFI (null)   Boot6* Hard Drive BBS(HD,,0x0)   Boot3 UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012) I've manually created /EFI/BOOT/BOOTx64.EFI by copying /boot/boot1.efi from the livefs. The content of /EFI is just one file: EFI/Boot/bootx64.efi Can I somehow install the /boot/boot1.efifat manually to try to make it working? I am installing FreeBSD 12 by partitioning disk manually so bsdsysinstall doesn't run, and it seems there were some changes around the EFI partition recently, e.g. support for /efi/freebsd/loader.efi. Thanks GrzegorzJ P.S. Sorry for cross-post. I sent this question yesterday but it hasn't been posted to the group for some reason, so now resending and including another one to test.