From owner-freebsd-questions@FreeBSD.ORG Tue Nov 9 01:38:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41C9816A4CE for ; Tue, 9 Nov 2004 01:38:18 +0000 (GMT) Received: from gremlin.internode.com.au (gremlin.internode.com.au [192.83.231.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8052143D46 for ; Tue, 9 Nov 2004 01:38:17 +0000 (GMT) (envelope-from adam@internode.com.au) Received: from gremlin.internode.com.au (localhost [127.0.0.1]) iA91cFHV000944; Tue, 9 Nov 2004 12:08:16 +1030 (CST) (envelope-from adam@internode.com.au) Received: (from adam@localhost) by gremlin.internode.com.au (8.13.1/8.13.1/Submit) id iA91cEt3000943; Tue, 9 Nov 2004 12:08:14 +1030 (CST) (envelope-from adam@internode.com.au) X-Authentication-Warning: gremlin.internode.com.au: adam set sender to adam@internode.com.au using -f Date: Tue, 9 Nov 2004 12:08:14 +1030 From: Adam Smith To: Curtis Vaughan Message-ID: <20041109013813.GC576@internode.com.au> References: <3E7680C2-31E9-11D9-BD44-000393934006@npc-usa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E7680C2-31E9-11D9-BD44-000393934006@npc-usa.com> X-Face: $vsV$1FNbZN\JVpjV#&+/!oVW`Kw$j?w_,te\SS}(tKD21c+l$t%\RCS(r$G; XXk]6,(!N:&(N3EV0bY`3):UrgG7'*qsj3l.75IaHV1<`i*{[L\:F*l6fH##C:-p2]xW/R-Z:!bo; 5g3GP-{I{}7O>tN}`Xm/=-:8NG?f-r'$Qc3y[aW-7'W_S<`KYU!_; `7K=kuC$-.7J2*kk=~`c@ADp+xhsv(!a@eW-R_5wtx+tC)(]%W+ User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Upgrading 5.3-Beta1 to 5.3-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 01:38:18 -0000 On Mon, Nov 08, 2004 at 04:49:42PM -0800, Curtis Vaughan said: > Just want to be sure that I do the right thing. > > So, my version at present is 5.3-BETA1 and I want to install 5.3. > I supposed I could just install 5.3 over my current version, but > wouldn't an upgrade work just as well? > > Finally, want to make sure I have the procedure right: > > ??? go to: /usr/local/etc/cvsup > ??? issue the following command: /usr/local/bin/cvsup -g -L 2 > stable-supfile > ??? once finished, then go to: /usr/src > ??? enter the commands: There are some nicer ways to do this. Check http://www.bugman.cx/cvsup/ for my make.conf, release-supfile and ports-supfile for examples. You can copy these three files into your /etc directory, and using the make.conf file, you can now just 'cd /usr/src' and then issue a 'make update'. Your make.conf flags will tell CVSup what to do. Make sure you edit the three files carefully, as you'll want to specify a local CVSup server *and* you'll want to make sure the make.conf flags are correct. Remember that whenever you run 'make', the commands in make.conf are passed as options to the make command. That means if you have 'WITHOUT_X11=true' in your make.conf file, that will get passed to every single port build you perform. If you already have a make.conf file you might want to just copy out the MASTER_ lines and all of the SUP lines (including PORTSSUPFILE) and put them into your own make.conf. > make buildworld KERNCONF=yourkernelname (for name, look to config file > found in /usr/src/sys/i386/conf/) Just 'make buildworld' is fine here. You don't need to specify a kernel name when issuing a buildworld. > make buildkernel KERNCONF=yourkernelname (look to / ) > make installkernel KERNCONF=yourkernelname > reboot You can do a 'make buildworld' and a 'make buildkernel KERNCONF=yourkernel' while you're booted into multi-user (ie normal) FreeBSD. You can even install the kernel from here before rebooting, but after you've built the two, you should switch to single user mode and then run: make installkernel KERNCONF=yourkernelname make installworld Then follow with: > mergemaster -p ? *snip* > reboot So basically: o update from cvs # cd /usr/src # make update o build world/kernel in your normal or single-user mode # cd /usr/obj # rm -rf * # cd /usr/src # make buildworld # make buildkernel KERNCONF=YOURKERNEL o install kernel/world in single user mode # reboot [ Choose single User Mode ] # cd /usr/src # make installkernel KERNCONF=YOURKERNEL # make installworld o run mergemaster -p # mergemaster -p o reboot # reboot It's fairly straight-forward once you get the gist :) -- Adam Smith Internode : http://www.internode.on.net Phone : (08) 8228 2999 Dog for sale: Eats lots and is fond of children.