Multiple kernels on one machine?

Brian Bobowski bbobowski at cogeco.ca
Mon Oct 6 05:54:41 PDT 2003


On October 6, 2003 12:11 pm, Ewald Jenisch wrote:
> Hi,
>
> I'm currently in the process of upgrading my kernel (5.1). Afaik, every
> time one installs a new kernel with "make installkernel" the old
> /boot/kernel is moved to /boot/kernel.old thus overwriting the old
> /boot/kernel.old.
>
> In order to keep a working kernel: Is it possible to *keep* an old
> kernel by copying, say /boot/kernel.old to e.g. /boot/mykernel and then
> via the boot-menu starting this kernel by
>
> unload
> boot mykernel
>
> ??
>
> If yes, can I simply copy (e.g. via tar | tar xpf..) the old kernel
> directory to a new name or is there anything else I should consider?
>
> TIA for your help
> -ewald

As far as I know, this is not only possible, but recommended in the Handbook 
directions for building new kernels. That way, if you've done several 
rebuilds, you know you've got a working kernel around.

I didn't find much in the way of specifics in the handbook, so the process 
might be as simple as you say(though I myself haven't yet figured out how to 
pipe a tar into an untar).



More information about the freebsd-questions mailing list