From owner-freebsd-stable@FreeBSD.ORG Wed Nov 9 13:25:27 2005 Return-Path: X-Original-To: stable@freebsd.org 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 A312C16A41F for ; Wed, 9 Nov 2005 13:25:27 +0000 (GMT) (envelope-from kometen@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3745743D45 for ; Wed, 9 Nov 2005 13:25:27 +0000 (GMT) (envelope-from kometen@gmail.com) Received: by xproxy.gmail.com with SMTP id t10so237704wxc for ; Wed, 09 Nov 2005 05:25:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JKxnfyF2uTz1BwlPgiEy19eXDl0FtpytI8gV6dezhK7Fry3ngBAATT3dezbQCm9/JY6rpNvBLTsk8OIM4n03T16qZmncuJHTff9ove+LwW+fZtLTx3XLmyidS6ae6dTZ8bHVHPKOr+rQO2xlQz1wH7GAn8DINIyHkwAAZiH6/1o= Received: by 10.65.253.5 with SMTP id f5mr737360qbs; Wed, 09 Nov 2005 05:01:02 -0800 (PST) Received: by 10.64.151.20 with HTTP; Wed, 9 Nov 2005 05:01:02 -0800 (PST) Message-ID: Date: Wed, 9 Nov 2005 14:01:02 +0100 From: Claus Guttesen To: Pete French In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: stable@freebsd.org Subject: Re: upgrading 5.4 -> 6.0 without reinstalling. safe ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 13:25:27 -0000 > usually when I upgrade across major versions of BSD I wipe the whole > machine and re--install from scratch. But I understand that the move > to 6.0 from 5.4 is nowhere near such a big leap. > > So I was wondering hether I could just do this from source without any > ill effects, as if I was upgrading 5.4->5.5. I have nnever tried this bef= ore > though, and was wondering if there are any major pitfalls (i.e. is it act= ually > a really bad idea?) The easiest would be to 1. cvsup to RELENG_6 (or RELENG_6_0) 2. cd /usr/src 3. make buildworld 4. make buildkernel 5. make installkernel 6. mergemaster -p 7. reboot into single-usermode and verify your new kernel works 8. mount -a 9. make installworld 10. mergemaster 11. reboot All described in /usr/src/Makefile (and the handbook). You may need to reinstall some apps, but most should work with compat5x in place. regards Claus