This short Guide will Show you the Condensed Commands to Compile a Custom Kernel on FreeBSD 9.
Here is the List of Steps and Commands Involved in the Process of a New Kernel Creation.
Running a Custom Kernel has Several Advantages in Performances and Functionality over a Generic one… And is Essential for Installing the VMware Tools for FreeBSD9!
- 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