FreeBSD 9 How to Compile A Custom/New Kernel
April 1, 2012 | By Regaz.
- Open a Terminal Window
(Press “Enter” to Execute Commands) - Login as SuperUser
su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
- Download and Install the Distribution Sources
svn checkout svn://svn.freebsd.org/base/releng/9.0//usr/src
Here you need to Wait for a Wile until the Process is Completed.
- Make a New Kernel Configuration File
cd /usr/src/sys/i386/conf
cp GENERIC MYKERNEL
- Build the Custom Kernel
cd /usr/src
make buildkernel KERNCONF=MYKERNEL
Be Patient and Wait until the Process is Achieved.
- Install the New Kernel
make installkernel KERNCONF=MYKERNEL