From owner-freebsd-questions Tue Oct 29 12:35:57 2002 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 932A837B401 for ; Tue, 29 Oct 2002 12:35:55 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF34343EA3 for ; Tue, 29 Oct 2002 12:35:47 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g9TKZbLf058083 for ; Tue, 29 Oct 2002 20:35:37 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g9TKZWxe058078 for freebsd-questions@FreeBSD.ORG; Tue, 29 Oct 2002 20:35:32 GMT Date: Tue, 29 Oct 2002 20:35:32 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: Yes, but how do I upgrade? Message-ID: <20021029203532.GA57736@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-13.9 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT,USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 29, 2002 at 12:10:44PM -0800, Steve Warwick wrote: > I have a 4.3 BSD machine to upgrade, and it's a production machine :( > > On a test machine I have learned to CVSUP. I have used sysinstall and played > around with the "upgrade" potion of the menu. I have configured, built and > installed the kernel a few times. > > Ok, got that, but how do I upgrade? > > I am probably missing the point, but do I have to CVSUP, sysinstall/upgrade, > AND build-install the kernel? > > I looked at "makeworld" in the handbook but it read like the instructions to > building a house! Surely it's not a complicated as it looks? There are two ways you might consider upgrading. i) /stand/sysinstall --- this is essentially just installing the latest release on top of your current system, plus some extra fiddling about to preserve various configuration files. Installing the system is fairly reliable, but the process of updating the config. files leaves something to be desired. Then you've got the fun'n'games of juggling kernels if you aren't using GENERIC. ii) cvsup, {build,install}world. This is IMHO the preferable way to upgrade a system. It's certainly the most polished method. The big advantages are that building a customized kernel is integrated into the whole build process, and you can build whatever version you want, rather than a specific release. In your case, for a production server, you'll probably want to track the RELENG_4_7 branch, so you can pick up any security fixes quickly but are otherwise running well tested and fixed code. Method ii may seem daunting, but it's pretty straight forward really. You've learned all about cvsup already. Now all you need to do are grab the correct sources for the version you want to install, and follow the method given in /usr/src/UPDATING to compile and install the new version. The instructions in the Handbook should be sufficiently comprehensive to answer any questions you might have. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message