From owner-freebsd-stable Tue Jul 18 13:13:56 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by hub.freebsd.org (Postfix) with ESMTP id 5E06A37B924 for ; Tue, 18 Jul 2000 13:13:52 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.89.241]) by mta02-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000718211303.NXZI3760.mta02-svc.ntlworld.com@parish.my.domain>; Tue, 18 Jul 2000 21:13:03 +0000 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id VAA02478; Tue, 18 Jul 2000 21:13:29 +0100 (BST) (envelope-from mark) Date: Tue, 18 Jul 2000 21:13:29 +0100 From: Mark Ovens To: j mckitrick Cc: stable@freebsd.org Subject: Re: stupid installkernel question Message-ID: <20000718211328.E239@parish> References: <20000718202933.A47182@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000718202933.A47182@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Tue, Jul 18, 2000 at 08:29:33PM +0100 Organization: Total lack of Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jul 18, 2000 at 08:29:33PM +0100, j mckitrick wrote: > > i have been reading the makefiles and boot files to try to figure this one > out. i ran 'make installkernel KERNEL=MERCURY''and everything works fine. > But i have 2 kernels in / > One is kernel, one is MERCURY. The modification date on 'kernel' is close > to the one for MERCURY. WHich one does my system boot with, and which can > be deleted? > > In /boot, the config files seem to show 'kernel' being booted. If so, why > does MERCURY exist? > The one thing that most people seemed to miss in the long "HEADS UP! Always use the 'make buildkernel' target to make" thread was David Bushong's post about using ``makeoptions KERNEL=kernel'' in your kernel config file. My last make world a few days ago I did added that line to my kernel config file (PARISH) and ran: # make buildkernel KERNEL=PARISH # make installkernel KERNEL=PARISH and the new kernel was installed as ``kernel''. There wasn't a PARISH to be seen: # ls -l /kernel* -r-xr-xr-x 1 root wheel 2130600 14 Jul 22:40 /kernel -rw-r--r-- 1 root wheel 0 22 Jan 13:40 /kernel.config -r-xr-xr-x 1 root wheel 2101964 14 Jul 19:54 /kernel.good -r-xr-xr-x 1 root wheel 2101964 21 May 04:24 /kernel.old # (kernel.good was my own manual backup, just in case I misunderstood or got it wrong). HTH > jm > -- > ------------------------------------------------------------------- > Jonathon McKitrick -- jcm@freebsd-uk.eu.org To Microsoft: > "Your tyranny I was part of, is now cracking on every side. > Now your own life is in danger. Your Empire is on fire." Front 242 > ------------------------------------------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- If I buy a copy of WinDelete, and it doesn't delete Windows, am I entitled to my money back? ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message