So I upgraded one of my systems from 12.2-RELEASE to 13.0-RELEASE doing the standard procedure like always. After doing the first 'freebsd-update install' command to install the kernel, and rebooting after that, the system comes up with the new kernel, 13.0-RELEASE. When running freebsd-update install again to upgrade the rest of the system I get:
Code:
root@server:~ # /usr/sbin/freebsd-update install
src component not installed, skipped
Cannot identify running kernel
root@server:~ #
So obviously, it's having a problem determining the current running kernel. doing a sysctl -n kern.bootfile returns /boot/kernel/kernel
all of that seems normal. I go look in the root file system and find.. no boot directory. what the heck?
the system was installed with 12.x via the auto-zfs system from the installer, so it created the zfs structure for the system.
the system shows the usual bootfs as i've always seen it for zfs root systems as:
Code:
root@server:~ # zpool get bootfs zroot
NAME PROPERTY VALUE SOURCE
zroot bootfs zroot/ROOT/default local
root@server:~ #
It can't find the kernel, but yet it loaded it AND it loaded modules (including zfs.ko), but yet the system can't locate them anywhere. So now i'm stuck between a halfway upgraded system where the kernel is 13, the userland is 12.2, and I can't get freebsd-update to upgrade the userland to 13 because it won't see it. I tried running with the --currently-running 13.0-RELEASE option and it still won't run.
So far, for me, 13.0-RELEASE isn't starting off well. Does anyone have any ideas on how to fix this messed up scenario? I'm afraid of doing a rollback because I don't know what it will (or won't) do.