After upgrading to 14.2 ssh dont works

Your system is booting with a 12.2-RELEASE-p14 kernel with a 14.1-RELEASE userland (output order of freebsd-version(8) is installed kernel, running kernel, then userland). Find out why it's loading the old kernel because that's the source of your problems.

Code:
     If several of the above options are specified, freebsd-version will print
     the installed kernel version first, then the running kernel version, next
     the userland version, and finally the userland version of the specified
     jails, on separate lines.


The upgrade itself seems to have finished (first install updates the kernel, second install updates userland). But for some reason your system keeps loading the old 12.2 kernel instead of the 14.1 kernel. Is this perhaps an encrypted setup? If I recall correctly the old way was to boot from a separate boot pool that only contains the kernel. I'm betting that boot kernel wasn't mounted, and thus never updated and still contains the old 12.2 kernel.
 
Because as new releases were released, I consistently upgraded from version 12 to 13 to 14.I don't know why the kernel of release 12 reached 14 but everything worked correctly until the upgrade to 14.2

Moreover, last upgrade damaged the partition table of the hard drive so much that I couldn’t install a new system on it until I did the following operation :
run EndeavourOS live from a flash drive and from there
dd if=/dev/zero of=/dev/sda
After I intalled freebsd 12.2 from memstick.I did it with all necessary settings rinetd.conf, rc.conf, rules ipfw , unbound local in 50 minutes :D
 
I remembered what happened with the 12th release on this hard drive. I upgraded from 12.0 to 12.1 but forgot to do a pkg upgrade first and only did a freebsd-update fetch and something broke in the system and we spent a long time restoring it with the help of the forum. Maybe that's the reason. But there were no problems with 12 to 13 and 13 to 14. Or maybe because on some upgrade there were so many markers in many files that I deleted them for about half an hour.Or maybe because of the removal of these markers before the release names, the release number is displayed incorrectly. Maybe the release is actually 14.1 and is displayed as 12.2
 
Maybe the release is actually 14.1 and is displayed as 12.2
No, the version is baked into the kernel itself. freebsd-version(8) checks the same value as uname(1) (running kernel version), but it also reads the whole kernel file itself and searches for the version string (installed kernel version). For some reason your kernel never seem to have been upgraded, and it kept loading the 'old' 12.2 kernel.

Would have been interesting to find out what exactly happened (and how) but that won't be possible anymore after you reinstalled.
 
Back
Top