Using multiply kernels with reserved GENERIC
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sun Mar 14 08:37:27 UTC 2010
-----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-----
More information about the freebsd-questions
mailing list