Legal (copyleft): Permission to copy and derive is granted freely. No guarantees. Use at your own risk. Document created in 2005.
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)