Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 14:55:42 -0400
From:      Stephen Bernard <sbernard@gmu.edu>
To:        Brian Smith <smitho@mantech-wva.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: newbie upgrading question
Message-ID:  <40B4E82E.6080003@gmu.edu>
In-Reply-To: <FLEJKNBKECDIECDJMFGPCEGGCDAA.smitho@mantech-wva.com>
References:  <FLEJKNBKECDIECDJMFGPCEGGCDAA.smitho@mantech-wva.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Smith wrote:
> Hi all,
> 
> I have been working with FreeBSD for about a month now, and it is my first
> foray into the BSD/UNIX/Linux world.  I have a question about upgrading.  I
> have tried several different ways to go about upgrading, and still can't
> seem to get the desired results.  I started out with a 4.8 install from
> ftp.freebsd.org.  My end goal is to build a FreeBSD firewall machine based
> on 4.8-STABLE.  When I put RELENG_4_8 in my supfile,
> download/recompile/etc., uname -a still shows the version at 4.8-RELEASE.
> When I cvsup with RELENG_4 in my supfile, I got upgraded to 4.10-STABLE.  Is
> there any way to upgrade just to 4.8-STABLE?  Am I going about this the
> wrong way?
> 
> Thank you all so much,
> 
> Brian Smith
> Administrative Specialist/Logistics Research
> (304)466-1065 ext. 207
> smitho@mantech-wva.com
> 
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> 

Everything is in the FreeBSD Handbook or one of the plethora of web 
sites, but here's a quick synopsis ...


Make sure that your supfile has at least the following:

* Note: You should change the CVSUP server and paths to suite your 
environment. Be aware that this will download the complete source code,
ports, and documentation trees.

// ---------------------------------

*default host=cvsup16.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4_8
*default delete use-rel-suffix

src-all
ports-all
doc-all
--------------------------------- //

The following, minimal, command list should do the trick.
This does not account for any customizations or errors.

// ---------------------------------

## cd /usr/
## cvsup -g -L2 /path/to/supfile
  ... wait
## cd /usr/src
## make buildworld
  ... wait
## make buildkernel KERNCONF=/path/to/file
  ... wait
## make installkernel KERNCONF=/path/to/file
  ... wait
## reboot

--------------------------------- //

Log in and make sure that the new kernel works correctly.
Try running things like 'top', 'df', 'vmstat', etc.

// ---------------------------------

## shutdown now
## cd /usr/src
## make installworld
  ... wait
## mergemaster
  ... follow prompts
## reboot

--------------------------------- //



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