freebsd-update(8) and custom kernels

Aram Hăvărneanu aram.h at mgk.ro
Tue Nov 6 18:57:34 UTC 2018


> I have used this procedure for upgrading several times now (most
> recently from 11.1 to 11.2 - and that box started on 9.<something> so
> it's been through two major version upgrades). There's an extra
> freebsd-update install after the reboot but other than that it's fine IME,
> YMMV of course.

I still don't understand how this works. To build the new kernel
for a newer RELEASE you need both the new binaries (which require
the new kernel to boot first), and the new sources (which don't
require anything).

I assume you run freebsd-update first (which overwrites your kernel
with the GENERIC one), then run freebsd-update after you have booted
GENERIC (this will install new binaries, and I assume new sources),
then recompile and reinstall your custom kernel, and then reboot
again?

If I guessed correctly you need an extra reboot step, and you need
to boot at least once with a GENERIC kernel.

Did I understand you correctly?

-- 
Aram Hăvărneanu


More information about the freebsd-questions mailing list