From nobody Fri Jan 9 21:25:42 2026 X-Original-To: dev-commits-src-all@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 4dnvvW0H66z6MNn6 for ; Fri, 09 Jan 2026 21:25:43 +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 4dnvvV6786z3XyL for ; Fri, 09 Jan 2026 21:25:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767993942; 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=Q235yFWrOwgGW6aEWxpB+dLnGrn7FMza0Vl6ZtpNe5M=; b=HsmO+q0/aAsHGvbhX1Q+bhZgsXNPL+7RyFfdepQB/mKAuyZ55bQBQIBxnR4n9P+gTz8Zn2 xGOFQXWQ726AaZbjZ2HCcj891hLEOkjyLqxvk/5D2XJyKBp3RAjMF6oZLwG8+dzfNU/V54 ZOlwxdEenFgVYn9+tE7PC/MJ0AOCNsjG3v0KKFC84Xx0xALpFoDI19dz20zOND6aIsJh+P QQiY8JpHt1hvQGx7UDMOPdT8WShtjTJkim5/qYfXwUv8/gaElDM9WFvGAi6aklEspoWZvg LfnPySonNl4Pl/CG/M34Dd8PlsuMWSRwgOsMj1p+aLYKbmYS9go1PhkHIhCEng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767993942; 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=Q235yFWrOwgGW6aEWxpB+dLnGrn7FMza0Vl6ZtpNe5M=; b=sOaVlpS4UsejmplN0DpweIoeem4/wCtBd3WyoSSimJ7e4v58TZq4e2RrBH9uf/fEMBxZ5A FnMYp1Y616Yi1iK4IVZ6K7i1zZAEl7MFrcYmSlDlQG8J9s/+CkszeA2ISIVAOsBuGC2xZl U+AEdmouzg77YNdzPyafULHPQsD5ktGQ+y6NQ5ishhT97cnABccpsU9FSFLyZgwEI8z2cy RvupEtfvDAg5VIQRHdJHzUkYgtTzRknYCg5JYTmb7AQRHOmLa4JytPijdPtKMGyk7s5F8d 0XwabtlvRsFO9yzU+pslqDr1rTqyH95Eyh/jTxBgfWpCN8SCuxInhmadKgI/aw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767993942; a=rsa-sha256; cv=none; b=p5TWyMYJAfg9HF2lLMRHFBDxZ77yoLcPebWmASQQX6YKcMYQqHynyepVymM74N3U7TBu81 B+ixPDs1icw4Z8cSgSUMn9SbndQ51D78uLyJ9y2BmD7lrfsB3+nYYMXU14hWiW5gmwjlfy GJkUl/eYF27yNrSaRaDFsY4iJFjoF0I8XCww1J70CVJjYU0HDFpRmqxpMSg7G9qg6Uwwuc 06TwBhhLHE58ykTzZ8oJBRl2jQDWXy8HLFb2Aqa3xc5JCsV8XVe0kFxdu8Qjls11k0KFEV gYzN+k3hqZiCF6F1k0ygE690nN4GODGD3Jhjm3B5P9s490go9c2FYFOTzlI5Jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dnvvV54Fxz9cM for ; Fri, 09 Jan 2026 21:25:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id dc2a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 09 Jan 2026 21:25:42 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: kitkat1424 From: Warner Losh Subject: git: 7b3fb3caef94 - main - loader.efi(8): clarify UEFI boot path and boot1.efi usage List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 7b3fb3caef9495cdfcc1c8ec39907defb65ce860 Auto-Submitted: auto-generated Date: Fri, 09 Jan 2026 21:25:42 +0000 Message-Id: <69617256.dc2a.7c368872@gitrepo.freebsd.org> The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=7b3fb3caef9495cdfcc1c8ec39907defb65ce860 commit 7b3fb3caef9495cdfcc1c8ec39907defb65ce860 Author: kitkat1424 AuthorDate: 2025-12-31 19:41:08 +0000 Commit: Warner Losh CommitDate: 2026-01-09 21:16:24 +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 --- 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