Freebsd-update with nomadbsd kernel

I installed the latest nomadbsd-130R-20210508.amd64.img image to disk, and I decided to update FreeBSD in case it would resolve some issues. The utility printed a NomadBSD kernel error:

WARNING: This system is running a "nomadbsd" kernel, which is not a
kernel configuration distributed as part of FreeBSD 13.0-RELEASE.
This kernel will not be updated: you MUST update the kernel manually
before running "/usr/sbin/freebsd-update install".

In the below page, the advise is to ignore the custom kernel and continue:

I have tried “Yes” but then it fails to find mirrors with 13.0-RELEASE-p3. I’m including the full output of the attempted freebsd-update for your reference.

Is there a way to upgrade the kernel easily, or should I leave this is a project for when I have more time?

nnn:/home/mario% uname -a
FreeBSD nnn.lkjlkj.net 13.0-RELEASE FreeBSD 13.0-RELEASE #0: Tue May  4 21:43:29 UTC 2021     root@NomadBSD:/usr/obj/usr/src/amd64.amd64/sys/NOMADBSD  amd64

nnn:/home/mario% freebsd-update upgrade -r 13.0-RELEASE-p3
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 13.0-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata files... done.
Inspecting system... done.

WARNING: This system is running a "nomadbsd" kernel, which is not a
kernel configuration distributed as part of FreeBSD 13.0-RELEASE.
This kernel will not be updated: you MUST update the kernel manually
before running "/usr/sbin/freebsd-update install".

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 13.0-RELEASE-p3 from update1.freebsd.org... failed.
Fetching metadata signature for 13.0-RELEASE-p3 from update2.freebsd.org... failed.
No mirrors remaining, giving up.

This may be because upgrading from this platform (amd64)
or release (13.0-RELEASE-p3) is unsupported by freebsd-update. Only
platforms with Tier 1 support can be upgraded by freebsd-update.
See https://www.freebsd.org/platforms/index.html for more info.

If unsupported, FreeBSD must be upgraded by source.
nnn:/home/mario% 

Hello mario,
on a freshly installed NomadBSD 130R-20210508 I had no problem updating.
Maybe try this more generic command version …?

nomad@NomadBSD ~> sudo freebsd-update fetch install
Password:
src component not installed, skipped
Looking up update.FreeBSD.org mirrors… 2 mirrors found.
Fetching metadata signature for 13.0-RELEASE from update1.freebsd.org… done.
Fetching metadata index… done.
Fetching 2 metadata patches… done.
Applying metadata patches… done.
Inspecting system… done.
Preparing to download files… done.
Fetching 6 patches… done.
Applying patches… done.
Fetching 15 files… …10… done.
The following files will be added as part of updating to
13.0-RELEASE-p3:
/usr/include/c++/v1/barrier
/usr/include/c++/v1/concepts
/usr/include/c++/v1/execution
/usr/include/c++/v1/latch
/usr/include/c++/v1/numbers
/usr/include/c++/v1/semaphore
/usr/include/c++/v1/tr1/barrier
/usr/include/c++/v1/tr1/concepts
/usr/include/c++/v1/tr1/execution
/usr/include/c++/v1/tr1/latch
/usr/include/c++/v1/tr1/numbers
/usr/include/c++/v1/tr1/semaphore
The following files will be updated as part of updating to
13.0-RELEASE-p3:
/bin/freebsd-version
/boot/kernel/if_vlan.ko
/boot/kernel/ipdivert.ko
/boot/kernel/ipfw.ko
/boot/kernel/kernel
/boot/kernel/linux.ko
/boot/kernel/linux64.ko
/boot/kernel/mpt.ko
/boot/kernel/pmspcv.ko
/boot/kernel/virtio_pci.ko
/lib/libcasper.so.1
/usr/bin/bc
/usr/bin/dc
/usr/lib/libradius.a
/usr/lib/libradius.so.4
/usr/lib/libradius_p.a
Installing updates…Scanning //usr/share/certs/blacklisted for certificates…
Scanning //usr/share/certs/trusted for certificates…
Scanning //usr/local/share/certs for certificates…
done.
nomad@NomadBSD ~>

Thank you - I did see that elsewhere, but I don’t like to mix operations. The update finished for me as well.

1 Like