From owner-freebsd-questions@FreeBSD.ORG Fri Jun 12 00:52:39 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 7FBC5106566C for ; Fri, 12 Jun 2009 00:52:39 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0508FC14 for ; Fri, 12 Jun 2009 00:52:39 +0000 (UTC) (envelope-from lars@larseighner.com) Received: by mail.team1internet.com (Postfix, from userid 12346) id D064716B53E; Thu, 11 Jun 2009 19:52:38 -0500 (CDT) Received: from larseighner.com (unknown [216.110.13.76]) by mail.team1internet.com (Postfix) with SMTP id 39A0316B51F; Thu, 11 Jun 2009 19:52:37 -0500 (CDT) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Thu, 11 Jun 2009 19:48:31 -0500 (CDT) Date: Thu, 11 Jun 2009 19:48:25 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@debranded.6dollardialup.com To: Jason In-Reply-To: <20090612001026.GG39951@eggman.experts-exchange.com> Message-ID: <20090611194820.M97899@qroenaqrq.6qbyyneqvnyhc.pbz> References: <20090612001026.GG39951@eggman.experts-exchange.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Sanitizer: Anomy and SpamAssassin mail filter - see http://www.6dollardialup.com/support/spaminfo.html Cc: freebsd-questions@freebsd.org Subject: Re: freebsd update question 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: Fri, 12 Jun 2009 00:52:40 -0000 On Thu, 11 Jun 2009, Jason wrote: > Hi, > > I have just started getting into the realm of kernel building, and I have > a question in so far as upgrades. > > Is it possible to do a freebsd-update fetch then install, reboot, and then > install again to get to the latest release you want to run? > > Update /usr/src with sources and build a kernel from that, and use that > kernel. In general when you make an updated kernel you should rebuild and install world too. This doesn't apply to building a different (custom) kernel when world has not changed. Okay, it is often true that within major versions you can run with an updated kernel on the old world for a long time without encountering a problem, but problems from kernel-world mismatch are not extremely rare. If and when you install the sources, check the procedures in UPADATING (near the bottom) for best practices procedure. > After this, assuming this is the correct path, can the same path be used to > upgrade other servers, and then just plop the kernel on (same hardware.) With the above concern about kernel-world mismatch in mind, yes this is likely to work, but the best practice would be to make a release. This should work even if there is a minor, perhaps unknown, variation in hardware. > > I am not sure if this is the right path, but looking to understand it a > little better. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266