FreeBSD 14.3 にアップグレードする事が出来たのでメモ書きする事にしました。

作業時間

筆者の環境では、約4時間ほどで作業が完了する事が出来ました。

旧カーネル情報を確認

uname -a
FreeBSD FreeBSD 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64

アップグレード実施

①.現時点の最新のパッチを適用します。

freebsd-update fetch
freebsd-update install

②.アップグレードのコマンドを実行する。

freebsd-update upgrade -r 14.3-RELEASE

③.Does this look reasonable は Y にする。

[root@FreeBSD ~]# freebsd-update upgrade -r 14.3-RELEASE
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 14.2-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic kernel/generic-dbg src/src world/base world/lib32

The following components of FreeBSD do not seem to be installed:
world/base-dbg world/lib32-dbg

Does this look reasonable (y/n)?

④.アップグレードに必要なソフト類をダウンロードするので時間が掛かります。

Fetching metadata signature for 14.3-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 14.2-RELEASE for merging... done.
Preparing to download files... done.
Fetching 11867 patches.....10....省略....11860... done.
Applying patches... done.
Fetching 1238 files... ....10....省略....1230.... done.
Attempting to automatically merge changes in files... done.

⑤.「run ‘freebsd-update [options] install’」が表示する事を確認する。

The following files will be removed as part of updating to
14.3-RELEASE-p0:
/boot/kernel/iwlwifi-3160-17.ucode.ko
/boot/kernel/iwlwifi-3168-29.ucode.ko
/boot/kernel/iwlwifi-7260-17.ucode.ko
/boot/kernel/iwlwifi-7265-17.ucode.ko
/boot/kernel/iwlwifi-7265D-29.ucode.ko

省略

/bin/ls
/bin/mkdir
/bin/mv
/bin/nproc
/bin/pax
To install the downloaded upgrades, run 'freebsd-update [options] install'.

⑥.アップデートのコマンドを実行する。

/usr/sbin/freebsd-update install
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.

⑦.再起動する。

reboot

⑨.カーネルバージョンを確認する

uname -a
FreeBSD FreeBSD 14.3-RELEASE FreeBSD 14.3-RELEASE releng/14.3-n271432-8c9ce319fef7 GENERIC amd64

FreeBSD 14.3 と表示されている事を確認する。

⑩.再度、freebsd-update install を実行する。

⑪.アップグレード時に使用したデータを削除する。

rm -rf /var/db/freebsd-update/files