*BSD News Article 62501


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!oleane!jussieu.fr!univ-lyon1.fr!ensta!itesec!sidhe.frmug.fr.net!not-for-mail
From: roberto@keltia.freenix.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Compiling Custom Kernel (Newbie)
Date: 19 Feb 1996 13:47:09 GMT
Organization: Herve Schauer Consultants
Lines: 27
Message-ID: <4g9v0u$k7o@sidhe.hsc-sec.fr>
References: <4g8jn9$ekp@murphy.servtech.com>
NNTP-Posting-Host: sidhe.hsc-sec.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <4g8jn9$ekp@murphy.servtech.com>,
James Housley <housley@pr-comm.com> wrote:
> I have read the on-line hand book on configuring a custom kernel.  I have 
> installed all of the sources.  Where is the documentation on how to compile 
> and install the new kernel?

If you really have read the on-line handbook, then you already have all the
informations you need. 

5.2. Building and Installing a Custom Kernel

First,  let  us  take  a quick tour    of the kernel   build directory. All
directories mentioned will be relative  to the main /usr/src/sys directory,
which is also accessible through /sys. There are a number of subdirectories
here representing  different parts of the  kernel, but the  most important,
for  our purposes, are  i386/conf, where you   will edit your custom kernel
configuration, and compile,  which  is the staging  area  where your kernel
will be built. Notice the logical organization of  the directory tree, with
each   supported   device,   filesystem,   and     option  in    its    own
subdirectory.   Also,  anything inside  the i386   directory deals  with PC
hardware only, while everything outside the i386 directory is common to all
platforms which FreeBSD could potentially be ported to.

The same information can be found in the FAQ too.
-- 
Ollivier ROBERT  -=-=-  FreeBSD 2.x FAQ maintainer -=-=-  roberto@freebsd.org
-=-=-=-=-=- Support The Free UNIX Systems !  FreeBSD Linux NetBSD -=-=-=-=-=-