Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2001 01:24:52 -0700
From:      "Chris Rocco" <rocco@earthlink.net>
To:        <doc@FreeBSD.org>
Subject:   Building a new Kernel
Message-ID:  <000c01c156e5$33390940$4163cd18@co>

next in thread | raw e-mail | index | archive | help
Doc,

I am new to FreeBSD and was previously only a UNIX user, not an admin. I
read over the section in the handbook about building a new kernel and
had a problem with the example=85

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-b
uilding.html

Here is the procedure that I was trying to follow:

Procedure 1. Building a kernel the ``traditional'' way
1. Run config(8) to generate the kernel source code.
2.     # /usr/sbin/config MYKERNEL
3. Change in to the build directory.
4.     # cd ../../compile/MYKERNEL
5. Compile the kernel.
6.     # make depend
7.     # make
8. Install the new kernel.
9.     # make install


As it turned out, I needed to be in /usr/sbin/sys/i386/conf to start
with, but I didn't see that listed anywhere.  I first tried to follow
Procedure 2, but that didn't work at all, so I tried #1 and once I got
it to start working I never looked back at #2.

(I even tried to use the whole path to MYKERNEL when I was in the wrong
directory, wondering how config was supposed to find the config file,
but that didn't work either.)

Just wanted to pass that along. Thanks for your help. :)

Chris

=A0
-------------------------------------
Chris Rocco
rocco@earthlink.net



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01c156e5$33390940$4163cd18>