From owner-freebsd-questions@FreeBSD.ORG Mon Jun 25 17:07:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F14E16A41F for ; Mon, 25 Jun 2007 17:07:13 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 1C69D13C4BC for ; Mon, 25 Jun 2007 17:07:13 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-187-205.dclient.hispeed.ch ([80.218.187.205] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1I2s1v-0007mY-JS; Mon, 25 Jun 2007 19:07:11 +0200 Message-ID: <467FF636.6060708@gahr.ch> Date: Mon, 25 Jun 2007 19:07:02 +0200 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.4 (X11/20070618) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <467FEE86.5020601@tundraware.com> In-Reply-To: <467FEE86.5020601@tundraware.com> X-Enigmail-Version: 0.95.0 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig0A7240472C51E527ECFC3E11" X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: tundra@tundraware.com Subject: Re: Repopulating the GENERIC kernel 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: Mon, 25 Jun 2007 17:07:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0A7240472C51E527ECFC3E11 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Tim Daneliuk wrote: > I have a production 6.2 STABLE machine w/something like this in /etc/ma= ke.conf: >=20 > KERNCONF=3DMYKERN SMP GENERIC >=20 > When I do a 'make kernel', as I understand it, all three kernels get *b= uild* but only > MYKERN actually gets installed. >=20 > So ... how do I get the latest version of GENERIC (that I just compiled= per the above) > "installed" into /boot *without* it actually being the active kernel. = IOW, I want > my kernel build to *install* MYKERN as the active kernel and refresh GE= NERIC just in > case I need it to recover a failed boot... try with make buildkernel make installkernel KERNCONF=3DGENERIC INSTKERNNAME=3DGENERIC make installkernel KERNCONF=3DSMP INSTKERNNAME=3DSMP make installkernel KERNCONF=3DMYKERN INSTKERNNAME=3DMYKERN then set the name of the kernel that you want to boot off in /boot/loader.conf, as kernel=3DMYKERN I don't know if there's an automatized way to perform the same... Hope this helps, > TIA, --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig0A7240472C51E527ECFC3E11 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGf/Y7wMJqmJVx944RCmofAJ4/efuOy8fCWU2fl3PKOzZQ5jlgJQCcCSah SPK6roDPw+rViJ+8YEqR/S4= =+drY -----END PGP SIGNATURE----- --------------enig0A7240472C51E527ECFC3E11--