Question

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?

Was it helpful?

Solution

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

To do that you also need to run make installkernel.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top