From owner-freebsd-questions@FreeBSD.ORG Mon Sep 1 14:18:59 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 984E516A4BF for ; Mon, 1 Sep 2003 14:18:59 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBF3E43FAF for ; Mon, 1 Sep 2003 14:18:56 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h81LIb214138; Mon, 1 Sep 2003 14:18:38 -0700 From: Kent Stewart To: "Charles Howse" , "'ODHIAMBO Washington'" Date: Mon, 1 Sep 2003 14:18:33 -0700 User-Agent: KMail/1.5.3 References: <000501c370c5$35a88290$04fea8c0@moe> In-Reply-To: <000501c370c5$35a88290$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309011418.33352.kstewart@owt.com> cc: freebsd-questions@freebsd.org Subject: Re: scripting the buildworld/installworld process 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: Mon, 01 Sep 2003 21:18:59 -0000 On Monday 01 September 2003 01:11 pm, Charles Howse wrote: > > BTW, If you add both of your kernels to /etc/make.conf, you > > would only > > need one buildkernel. The first one is the one that is installed. I > > have it commented now but I used to use > > > > #KERNCONF=RUBY GENERIC > > > > to build both and install just RUBY. I got so that I liked the logs > > I thought it would be a good idea to install both GENERIC and CUSTOM > kernels, so that I could boot to GENERIC if necessary. > > So, if I add KERNCONF=GENERIC CUSTOM to make.conf, then the generic > kernel is installed as /boot/kernel, and I can cp /boot/kernel > /boot/kernel.GENERIC. > > Then I can do installkernel KERNCONF=CUSTOM, and that will install > the custom kernel as /boot/kernel, and that will be the default to > boot...? When I do that, I usually install GENERIC first and then install my custom kernel and mv kernel.old to kernel.GENERIC. I haven't thought about it beyond that. You probably also have to chflag it first. FWIW, I rarely use GENERIC except on the first install. I am more likely to boot to kernel.old. If the kernel dies at single user, you want the kernel.old to be a good one and if you have done a couple of kernelinstalls, that won't be true. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html