From nobody Sun Feb 8 16:50:47 2026 X-Original-To: dev-commits-src-branches@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 4f8DNR2lP3z6RSRM for ; Sun, 08 Feb 2026 16:50:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f8DNR1CvMz3mH2 for ; Sun, 08 Feb 2026 16:50:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770569447; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+hZvyjF3elE+Ied6YQHfMEYgEEQSeY9a2vd68e1Ri3w=; b=I4rRKAxTrze9UYQfYkcxTHHbbE4n/Rhcliw2Io1U0k2ltWlgjAyV8ZKWDXqmi5/9bXqsQy VwMEoN6UTKz5vvVtenmXVd/lcOUB+f1fd9J6MSO1yRqXCn+OaPPOqM0Oet8mokm9NIqWHx TwjXlfUHDFLE8a4Aul1ZGpWGrI2A5qQyNHgN3vf89O5C/X0XNAHx8s5LtJNOdhQD5Y/Klg L0EEQVv1D6/PjTt0znINq3RMsCJ9ISiln2ex1t4MES7LUBVHRLDzaHqNLkv7+aM1GgLl9n m8tDgQjypBAoLf8Xt5rwLx9KCRXnUYuTdXoLzlm7VQrqelXgRDn6al1grGTOLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770569447; a=rsa-sha256; cv=none; b=uaD4NNv+0VoSPFeDRbYVEY0XCrrEenJgTDUveEmziY7ZYCjzJVevlqIDWSgteyc2WYhPRL 4vHX9bA6iOSjfY5abV5HIKKsCBQwQB5vwza9cx15o5M8vm74Mk5bqlVJxdf/N1p0abK/0V O+1WdK8RPCcAz2N+adohBsXKjDxbMc7hbZmIL+lI+VZXOVohZwlNU7Twy/oTfZd8cP8zLr 9JpviiAotaEgbbOPx1TgO7wchUebbr+Q47D6oOyeNlMmB5DTJSsgSSPBzuHVtdKuiVTNXW RfUbj116l0sIcOhUKyH77YuQilMzhj2R+9fUMKK0tzkfuEPp+cjgd2mf4fyfWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770569447; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+hZvyjF3elE+Ied6YQHfMEYgEEQSeY9a2vd68e1Ri3w=; b=h4QWIoatzPPlWK11/7Mgwc6lIdffywRIxxQ6iq0OniNQSrbo5eZ40furwRBziWOBIBGYAw z6rCNiCZGRNtOnVnVCsLlBp3e0SQLO+TA1/DjMiVADFXtYSLMnfk3v8U+06hrn4gYAYxUl nA3f34C4+zGFj1itVYrWBGsWtpewD8kzlgdgwZTur5QUNAZ58H4Vt8LJzJ7yvrBWNerY4u taVdU61BpDJcuqvt1duv1FmjCe3KNY5puTInGNt1aWZGZrYkDKrtkojNE1Q49HBWei5bbb W9DrDJnoW7C2XG6uqjD1/bS2WI/dXc+D2ErlSpqry5PNL7DmdznoDvbL1//Lyg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f8DNR0XXKzvqv for ; Sun, 08 Feb 2026 16:50:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 2089f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 08 Feb 2026 16:50:47 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: kitkat1424 From: Warner Losh Subject: git: fadcbc631eea - stable/14 - loader.efi(8): clarify UEFI boot path and boot1.efi usage List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: fadcbc631eea172e64328fb1a12b843e4d6eb821 Auto-Submitted: auto-generated Date: Sun, 08 Feb 2026 16:50:47 +0000 Message-Id: <6988bee7.2089f.2d8b82aa@gitrepo.freebsd.org> The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=fadcbc631eea172e64328fb1a12b843e4d6eb821 commit fadcbc631eea172e64328fb1a12b843e4d6eb821 Author: kitkat1424 AuthorDate: 2025-12-31 19:41:08 +0000 Commit: Warner Losh CommitDate: 2026-02-08 16:50:11 +0000 loader.efi(8): clarify UEFI boot path and boot1.efi usage Reorganise and clarify the legacy role of boot1.efi in DESCRIPTION to improve clarity. Add a minor missing word in the BUGS section ["...caution is required*..."]. See also - PR: 290794 Signed-off-by: Aaditya Singh Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1939 (cherry picked from commit 7b3fb3caef9495cdfcc1c8ec39907defb65ce860) --- stand/man/loader.efi.8 | 47 +++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/stand/man/loader.efi.8 b/stand/man/loader.efi.8 index a88c09fcff71..f2278247b648 100644 --- a/stand/man/loader.efi.8 +++ b/stand/man/loader.efi.8 @@ -41,20 +41,28 @@ On UEFI systems, .Nm loads the kernel. .Pp -.Xr boot1.efi 8 -is used to load -.Nm -when it is placed within a UFS or ZFS file system. -Alternatively, .Nm -is used directly when configured with -.Xr efibootmgr 8 , -or when placed directly as the default boot program as described in -.Xr uefi 8 . -When a system is built using +is invoked directly from the EFI System Partition (ESP) +on systems installed using .Xr bsdinstall 8 , -.Nm -will be used directly. +when installed as the default EFI boot program as described in +.Xr uefi 8 +or when configured as an EFI boot entry with +.Xr efibootmgr 8 . +.Pp +On systems upgraded from FreeBSD 10 or earlier, the EFI System Partition (ESP) +can be too small to accommodate +.Nm . +In such cases, +.Xr boot1.efi 8 +may be retained as the firmware boot program. It +will chain-load the current +.Pa /boot/loader.efi , +which is updated during the +.Cm installworld +process. +.Xr boot1.efi 8 +is deprecated for new installations. .Ss Console Considerations The EFI BIOS provides a generic console. In @@ -485,15 +493,6 @@ Typically in these embedded situations, there is only one .efi file (loader.efi or a copy of loader.efi). The path to this file is typically the default removable path above. .Pp -Managing booting multiple OSes on UEFI varies greatly, so extra caution when -updating the UEFI default loader. -.Pp -The old, now obsolete, boot1.efi was installed as bootx64.efi in -.Fx 10 -and earlier. -Since it was quite limited in functionality, we created very small -ESPs by default. -A modern loader.efi will not fit. -However, if the old boot1.efi still works, there's no need to update -it since it will chain boot /boot/loader.efi from a copy that -make installworld updates. +Managing booting multiple OSes on UEFI varies greatly, so extra caution is required +when updating the UEFI default loader. +.Pp