Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2010 08:37:22 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= <antoniok.spb@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Using multiply kernels with reserved GENERIC
Message-ID:  <4B9CA042.4000108@infracaninophile.co.uk>
In-Reply-To: <3f1c29e71003140005u3d8dd7c8o474fd13b9cb1042b@mail.gmail.com>
References:  <3f1c29e71003140005u3d8dd7c8o474fd13b9cb1042b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/03/2010 08:05:37, Антон Клесс wrote:
> I compile my own kernel:
> 
> # make buildkernel KERNCONF=MYKERN && make installkernel KERNCONF=MYKERN
> 
> After this, the new kernel is into /boot/kernel , and old one is into
> /boot/kernel.old
> 
> After first kernel rebuilding, kernel.old is GENERIC. But after second one
> it seems that I'm unable to boot GENERIC without compiling and installing it
> again.
> 
> Is it possible to have GENERIC for system crash restoring purposes somewhere
> like /boot/kernel.generic ?

Yes.  Just mv /boot/kernel.old /boot/kernel.generic

If you want to update your copy of the GENERIC kernel:

    # cd /usr/src
    # make buildkernel KERNCONF=GENERIC
    # make installkernel KERNCONF=GENERIC KODIR=/boot/kernel.generic

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkucoEEACgkQ8Mjk52CukIzmwACfeTkSfNc/s86EkYvBABCWGRa5
VQAAmQFH2QQUnVOA16FJGFuoSHsgJ5+l
=O0/G
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B9CA042.4000108>