Date: Mon, 25 Jun 2007 19:07:02 +0200 From: Pietro Cerutti <gahr@gahr.ch> To: freebsd-questions@freebsd.org Cc: tundra@tundraware.com Subject: Re: Repopulating the GENERIC kernel Message-ID: <467FF636.6060708@gahr.ch> In-Reply-To: <467FEE86.5020601@tundraware.com> References: <467FEE86.5020601@tundraware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?467FF636.6060708>