From owner-freebsd-stable@FreeBSD.ORG Wed May 26 12:44:11 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6015316A4CE for ; Wed, 26 May 2004 12:44:11 -0700 (PDT) Received: from mail02.gmu.edu (mail02.gmu.edu [129.174.0.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id E045143D3F for ; Wed, 26 May 2004 12:44:10 -0700 (PDT) (envelope-from sbernard@gmu.edu) Received: from gmu.edu ([129.174.241.38]) by mserver2.gmu.edu (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPA id <0HYC00M644KVU3@mserver2.gmu.edu> for freebsd-stable@freebsd.org; Wed, 26 May 2004 14:55:48 -0400 (EDT) Date: Wed, 26 May 2004 14:55:42 -0400 From: Stephen Bernard In-reply-to: To: Brian Smith Message-id: <40B4E82E.6080003@gmu.edu> Organization: George Mason University MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) References: cc: freebsd-stable@freebsd.org Subject: Re: newbie upgrading question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sbernard@gmu.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 19:44:11 -0000 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 --------------------------------- //