14.4 not booting new kernel

I build a new kernel (manually) and it's installed in /boot/kernel and it continues to boot generic. I've verified that my new kernel with a different ident it in /boot/kernel. What has changed since 14.1?

Also in /etc/src.conf I have

WITHOUT_REPRODUCIBLE_BUILD="yes"

and uname is still showing:

FreeBSD dev144 14.4-RELEASE FreeBSD 14.4-RELEASE releng/14.4-n273675-a456f852d145 GENERIC amd64

Why are they torturing me?
 
Could you please post your kernel config?

and uname is still showing:

FreeBSD dev144 14.4-RELEASE FreeBSD 14.4-RELEASE releng/14.4-n273675-a456f852d145 GENERIC amd64
I believe it shows GENERIC because according to the title of your post, your new kernel refuses to boot (I don't know what it means exactly), and thus, if you managed to boot in and check the system version, it means that you're running a GENERIC.
 
Also (just in case): can you be sure that your kernel is indeed installed in /boot/kernel?

Try this: strings /boot/kernel/kernel |grep -E '^ident'
 
The correct kernel is in /boot/kernel

loader.conf is empty.

# sysctl kern.bootfile
kern.bootfile: /boot/kernel.generic/kernel

I renamed the original kernel to kernel.generic and it's booting that kernel, but I never specified this anywhere. After posting this I renamed it again to something else, then it booted my kernel in /boot/kernel, which is the setting in /etc/loader.conf

I just don't know how it found /boot/kernel.generic? I merely did this

rename /boot/kernel to /boot/kernel.generic
install new kernel
reboot
 
Back
Top