From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 15:34:33 2003 Return-Path: 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 96FDE16A4B3 for ; Thu, 23 Oct 2003 15:34:33 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0216243F85 for ; Thu, 23 Oct 2003 15:34:33 -0700 (PDT) (envelope-from rperry4@earthlink.net) Received: from dialup-171.75.72.102.dial1.weehawken.level3.net ([171.75.72.102] helo=earthlink.net) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1ACo2D-00059C-00; Thu, 23 Oct 2003 15:34:26 -0700 Message-ID: <3F985821.9060304@earthlink.net> From: "Robert H. Perry" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4.1) Gecko/20031018 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ryan Thompson References: <20031023155921.G55711-100000@ren.sasknow.com> In-Reply-To: <20031023155921.G55711-100000@ren.sasknow.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD-Questions Subject: Re: Upgrading the kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 23 Oct 2003 22:34:33 -0000 X-Original-Date: Thu, 23 Oct 2003 18:37:21 -0400 X-List-Received-Date: Thu, 23 Oct 2003 22:34:33 -0000 Ryan Thompson wrote: >Robert H. Perry wrote to FreeBSD-Questions: > > > >>I'm upgrading from 4.7 RELEASE to 4.8 RELEASE soon. My understanding >>is that once you have built the world with buildworld, it's time to >>build and install the new kernel. >> >> > >In your scenario, yes, you'll definitely want to build a new kernel. In >fact, I hope you elected to go with the security branch (RELENG_4_8), so >that you get the 13 or so security related fixes that have been applied >since 4.8 was released. > Hadn't intended to, but now I'll have to consider it. This is my first upgrade and I was sticking with the basics. > > > >>My current kernel is customized with a sound card device and nothing >>else. >> >> > >That's fine; you can continue to use your kernel config. >(/usr/src/sys/i386/conf/WHATEVERYOUCALLEDYOURKERNELCONFIG) > > > >>The FreeBSD Handbook indicates that the safest way to do this is to >>build and install a kernel based on GENERIC. After booting from >>GENERIC and verifying that your system works you can then customize >>your kernel. >> >> > >Well, you can if you want, but you won't have any issues from 4.7 -> >4.8. I'd just go with your custom kernel config. > > > >>Can I use the commands, # make buildkernel and # make installkernel, >>or are #make buildkernel KERNCONF=GENERIC and # make installkernel >>KERNCONF=GENERIC the correct commands? >> >> > >Have you specified KERNCONF in /etc/make.conf? > No. > If not, then it defaults >to GENERIC. In your case, though, again, you shouldn't have any problems >building from your custom conf. > Just to clarify then, is the following OK: # cd /usr/src # make buildkernel KERNCONF=CUSTOM # make installkernel KERNCONF=CUSTOM CUSTOM is the name of my kernel config file. > >- Ryan > > >