Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2003 15:43:49 +0200 (MEST)
From:      naroz@gmx.net
To:        freebsd-questions@freebsd.org
Subject:   Re: recompile the kernel
Message-ID:  <26318.1049895829@www33.gmx.net>

next in thread | raw e-mail | index | archive | help
On 2003-04-09 03:55, sapa sapa <sapa2ler@yahoo.com> wrote:
>
> Hi, please help me with instruction on how to recompile the kernel for 
> FreeBSD 5.0 Thank You.


CVS update + recompile kernel (fbsd 5.0) quick n dirty:

///--->run this 2 steps simultaneously if you have a dsl or better
connection!

<-----------------------------get the
source------------------------------------->
#sh
#cd /usr
#setenv CVSROOT :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs
#cvs login
--->cvs pass: anoncvs
#cvs -z3 checkout -rRELENG_5_0 src

<-----------------------------get the
ports--------------------------------------->
///--->on second shell:
#cd /usr
#setenv CVSROOT :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs
#cvs login
--->cvs pass: anoncvs
#cvs -z3 checkout ports


///--->when downloads
finished:

<-----------------------------buidworld----------------------------------------->

#cd /usr/obj
#chflags -R noschg *
#rm -rf *

#cd /usr/src
#make buildworld


<-----------------------------edit kernel
config-------------------------------->
///--->only if you want and know how...
#/usr/src/sys/i386/conf/GENERIC


<-----------------------------build
kernel--------------------------------------->
#cd /usr/src
#make buildkernel

<-----------------------------install world,
kernel------------------------------>
#cd /usr/src
#make installworld

///---> when done continue with:

#make installkernel

<-----------------------------check /etc...
------------------------------------->
///--->only if you want and know how...
#mergemaster


///--->good idea to reboot here.


good luck.

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26318.1049895829>