
Legal:
This document is copyright © 2005 Jim Brooks.
Permission to copy, distribute, link, and reformat is given on condition that authorship is indicated.
These are my notes from building the FreeBSD 4.x kernel.
- In case the new kernel fails, make a copy of /modules/* and /kernel. - rm -rf /usr/src/sys/i386/compile/MYKERNCONF - mkdir -p /usr/src/sys/compile/MYKERNCONF - cd /usr/src/sys/i386/conf - cp GENERIC MYKERNCONF Edit MYKERNCONF. - /usr/sbin/config MYKERNCONF You should see: "Don't forget to do a ``make depend''" "Kernel build directory is ../../compile/MYKERNCONF" - cd ../../compile/MYKERNCONF - make depend - make - make install - rm -rf /usr/src/sys/compile (optional cleanup)