From owner-freebsd-questions@FreeBSD.ORG Tue Jun 21 21:11:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 2886716A41C for ; Tue, 21 Jun 2005 21:11:45 +0000 (GMT) (envelope-from pinhead@steve.stderror.at) Received: from stdin.stderror.at (stdin.stderror.at [83.65.196.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BB7A43D49 for ; Tue, 21 Jun 2005 21:11:44 +0000 (GMT) (envelope-from pinhead@steve.stderror.at) Received: from steve.stderror.at (steve.stderror.at [83.65.196.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by stdin.stderror.at (Postfix) with ESMTP id 50A00A181 for ; Tue, 21 Jun 2005 23:11:39 +0200 (CEST) Received: from steve.stderror.at (localhost [127.0.0.1]) by steve.stderror.at (8.13.1/8.13.1) with ESMTP id j5LLEFKl020544 for ; Tue, 21 Jun 2005 23:14:15 +0200 (CEST) (envelope-from pinhead@steve.stderror.at) Received: (from pinhead@localhost) by steve.stderror.at (8.13.1/8.13.1/Submit) id j5LLEFsn020543 for freebsd-questions@freebsd.org; Tue, 21 Jun 2005 23:14:15 +0200 (CEST) (envelope-from pinhead) Date: Tue, 21 Jun 2005 23:14:15 +0200 From: Toni Schmidbauer To: freebsd-questions@freebsd.org Message-ID: <20050621211415.GW97497@stderror.at> Mail-Followup-To: freebsd-questions@freebsd.org References: <200506210000.j5L00VMx068271@ceres.aros.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200506210000.j5L00VMx068271@ceres.aros.net> Phone: +43 664 3502198 X-WWW-Home-Page: http://stderror.at X-PGP-Fingerprint: 53F2 28AE 8070 83E0 AFEC 0ABC BBF9 A34A 3ED1 3287 X-Operating-System: FreeBSD User-Agent: Mutt/1.5.9i Subject: Re: Upgrading 5.3 to 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: toni@stderror.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2005 21:11:45 -0000 On Mon, Jun 20, 2005 at 06:00:34PM -0600, Cartoon Factory wrote: > I am a fairly novice user of FreeBSD. I just recently built two boxes with > 5.3, and now that 5.4 is out, I was curious how easy it would be to upgrade. > The "Migration" guide deals with 4.X => 5... do I essentially follow the > Source upgrade instructions? Is there a better/easier (for a novice!) way to > do this, especially since I am already at 5.3? These boxes are active > servers- how long would I be down? Is it even advisable for me to try this? there should be no problems upgrading from 5.3 to 5.4. while building userland / kernel and installing the kernel no downtime is necessary. it's always advisable to try the update first on a test system, even when this is your first time updating a freebsd system. downtime depends on how fast your servers are and how careful your are answering to mergemaster. on my athlon64 3200 rebooting + installworld + mergemaster takes about 15 minutes. read the following sections in the fabulous handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html and finally http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html so to upgrade to 5.4 tag=RELENG_5_4 is your friend. to give a short summary: 0) su - root 1) cd /usr/src 2) cvsup -g -L2 || make update (see make.conf) 2.1) READ UPDATING 3) rm -rf /usr/obj/* 4) make buildworld 5) make buildkernel 6) make installkernel 7) reboot to singlelooser mode 8) mount -a 9) mergemaster -p 10) cd /usr/src && make installworld 11) mergemaster 12) exit || reboot (to be sure everything works). but please, read the documentation mentioned above BEFORE starting your update, i'll give no warranty :-)! hth, toni -- Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at mehr irrt, der hat auch zu arbeiten aufgehoert | Toni Schmidbauer -- Max Planck |