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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263322

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. 


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

* is too late in the chapter

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


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

> … To update old ESP partitions, users should stop using the gpart(8) 
> utility. Instead, …

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

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


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

    /efi/boot/bootXXX.efi


<https://lists.freebsd.org/archives/freebsd-current/2021-July/000331.html>; –
from Warner Losh, re: 'EFI boot partition overwritten' – included memorably
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

– imp@ please, does it ring a bell, any idea where?

(I already tried searching Foundation pages, grepping doc and src …)

TIA

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

home | help

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