Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2022 18:08:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 263322] Explain when and why to upgrade the bootloader
Message-ID:  <bug-263322-9-XW61quBdqJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263322-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263322-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263322

Graham Perrin <grahamperrin@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-patch
             Status|New                         |Open
                 CC|                            |grahamperrin@freebsd.org,
                   |                            |imp@FreeBSD.org
              Flags|                            |maintainer-feedback?(imp@Fr
                   |                            |eeBSD.org)

--- Comment #1 from Graham Perrin <grahamperrin@freebsd.org> ---
Some starting points.=20


<https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-bootcode=
>:=20

* is too late in the chapter

* offers no precaution with regard to use of gpart (and damage that=20
  may ensue).=20


Compare with <https://www.freebsd.org/releases/13.0R/relnotes/#boot>:=20

> =E2=80=A6 To update old ESP partitions, users should stop using the gpart=
(8)=20
> utility. Instead, =E2=80=A6

There, the paragraph continues with an architecture-specific example that
includes:=20

    /boot/efi/efi/boot/bootx64.efi


loader.efi(8)
<https://www.freebsd.org/cgi/man.cgi?query=3Dloader.efi&sektion=3D8&manpath=
=3DFreeBSD>
includes a more generic (XXX) mention of:=20

    /efi/boot/bootXXX.efi


<https://lists.freebsd.org/archives/freebsd-current/2021-July/000331.html>; =
=E2=80=93
from Warner Losh, re: 'EFI boot partition overwritten' =E2=80=93 included m=
emorably
neat guidance.


Elsewhere, probably in an official area, I might have seen more recent,
comparably neat guidance, which (also) takes into account the file system of
the EFI system partition _mounted by default_ (no need to use mount_msdosfs)
with more modern systems. However:

* I struggle to remember where this write-up might have been

=E2=80=93 imp@ please, does it ring a bell, any idea where?

(I already tried searching Foundation pages, grepping doc and src =E2=80=A6)

TIA

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263322-9-XW61quBdqJ>