How to Install A Custom Kernel With Extensions on FreeBSD 10

February 3, 2014 | By the+gnu+linux+evangelist.

FreeBSD 10 Installing Custom Kernel Guide

Hi! This Short Guide shows you Step-by-step How to Recompile and Install a FreeBSD 10 Custom Kernel with a Kernel Extension.

The Kernel Extension Installed in this Tutorial is also the Prerequisite for VMware Tools Installation over Unix FreeBSD 10 Guest.

FreeBSD 10 amd64 How to Install a Custom Kernel - Featured
  1. Boot in Single-User Mode or Simply to Command Prompt.

  2. Login as Superuser:

  3. Install the Kernel Extension Package:

    pkg install subversion compat6x-amd64

    FreeBSD 10 Getting Started Searching and Installing Packages

    FreeBSD 10 pkg Quick Start
  4. Install a Custom Kernel with Extensions.

    1. Download the FreeBSD 10 Distribution Sources.

      svn co /usr/src

      Here Take a Break Because you need to Wait for a Long Wile

    2. Make a New Kernel Configuration File.

      cd /usr/src/sys/amd64/conf

      If Do Not Know How to Proceed then you should Simply use the Default Config File:

    3. Build a Custom Kernel.

      cd /usr/src
      make -j `sysctl -n hw.ncpu` buildworld

      Here Take another Time-Out Waiting for a Wile

      make -j `sysctl -n hw.ncpu` buildkernel KERNCONF=MYKERNEL

      Last Keep Patient and Still Wait Again for a While until the Process is Achieved with:

      Kernel build for MYKERNEL completed
    4. Lastly Install the New Kernel.

      make installkernel KERNCONF=MYKERNEL
  5. Thanks to:

QuickChic Theme • Powered by WordPress