Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 1999 20:12:59 -0400 (EDT)
From:      Alfred Perlstein <bright@rush.net>
To:        Guenther Schmidt <guenther.schmidt@worldcity.nl>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Kernel customization
Message-ID:  <Pine.BSF.3.96.990804200718.20420J-100000@cygnus.rush.net>
In-Reply-To: <37A8D0DF.FF44210B@worldcity.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Aug 1999, Guenther Schmidt wrote:

> I'm just having my second go on FreeBSD (version 3.2 this time) and I
> wanted to reconfigure the kernel. According to the handbook I just! have
> to edit the .config (subsection arch), the easy way.
> 
> It's taking the piss that is!
> 
> 
> Isn't there a realy easy way (like make menuconfig under Linux) to do
> so?
> 
> Thanks upfront for any replies!

urm, interesting analogy, however you must have mis-read something.

the proper way to reconfigure and build a kernel is this set of steps:

become root
-- get the kernel source unpacked into /usr/src/sys
cd /usr/src/sys/i386/conf
cp GENERIC MYKERN
vi MYKERN
-- look at the LINT file in the same directory for additional options
-- add/remove options from MYKERN
-- exit vi
config MYKERN
cd ../../compile/MYKERN
make depend && make all && make install
-- providing the above commands work...
reboot
-- wait for system to come back up, if it doesn't choose kernel.GENERIC
 -- at the bootloader

lines prefixed with '--' are pseudo steps.  lines that aren't
are actual commands to run.

it's really not that bad. :)

-Alfred Perlstein - [bright@rush.net|bright@wintelcom.net] 
systems administrator and programmer
    Wintelcom - http://www.wintelcom.net/



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990804200718.20420J-100000>