recompile the kernel

naroz at gmx.net naroz at gmx.net
Wed Apr 9 06:43:52 PDT 2003


On 2003-04-09 03:55, sapa sapa <sapa2ler at 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 at 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 at 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!



More information about the freebsd-questions mailing list