wblock@
Developer
carlton_draught said:Just curious... something I was wondering about when I was reading the handbook, why is it really necessary or desirable to edit the kernel config to your specifications? If hardware changes or something like that, wouldn't it get you into trouble? I would prefer to have something generic as possible to minimize opportunities for errors to crop up.
Building a custom kernel lets you remove devices you'll never use, or set options that can only be built into a kernel. It's not a huge risk, since most modules can be loaded at runtime if you unexpectedly need them.
# cd /usr/src
# make clean && make buildworld && make buildkernel && make installkernel && make clean
That's a shortened version of the normal update procedure, which includes a reboot after installing the new kernel to make sure it works. A reboot after that is needed to load the new world, too.