gpart: warning (was: Unable to boot from internal hard disks on new PC)

From: Graham Perrin <grahamperrin_at_freebsd.org>
Date: Tue, 27 Dec 2022 13:04:10 UTC
On 27/12/2022 11:08, Johannes-Maria Kaltenbach wrote:

> … FreeBSD-13.1-RELEASE-amd64-memstick.img …

> ada0p1 freebsd-boot (512k)
> ada0p2 efi (100m)
> ada0p3 freebsd-swap (32g)
> ada0p4 freebsd-ufs (200g, 13.1 base system)
> (and further partitions for var, tmp, poudriere, home; still unused)
>
> and I  tried the following
>
> gpart bootcode -b /boot/pmbr ada0
> gpart bootcode -p /boot/gptboot -i 1 ada0
>
> …


From <https://www.freebsd.org/releases/13.0R/relnotes/#boot>, with added 
emphasis:

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