From nobody Sun Feb 8 16:51:06 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 4f8DNp5NLFz6RS8y for ; Sun, 08 Feb 2026 16:51:06 +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 4f8DNp3XVlz3mhc for ; Sun, 08 Feb 2026 16:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770569466; 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=eIv8NVzuzMpdTueugnPbrEKDldi9LHFTHrnXX8+7aJE=; b=pXemWCvqzuWGz7yb3RHZbq4llR5r0pnJweogiQXWgnyi4H2dvALgjnV9VcT5XGcZwJz0c9 j9tRCAyUDUPGDnYla1Uzff5SZxasoBH/tS4IU0z5veFrntOaxZzMnPv9nMtmDizAJ48uh5 tAoP3AoOVIWOovYyr7JP7dz0u2K4d5PmfH8e4OOM2DdcyqVeMCScnwUIhHCySapej2GLpu 0ARmRc09ghsBQL+xY/bcuwWK5rH6esKigI7l8zPVUZX8et0XXna1UK4kVsH6YZFVSMLw1B ul1E50PwHSE9YMCMHj4teuBgP1fn1UsuAcc5Mhpek1Y3ZvfiJPRNbxNhD+DkHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770569466; a=rsa-sha256; cv=none; b=qrihkIgvT4jGrw4bmP4sqcIg8pmYkbC1gBIRbZa+JJhus+jY9SKgVwRg1ZiC7uu7WGBLpP ewywYuip+tbTeYlHUpgFYlsCWX6+7oxMonVdW/TeiIiT3/Jp6Q5sMSwI2EsDEaOEcwyZv+ TOq756Xlvwi7vkV8drKwllv6YzL5CjIebTFMJligCyFzhICSlyb74sFSkbvMEslzVAYwDi FHJfpKd6n7ibhQzqXptvj/v7rYKv5vf4o4pieLZlGAlJWEL3rCJDQyu3YYsvTBU4sxjLpS 2aH7wIELovzMk3SqgczkasLmf8UDA3GRpaqaCeUNZnL9ylY0djW0mgMvdkhVvw== 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=1770569466; 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=eIv8NVzuzMpdTueugnPbrEKDldi9LHFTHrnXX8+7aJE=; b=Grm2qfAgKJ0nFS4/21G0upBeqJwDurVltX97Gx5mNYS1CArwaHwJknmr5OjrNE7JiCnhhm Q0ZmqvoxWQYffuy6zG7bkcThZsikYZT89bw39X5zjan403Ub/74UiO4B/cjsLxQpOzfAIP 5cTUW27x0BhEkJoQ9G8q9otVfhrs5b5U0opDh+TyDTDYtheZxn69/A8ON61EDR0b0lUrkD LnsDa6mqBjJj4OEY5YiNRFyw5XRjwkbbCRx8n/lTteBlrHUJyAS3iIRG37/vSM/Cbi6BUC yUlT7fQkSImSiGVLJ6yHPZtpgxLYjo7V6p/LyrU/lyTOiwXy1YVdOXepLxddHA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f8DNp2mFBzw6x for ; Sun, 08 Feb 2026 16:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 20834 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 08 Feb 2026 16:51:06 +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: 024549e50ede - stable/15 - 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/15 X-Git-Reftype: branch X-Git-Commit: 024549e50ede5317afff360ce01d37b674147b7b Auto-Submitted: auto-generated Date: Sun, 08 Feb 2026 16:51:06 +0000 Message-Id: <6988befa.20834.6e9abae9@gitrepo.freebsd.org> The branch stable/15 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=024549e50ede5317afff360ce01d37b674147b7b commit 024549e50ede5317afff360ce01d37b674147b7b Author: kitkat1424 AuthorDate: 2025-12-31 19:41:08 +0000 Commit: Warner Losh CommitDate: 2026-02-08 16:49:50 +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 d9a5c827ba71..80d16d45670a 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