Chapter 9. Configuring the FreeBSD Kernel
Prev | Part II. Common Tasks | Next

## Chapter 9. Configuring the FreeBSD Kernel

Updated and restructured by Jim Mock.
Originally contributed by Jake Hamby.

## 9.1. Synopsis

The kernel is the core of the FreeBSD operating system. It is responsible for managing memory, enforcing security controls, networking, disk access, and much more. While much of FreeBSD is dynamically configurable, it is still occasionally necessary to configure and compile a custom kernel.

After reading this chapter, you will know:

- When to build a custom kernel.

- How to customize a kernel configuration file.

- How to use the kernel configuration file to create and build a new kernel.

- How to install the new kernel.

- How to troubleshoot if things go wrong.

All of the commands listed in the examples in this chapter should be executed as `root`.

Prev | Up | Next
8.7. Image Scanners | Home | 9.2. Why Build a Custom Kernel?

All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/

Questions that are not answered by the documentation may be sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.