The kernel that is installed by default matches the file /usr/src/sys/i386/conf/GENERIC. This is a kernel configuration file that describes what needs to be added to the kernel during compilation.
Note: DragonFly currently only is supported on the x86 family of processors, which is why 'i386' is used in the filepath for the kernel configuration files. Kernel configurations for other processor architectures reside in a different, appropriate directory such as 'amd64'.
It is easiest to duplicate the GENERIC file and modify that new file with any desired kernel changes.
# cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL
Note: Back up this new config file. While it's neccessary for it (or a link) to reside in /usr/src/sys/i386/conf/, files under /usr/src may be removed or changed, accidentally losing this work.
Contact the Documentation Team for comments, suggestions and questions about this document.