How to Install a Custom Kernel with Extensions on FreeBSD 10

February 3, 2014 | By the+gnu+linux+evangelist | Filed in: Tutorial.

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 64-bit How to Install a Custom Kernel with Extensions Easy Guide
  1. Boot in Single-User Mode or Simply to Command Prompt.

  2. Login as Superuser:

    su 
  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 https://svn0.us-west.freebsd.org/base/stable/10 /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:

      cp GENERIC MYKERNEL
    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: www.bsdnow.tv.


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress