Hello everyone,
I was trying to run
However,
and
So there definitely is a kernel and FreeBSD can find it.
I dug a little deeper and found that
When I ran the command on my two struggling VMs, it returned the following:
On another working VM, it returned the following instead:
I was able to correct this by running
I also checked the template VM I cloned the two struggling VMs from, and there exists the same problem.
This VM was originally 13.1-RELEASE and was manually updated to 13.1-RELEASE-p1, 13.1-RELEASE-p2, 13.1-RELEASE-p3 and so on.
Now my question would be how did this happen in the first place and how I can stop this from occurring in the future?
And is this incident something where writing a Bug report would make sense (if this is a bug at all)?
Cheers
I was trying to run
freebsd-update fetch
on two of my FreeBSD 13.1-RELEASE VMs but it wouldn't work, only telling me that it "Cannot identify running kernel".However,
freebsd-version -ur
would return:
Code:
13.1-RELEASE-p3
13.1-RELEASE-p5
and
uname -a
would return:
Code:
FreeBSD localhost 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64
So there definitely is a kernel and FreeBSD can find it.
I dug a little deeper and found that
freebsd-update
checks the location of the kernel with the command sysctl -n kern.bootfile
(https://reviews.freebsd.org/D21892).When I ran the command on my two struggling VMs, it returned the following:
Code:
/boot/kernel/INS@sRpPOI
On another working VM, it returned the following instead:
Code:
/boot/kernel/kernel
I was able to correct this by running
sysctl kern.bootfile=/boot/kernel/kernel
, after that I was again able to run freebsd-update fetch
like normal.I also checked the template VM I cloned the two struggling VMs from, and there exists the same problem.
This VM was originally 13.1-RELEASE and was manually updated to 13.1-RELEASE-p1, 13.1-RELEASE-p2, 13.1-RELEASE-p3 and so on.
Now my question would be how did this happen in the first place and how I can stop this from occurring in the future?
And is this incident something where writing a Bug report would make sense (if this is a bug at all)?
Cheers
