Re: How to upgrade a 15.0 pkgbase system to 15.1?

Mark Millard <[email protected]> Tue, 16 Jun 2026 08:36:22 -0700
Newsgroups gmane.os.freebsd.stable
Message-ID <[email protected]>
On 6/16/26 04:24, Lexi Winter wrote:
> Patrick M. Hausen wrote in <[email protected]>:
>> I looked for the answer in the announcement and in the release notes
>> without success. Would someone be so kind to enlighten me?
> 
> https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg

[These are general notes. I'm not in need of help for my context.]

Step 1 is very ZFS specific, without mentioning that it would not apply
to UFS contexts.

QUOTE
bectl create -r pre-15.1
END QUOTE


Also, the -r may not be appropriate to all configurations.


Step 4 ("pkg upgrade -r FreeBSD-ports-kmods") has the
(potential/temporary?) issue that
https://people.freebsd.org/~dbaio/pkg-master-report.html shows no
updates after 2026-May-21.

I expect that means that the FreeBSD os 15.1-RELEASE ones are not in
place yet.


Step 6 ("sysctl machdep.bootmethod") can have the issue:

# sysctl machdep.bootmethod
sysctl: unknown oid 'machdep.bootmethod'

In that case because of it being aarch64.


I only mention UEFI boot loading below, as I have no examples of BIOS
boot loading . . .

Step 7 ("efibootmgr -v" as a start):

Can have the likes of:

# efibootmgr -v
BootCurrent: 0000

That is from a Windows Dev Kit 2023.

On a RPi5 booted via a draft/partial EDK2:

# efibootmgr -v
. . .
+Boot0002* UEFI Timetec 35TTTN2242GE3P-1TB REDACTED 1
       dp:
PcieRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/NVMe(0x1,62-82-62-54-17-4c-e0-00)
    opt/x: 0000: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
    opt/a: N%ac%08%81%11%9fYM%85%0e%e2%1aR,Y%b2
     attr: 0x1<ACTIVE,>
    categ: 0<BOOT>
. . .

(No file path displayed for the FreeBSD efi loader used.) Another one
USB booted is similar:

+Boot0002* UEFI JMicron TREBLEET REDACTED
       dp:
VenHw(0d51905b-b77e-452a-a2c0-eca0cc8d514a,000030001f00000000)/USB(0x2,0x0)
    opt/x: 0000: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
    opt/a: N%ac%08%81%11%9fYM%85%0e%e2%1aR,Y%b2
     attr: 0x1<ACTIVE,>
    categ: 0<BOOT>


-- 
===
Mark Millard
marklmi at yahoo.com