From owner-freebsd-current@freebsd.org Wed Aug 21 19:49:00 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6AE33D24F5 for ; Wed, 21 Aug 2019 19:49:00 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46DJBg3pt1z4RmK for ; Wed, 21 Aug 2019 19:48:59 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: by sdaoden.eu (Postfix, from userid 1000) id AE50716054; Wed, 21 Aug 2019 21:48:49 +0200 (CEST) Date: Wed, 21 Aug 2019 21:48:48 +0200 From: Steffen Nurpmeso To: "O. Hartmann" Cc: freebsd-current Subject: Re: HELP: UEFI/ZFS Boot failure: Ignoring Boot000A: Only one DP found Message-ID: <20190821194848.CSX4D%steffen@sdaoden.eu> In-Reply-To: <20190821145234.6fe455b4@freyja> References: <20190821145234.6fe455b4@freyja> Mail-Followup-To: "O. Hartmann" , freebsd-current User-Agent: s-nail v14.9.15 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Rspamd-Queue-Id: 46DJBg3pt1z4RmK X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of steffen@sdaoden.eu designates 217.144.132.164 as permitted sender) smtp.mailfrom=steffen@sdaoden.eu X-Spamd-Result: default: False [-2.07 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sdaoden.eu]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.78)[-0.781,0]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15987, ipnet:217.144.128.0/20, country:DE]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2019 19:49:00 -0000 O. Hartmann wrote in <20190821145234.6fe455b4@freyja>: |I ran into serious trouble booting several boxes off UEFI. On modern \ |hardware, |the ESP is around 200 - 300 MB in size and usually I install |/efi/freebsd/loader.efi, loader.efi taken from /boot/loader.efi. On \ |some older |hardware, specifically on a Lenovo E540 with latest available firmware \ |(2.28), |which uses 12-STABLE and a ZFS-only installation, there seems no working \ |loader |anymore! |The installation of the Laptop has been performed using 12.0-PRERELEASE \ |on an |Samsung EVO 860 500GB SSD. The ESP is 200M in size and contained |/efi/boot/BOOTx64.efi and /efi/boot/startup.nsh. It may be that the Lenovo BIOS/firmware searches for that specific Microsoft location EFI/Microsoft/Boot/bootmgfw.efi Onto which i radically (according to docu) moved refind_x64.efi: #?0|kent:~# ll /mnt/EFI/Microsoft/Boot/bootmg* -rwxr-xr-x 1 root root 1453056 Sep 14 2018 /mnt/EFI/Microsoft/Boot/bootmgr.efi -rwxr-xr-x 1 root root 1469752 Mar 21 17:43 /mnt/EFI/Microsoft/Boot/bootmgfw.efi.safe -rwxr-xr-x 1 root root 208776 Mar 21 17:43 /mnt/EFI/Microsoft/Boot/bootmgfw.efi and that now finds its normal installation (etc.), simply copied via cp(1): #?0|kent:~# ll /mnt/EFI/refind/ total 260 drwxr-xr-x 2 root root 4096 Mar 21 17:13 drivers_x64 -rwxr-xr-x 1 root root 208776 Mar 21 17:14 refind_x64.efi drwxr-xr-x 3 root root 8192 Mar 21 17:18 icons drwxr-xr-x 2 root root 4096 Apr 8 13:39 vars drwxr-xr-x 5 root root 4096 Apr 8 13:39 .. -rwxr-xr-x 1 root root 32233 Apr 16 22:55 refind.conf drwxr-xr-x 5 root root 4096 Apr 16 22:55 . ... |What is wrong here? What am I missing? Maybe that helps. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)