FreeBSD 9 How to Compile A Custom/New Kernel

April 1, 2012 | By Regaz.
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!
Incandescent FreeBSD
  1. Open a Terminal Window
    (Press “Enter” to Execute Commands)
  2. Login as SuperUser

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  3. Download and Install the Distribution Sources
    svn checkout svn://

    Here you need to Wait for a Wile until the Process is Completed.

  4. Make a New Kernel Configuration File
    cd /usr/src/sys/i386/conf
  5. Build the Custom Kernel
    cd /usr/src
    make buildkernel KERNCONF=MYKERNEL

    Be Patient and Wait until the Process is Achieved.

  6. Install the New Kernel
    make installkernel KERNCONF=MYKERNEL

QuickChic Theme • Powered by WordPress