newbie upgrading question
Stephen Bernard
sbernard at gmu.edu
Wed May 26 12:44:11 PDT 2004
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 at mantech-wva.com
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at 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
--------------------------------- //
More information about the freebsd-stable
mailing list