I have been using custom kernel for quite awhile. Usually i would use this commands to compile n install the kernel.
doas make -j $(sysctl -n hw.ncpu) buildkernel KERNCONF=CKERNEL
doas make installkernel KERNCONF=CKERNEL. everything would be ok, most of the time. But recently, I have to add this command to install the kernel.
doas make -j $(nproc) buildkernel KERNCONF=CKERNEL
doas make installkernel KERNCONF=CKERNEL DESTDIR=/.
However, when i rebooted, I was not able to boot successfully into the new kernel. It will reboot into a loop.
I usually use the /usr/src directory to compile the kernel.
doas make -j $(sysctl -n hw.ncpu) buildkernel KERNCONF=CKERNEL
doas make installkernel KERNCONF=CKERNEL. everything would be ok, most of the time. But recently, I have to add this command to install the kernel.
doas make -j $(nproc) buildkernel KERNCONF=CKERNEL
doas make installkernel KERNCONF=CKERNEL DESTDIR=/.
However, when i rebooted, I was not able to boot successfully into the new kernel. It will reboot into a loop.
I usually use the /usr/src directory to compile the kernel.