From nobody Fri Sep 6 22:13:59 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X0r9j0tw6z5W6GG for ; Fri, 06 Sep 2024 22:14:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0r9g4cHHz4Jtr for ; Fri, 6 Sep 2024 22:14:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=MDBgCNPd; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1725660853; bh=dkzLbGyGQ34zoGHJi9d9wfcLMlxTguDRl/gw652s6zs=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=MDBgCNPdaHNyBrfio0QUsCeVUOzGKQrPkqFJIPY+zpsvizG2NyMfWOWrGJnS4TpIIQu6Qg9A0ltR8P8jtM0fdgRFqAMjPcYPEwwVmE97iPUhGr7hilh6ESO203FoPAxAz0g1xrrzrlxYpOnSjRtCIP0HdwgXwK66Gltuv98QtSIFAJlE8zvnfFsVOi1QIiVEwbpm/LggGhFu3spbaqpNmwiy3A9TiLGItlWDgSqZFQ5LqQGXekw9LFXNac/9pTxu/PvbfeIs/7pKYRyVMvINkjqdc6C3HI5v5vmXdffj0hsjAcMQ79jEzn+adWqjc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xdmSXe9x3j_4gfjVd_RLQ2DbLSIrnHANXXgW9n9RSbfPKWVNX9eJ8TrC Bj473Yp4CRyptjlkicoFV5ylSiX3ymyQbW8i.5oND6Sd_Eo7OY4.hhDr_4VgBE_9xaRNvLRuckp5 yMxur0aZk_hkOSDVJk.ZuPDOKcmw9lf9DoNaeqIGszfOMWcUNICpSA2JtdSkbm_vmwaR_VWJZm5s jn9RPBMp2LWA5ZnQdS.zsC0knciTgh1rZO3bCcWNk6fjcfODlBZpEsT0d_.od4cRL7f.IyXqH.G. YMmXXeKvmc1ie_yogoOwvqqXwz8T1e3mXo1ONQwOi.vuoDXS90p0O7uHJ5gRDujpVMCqFlip.Ae. TNjOfPnLcMnSzKMBVmuwyNS16jKVjVrmHuKgPx1VmGd5G9ZyVyzFjszUFiQa5HMpDvKUvdcTWja7 EdhuXcX6j3OnLbKsTqkdU5UNkkLD9qyg3CWD.iaRjIbfUYOIA.4dwQyaAuG02xQL04j1SYElm4I7 IrNdjpLN10KJWmaO348kYQeGZzkWNjY3GpOtriD.KePHfiDB.rQ6bDqmhpGeW71RjLv9u8e_CFeQ L7b2.E497lRiDNaEMHklxxN_dbrlV0okXxxofKGD3r6AonjnccXlNErdV6ekTyyyG4q.sqUXWHc6 HmvlEr6UmvHOCz9bwTJ_8YXKNM6FP1QbSDi9t9Dn4W3n9mL7Gmsv5MEpaviMZKEVRW2lUQ4foYgv cDtPVb2osLCBEhA-- X-Sonic-MF: X-Sonic-ID: 30275010-81ca-4f6a-839e-aeaff7130189 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Fri, 6 Sep 2024 22:14:13 +0000 Received: by hermes--production-gq1-5d95dc458-vkwd9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e6eaa9daacc183b9d086278fae5be6f4; Fri, 06 Sep 2024 22:14:10 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: Loader needs to be updated message Message-Id: <4DC8866B-BEF1-4D53-962F-3B7F93232A7E@yahoo.com> Date: Fri, 6 Sep 2024 15:13:59 -0700 To: void , Current FreeBSD X-Mailer: Apple Mail (2.3776.700.51) References: <4DC8866B-BEF1-4D53-962F-3B7F93232A7E.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_TO(0.00)[f-m.fm,freebsd.org]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.148:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.148:from] X-Rspamd-Queue-Id: 4X0r9g4cHHz4Jtr void wrote on Date: Fri, 06 Sep 2024 18:12:10 UTC : =20 > On Fri, Sep 06, 2024 at 09:00:58AM -0600, Warner Losh wrote: >=20 > >man loader.efi has the instructions. >=20 > I followed the instructions: >=20 > # gpart list | grep -Ew '(Name|efi)' > 1. Name: da0p1 > type: efi > 2. Name: da0p2 > 3. Name: da0p3 > 1. Name: da0 >=20 > The manpage says: >=20 > " Second, let's mount the ESP, copy loader.efi to the special location > reserved for FreeBSD EFI loaders, and unmount once finished: >=20 > # mount_msdosfs /dev/nvd0p1 (my system would be da0p1) /boot/efi > # cp /boot/loader.efi /boot/efi/efi/freebsd/loader.efi > # umount /boot/efi > " >=20 > However, on this system, /boot/efi is mounted at boot-time so I just = copied it over. >=20 > ( /dev/gpt/efiboot0 on /boot/efi (msdosfs, local) ) >=20 > I first checked to make sure the file being copied over was newer and = the right type >=20 > file /boot/loader.efi > /boot/loader.efi: PE32+ executable (EFI application) Aarch64, for MS = Windows, 2 sections >=20 > ls -lah /boot/loader.efi > -r-xr-xr-x 2 root wheel 824K 6 Sep 14:47 /boot/loader.efi* >=20 > file /boot/efi/efi/freebsd/loader.efi > /boot/efi/efi/freebsd/loader.efi: PE32+ executable (EFI application) = Aarch64, for MS Windows, 2 sections >=20 > ls -lah /boot/efi/efi/freebsd/loader.efi > -rwxr-xr-x 1 root wheel 830K 25 Jul 07:58 = /boot/efi/efi/freebsd/loader.efi* >=20 > copied it over, rebooted, but the error message persists. Do you have = any other suggestions > please? thanks What shows if you do the likes of (showing an amd64 context example): # ls -lah /boot/efi/efi/*/* -r-xr-xr-x 1 root wheel 643K Aug 24 05:32 = /boot/efi/efi/BOOT/bootx64.efi -rwxr-xr-x 1 root wheel 643K Aug 24 05:32 = /boot/efi/efi/FREEBSD/loader.efi If one is old, then it is probably the one actually being used. (The name bootx64.efi is amd64 specific: other platforms use other names.) In such a case, you might need something like: # cp -a /boot/loader.efi /boot/efi/efi/BOOT/bootx64.efi =3D=3D=3D Mark Millard marklmi at yahoo.com