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.
Boot in Single-User Mode or Simply to Command Prompt.
Login as Superuser:
su
Install the Kernel Extension Package:
pkg install subversion compat6x-amd64
FreeBSD 10 Getting Started Searching and Installing Packages
Install a Custom Kernel with Extensions.
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…
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
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 completedLastly Install the New Kernel.
make installkernel KERNCONF=MYKERNEL
Thanks to: www.bsdnow.tv.