This article illustrates the upgrade from FreeBSD 14.1 to FreeBSD 14.2
Take a full backup or create a snapshot before upgrading.
The whole upgrade process will take about 15-20 minutes. During this time all applications are available to the users.
uname -a FreeBSD A251128 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64 sudo freebsd-update fetch install src component not installed, skipped Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 14.1-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 14.1-RELEASE-p6. date Sat Nov 30 06:35:31 UTC 2024 sudo freebsd-update upgrade -r 14.2-RELEASE src component not installed, skipped Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 14.1-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic world/base The following components of FreeBSD do not seem to be installed: kernel/generic-dbg world/base-dbg world/lib32 world/lib32-dbg Does this look reasonable (y/n)? y Fetching metadata signature for 14.2-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system...done. Preparing to download files... Fetching 2763 patches.....10....20....30....2730....2740....2750....2760. done. Applying patches... Fetching 29 files... ....10....20.... done. The following files are affected by updates. No changes have been downloaded, however, because the files have been modified locally: /var/db/locate.database The following files will be removed as part of updating to 14.2-RELEASE-p0: /usr/lib/ossl-modules/fips.so /usr/share/examples/sound/README /usr/share/examples/sound/basic.c /usr/share/examples/sound/ossinit.h /usr/share/examples/sound/ossmidi.h /usr/share/man/man9/ifaddr_byindex.9.gz /var/db/etcupdate/log The following files will be added as part of updating to 14.2-RELEASE-p0: /boot/kernel/bnxt_re.ko /boot/kernel/gpioaei.ko /boot/kernel/if_rtw89.ko /boot/kernel/linuxkpi_video.ko /boot/kernel/mac_do.ko /boot/kernel/snd_dummy.ko /etc/devd/autofs.conf /usr/bin/mdo ... The following files will be updated as part of updating to 14.2-RELEASE-p0: /bin/[ /bin/cat /bin/chflags /bin/chio /bin/chmod /bin/cp ... To install the downloaded upgrades, run 'freebsd-update [options] install'. sudo /usr/sbin/freebsd-update install src component not installed, skipped Creating snapshot of existing boot environment... done. Installing updates... Kernel updates have been installed. Please reboot and run 'freebsd-update [options] install' again to finish installing updates. sudo shutdown -r now Shutdown NOW! shutdown: [pid 54] *** FINAL System shutdown message from xyz@A251128 *** System going down IMMEDIATELY sudo /usr/sbin/freebsd-update install src component not installed, skipped Creating snapshot of existing boot environment... done. Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 825. Performing sanity check on sshd configuration. Starting sshd. Scanning /usr/share/certs/untrusted for certificates... Scanning /usr/share/certs/trusted for certificates... done. uname -a FreeBSD A251128 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64 date Sat Nov 30 06:50:51 UTC 2024 sudo freebsd-update fetch src component not installed, skipped 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 2 metadata patches.. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 14.2-RELEASE-p0. sudo pkg update && sudo pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking for upgrades (0 candidates): 100% Processing candidates (0 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date.
df -k sudo find /var/db/freebsd-update/files -type f -mtime +10d -delete df -k zfs list
Published: Dec. 18, 2024
The information on this page is user generated content. The content does not claim to be complete or correct.
Everybody is invited to add or change the data. Just click on this link. No login or email is required. Thanks.