So if when you say "copy the kernel", do you just mean the contents of the
/boot/kernel directory, and that's as plain as it is?  Or is there more to

The reason I'm asking, is that I always plan for disaster recovery, and
after a build, easily the single longest task for bringing my particular
system totally back online, is compiling the kernel (im still running my 5
year old dual p3 800).  For time's sake during recovery, I would like to
skip at least that process.

Can you give me more specifics on exactly what should be moved/copied?


-----Original Message-----
From: Jason C. Wells [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 25, 2006 11:43 PM
To: Jonathan Horne; freebsd general questions
Subject: Re: what is the process for migrating a pre-built kernel to a new

Jonathan Horne wrote:
> What if I want to use a kernel I compiled on one system, on another
> What is the process to successfully migrate a kernel from one system to
> another (or back to the same after a disaster recovery)?

Just FTP, NFS, or otherwise copy the kernel to the new system and reboot.

Now for the caveats.  It is inadvisable to copy a kernel from one 
version of FreeBSD to another.  You'll get mysterious library errors 
from libraries like libkvm.  Copying 6.1 kernels to and from 6.1 systems 
is OK.  Copying 6.1 kernels to 5.4 system is bad.  Copying a kernel from 
last month's build of stable to this months build of stable is probably 
bad also.

I would advise you to install the kernel sources on each machine where 
you want to build a custom kernel.  That or set up one machine to be 
your "build server" in the fashion described in the handbook.

You also have to take care regarding hardware compatibility.  If one 
system is all SCSI and the other is all IDE you are not going to be able 
to move those kernels around and have properly functioning hard drives.

For disaster recovery, keep your kernel config file.  I would argue that 
the config file is more important than the actual kernel binary.

Jason C. Wells

_______________________________________________ mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to