Defcon-1-Logo

           [Home]    [FBSD Articles]    [Scripts Corner]    [Contribute]    [Search]    [FBSD Links]    [Files]

About Us

FreeBSD Articles
  *Hardware
  *Networking
  *Security
  *Software
  *X Windows


Files / Scripts
Newbies Corner
Tech. Talk
Tips and Tricks


FreeBSD Links

Articles in other
Languages :
  *French Articles
  *Spanish Articles

Want to Help ?
 
   Click Here

Email Users5

Search:
 

 


FreeBSD Search:


 

 

Powered-By-Apache-Logo

             Upgrading to a -stable kernel under FreeBsd

First you need to be root so:
>su

Now since ur are root cd into:
>cd /usr/share/examples/cvsup

Now, that u are in the correct dir, ee, vi, or what ever editor you like to use to:
>ee stable-supfile

In there you will see: CHANGE_THIS. Do what it says and change it to: cvsup1.freebsd.org

Well then exit saveing your work. Then do:
<FONTCOLOR=RED>cvsup stable-supfile

ok after cvsup is done, you go in to
>cd /usr/src
then... type "make world" with out the qoutes of course. that will take a long time, anyhow.


after that's done you have to recompile your kernel.
so you go into /usr/src/sys/i386/conf.
do a ls, so you can see a list of files.


anyhow you will see GENERIC and LINT and NEWCARD.
GENERIC is your kernel but you dont want to copile generic.
so what you do is.
>cp GENERIC "WHAT YOU WANT YOUR KERNEL NAME TO BE"

example: say i want my kernel name to by BLAH so what i do is
>cp GENERIC BLAH
got it?

than do a
>config KERNELNAME

example, remember when i made my kernel name be BLAH?
well i would do a "config BLAH" got it?

allright it will tell you
"Don't forget to do a "make depend"
Kernel build directory is ../../compile/BLAH
so i go there... examp. cd ../../compile/BLAH
then when im there i do a...
you can do these seperate but i do them all to gather.
make depend && make && make install


after that's done, reboot, and you will see when you login it will say 4.X STABLE. and that means you just upgraded!!

Joe joe@turk.com

Email Us

ghostrdr@defcon1.org

This site cannot be duplicated without permission

© 1998 - 2010 Defcon1, www.defcon1.org. Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.