From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 12:07:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A09B21065687 for ; Wed, 28 Jan 2009 12:07:23 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id 32DD58FC1B for ; Wed, 28 Jan 2009 12:07:23 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so7032055rvf.43 for ; Wed, 28 Jan 2009 04:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=VYTQmF2FJX6hxkm8yu3Lrz7BiY2bSBzeWaH1XBWylTI=; b=cGx4/el3QESOqfm1QgWa/t0y5xLWATlgDI9KfwZrNh3buii8BsjMZpoCunjiu9TNpt rA1oUm6vd/FXiZhI+nspr8pgcByAV/EbOmj6KDc5Ly7pGY0L/PTuKTgBzVW1HLK1WYNI R9g9lL9aFpKRdxib37O5TN0xaJMtzFThDos1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=vPDpWLqQxiZLWosiWon5dZAqh2BdBAGyENRu/0RJGRw+/PBxFeaK1Xq6cgJE7wv1dH yz2wn8lSpZtjJhS36rahS3Vq6c7k/XNPePbKlO/bq10gPBE8udWCQLQtSNbVEviNC0Mb j5JCOybuerGRUaXk8Ys1YcF52fzpt+ZIaVP3o= Received: by 10.140.143.11 with SMTP id q11mr2097865rvd.104.1233144441836; Wed, 28 Jan 2009 04:07:21 -0800 (PST) Received: from ?192.168.4.70? (c-68-35-57-46.hsd1.nm.comcast.net [68.35.57.46]) by mx.google.com with ESMTPS id f21sm36722441rvb.7.2009.01.28.04.07.20 (version=SSLv3 cipher=RC4-MD5); Wed, 28 Jan 2009 04:07:21 -0800 (PST) Message-ID: <49804A92.904@gmail.com> Date: Wed, 28 Jan 2009 05:07:46 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Zbigniew Szalbot References: <94136a2c0901280332n7301fe50tc85408a9f20c6a22@mail.gmail.com> In-Reply-To: <94136a2c0901280332n7301fe50tc85408a9f20c6a22@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 12:07:57 -0000 Zbigniew Szalbot wrote: > Hello, > > I would like to confirm the steps required to upgrade a 7.0 system > with a custom kernel to 7.1 so many thanks for all suggestions! > > 1/ Back up /etc (of course backups are regularly done, but based on > what I saw on the list I think such a backup just prior to upgrade may > be quite beneficial) > # cp -pR /etc/ /etc-7.0 > > 2/ Go for the upgrade and merge files (if any) > # freebsd-update -r 7.1-RELEASE upgrade > > 3/ Install the updates > # freebsd-update install > > 4/ Reboot with a GENERIC kernel (I do have it) > # nextboot -k GENERIC Make sure freebsd-update downloads the GENERIC kernel. it typically leaves it completely alone when asked to update/upgrade a system with a custom kernel. Nothing really beats the CVS way. And when I tried a 7.0 to a 7.1, it wanted like >30,000 updates and was taking forever. So because of this, you might want to: download CVS source make buildkernel; freebsd-update -r 7.1-RELEASE upgrade; freebsd-update install; make installkernel; > 5/ Reboot with a custom kernel > # shutdown -r now > > 6/ Finish the update process > # freebsd-update install > > 7/ Recompile the custom kernel > # cd /usr/src > # make buildkernel KERNCONF=MYKERNEL > # make installkernel KERNCONF=MYKERNEL And remake your custom kernel here. Personally, I try to keep an updated GENERIC in /boot/kernel.GENERIC always. > 8/ Final reboot > # shutdown -r now > > I was told earlier that 7.0 -> 7.1 journey is a minor one and so I do > not need to rebuild all the ports. Is that correct? > > Once again, many thanks for your advice! > My 2 cents. --Tim