I've copied a GENERIC configuration file located in /usr/src/sys/i386/conf, changed its name to MYKERNEL, modified it, paarticulary deleted RAID, fire wire and floppy disc support. Then ran cd /usr/src make buildkernel KERNCONF=MYKERNEL

the build succeeded, but when I checked in /boot/kernel the size of the kernel remained the same as in kernel.old. what did I do wrong? How can I reduce the kernel size?

有帮助吗?

解决方案

Running make buildkernel only builds the kernel and modules. It doesn't install them.

To do that you also need to run make installkernel.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top