From owner-freebsd-questions@FreeBSD.ORG Thu Nov 18 20:31:13 2004 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 86CCD16A4CE for ; Thu, 18 Nov 2004 20:31:13 +0000 (GMT) Received: from lorna.circlesquared.com (host217-45-219-85.in-addr.btopenworld.com [217.45.219.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3382743D54 for ; Thu, 18 Nov 2004 20:31:12 +0000 (GMT) (envelope-from peter@circlesquared.com) Received: from [127.0.0.1] (localhost.circlesquared.com [127.0.0.1]) iAIKV1sr070699; Thu, 18 Nov 2004 20:31:13 GMT (envelope-from peter@circlesquared.com) Message-ID: <419D0685.8030700@circlesquared.com> Date: Thu, 18 Nov 2004 20:31:01 +0000 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041118 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Curtis Vaughan References: <20041109013813.GC576@internode.com.au> <308DF423-399E-11D9-A404-000393934006@npc-usa.com> <877D356B-399E-11D9-A404-000393934006@npc-usa.com> In-Reply-To: <877D356B-399E-11D9-A404-000393934006@npc-usa.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Upgrading 5.3-Beta1 to 5.3-RELEASE 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: , X-List-Received-Date: Thu, 18 Nov 2004 20:31:13 -0000 Curtis Vaughan wrote: > On 18 Nov, 2004, at 12:12, Curtis Vaughan wrote: > >>> >>> So basically: >>> >>> o update from cvs >>> # cd /usr/src >>> # make update >>> o build world/kernel in your normal or single-user mode >>> # cd /usr/obj >>> # rm -rf * >>> # cd /usr/src >>> # make buildworld >>> # make buildkernel KERNCONF=YOURKERNEL >>> >> Adam! >> >> Sorry to bother you again, but I got as for as make buildworld, after >> which I typed "make buildkernel KERNCONF=MYKERNEL" >> and I got: >> >> cod# make buildkernel KERNCONF=MYKERNEL >> ERROR: Missing kernel configuration file(s) (MYKERNEL). >> false >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> >> Any ideas why? >> >> Curtis >>> Maybe you can disregard that. Looking at "The Complete FreeBSD" I see > that you can just use GENERIC, if you want. So, I typed: > > make buildworld KERNCONF=GENERIC > > and off it went. > > Any reason why I wouldn't want to use GENERIC? I haven't compiled > anything special for my kernel. It's worth reading: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html But basically, if you want to use the GENERIC kernel, just type: #make buildkernel The KERNCONF thingy is only necessary if you want to use a custom kernel and, as you've discovered, this won't work unless you have first generated a custom kernel configuration file, while is normally done by: #cd /usr/src/sys/i386/conf #cp GENERIC MYKERNELNAME #vi MYKERNELNAME Then add/delete as appropriate and when you run make buildkernel add KERNCONF=MYKERNELNAME It helps, in the long run, to give your kernel a meaningful name. Regards, Peter. -- the circle squared network systems and software http://www.circlesquared.com