Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 05-16-2005, 04:36 PM   #1
LQ Newbie
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 16

Rep: Reputation: 0
How to upgrade FreeBSD 5.1 to latest stable?


Could someone guide me on how I could upgrade a FreeBSD Release 5.1 system to latest release?

Some Linux distros like Debian have apt-get but FreeBSD is different so I was wondering if someone could help this bsd newb
Old 05-16-2005, 06:56 PM   #2
Clark Bent
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
Sure. Just sync your sources.

What I do is create a ports-supfile for syncing my OS sources. I call it ports-supfile.os. You can cut and past this if you want to:

*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_4
*default delete use-rel-suffix
# If you seem to be limited by CPU rather than network or disk bandwidth, try
# commenting out the following line. (Normally, today's CPUs are fast enough
# that you want to run compression.)
*default compress
## Main Source Tree.
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection. It includes all of the individual "src-*" collections.
# Please note: If you want to track -STABLE, leave this uncommented.

Now save the file. Then

cvsup -g -L 2 ports-supfile.os

It will download the newest sources for you. Then in this order:

# make buildworld
# make buildkernel
# make installkernel
# reboot

You'll need to recompile your kernel, which this will do for you. But these steps will re-compile a GENERIC kernel. Which most likely does not include support for like example...your sound card. I always have to go back in and edit GENERIC and re-compile with optoins in for my sound card.

Good luck.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Found major bug in latest stable kernel (2.6.10 and 2.6.9 too) but nobody cares? jago25_98 Linux - Software 2 01-11-2005 02:05 PM
FreeBSD 4.10-STABLE vs. 5.2.1-CURRENT entob *BSD 3 09-01-2004 03:30 PM
how can i upgrade my squid 2.5 stable 1 to stable 3 in RH9? debloxie Linux - Networking 0 05-12-2004 08:49 PM
how can i upgrade my squid 2.5 stable 1 to stable 3 in RH9? debloxie Linux - Networking 0 05-12-2004 11:25 AM
Latest Stable Kernel N_A_J_M Linux - Software 2 08-20-2002 06:12 PM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration