Project

General

Profile

Feature #811

Compile a Custom Kernel for VIMAGE Support on FreeBSD

Added by Daniel Curtis over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
05/15/2016
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:

Description

This is a guide on how I compiled VIMAGE support into a custom FreeBSD 10.2 kernel.

Download the kernel sources

  • Install subversion:
    pkg install subversion
    
  • Download the FreeBSD 10.2 kernel sources
    svn checkout http://svn.freebsd.org/base/release/10.2.0/ /usr/src
    

Create a custom kernel config

  • Change into the kernel source directory and create a new kernel
    cd /usr/src/sys/amd64/conf
    cp GENERIC NEWKERNEL
    
  • Edit the new kernel config file:
    vi NEWKERNEL
    
    • And add the following:
      options         VIMAGE
      options         RACCT
      options         RCTL
      

Build and install the new kernel

  • Change to the kernel source directory, then build and install the new kernel:
    cd /usr/src
    make buildkernel KERNCONF=NEWKERNEL
    make installkernel KERNCONF=NEWKERNEL
    

    NOTE: This process took about 2 hours on the VM I used.

Resources

#1

Updated by Daniel Curtis over 8 years ago

  • Start date changed from 05/14/2016 to 05/15/2016
#2

Updated by Daniel Curtis over 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30
#3

Updated by Daniel Curtis over 8 years ago

  • Description updated (diff)
  • Status changed from In Progress to Resolved
  • % Done changed from 30 to 100
#4

Updated by Daniel Curtis over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF