Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2002 13:29:21 -0400 (EDT)
From:      Tim Kellers <timothyk@serv1.wallnet.com>
To:        Todd Robinson <todd_robinson@webpath.net>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: compile kernel - copy it to another machine?
Message-ID:  <20021005132311.U15428-100000@serv1.wallnet.com>
In-Reply-To: <017f01c26c92$fb61a260$24475292@east.frontiercorp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I have several custom kernel source files that I compile on my fastest
machine and "make installkernel" on my slower desktop and server machines.

Granted, the kernel files are bigger than normal --I keep many options
that are not specifically required in the sourcfe files that I don't need;
it just keeps me a bit more sane to only change machine specific options.
 I have all of /usr/src exported from the machine I use to compile and I
have the exported /usr/src mounted on the machine on which I want to
install.

I use the same method to "make buildworld," too.  It's very helpful when
upgrading the 18 odd workstations we have in our computer labs, too.

I know there may be pitfalls in this type of mass install but, so far,
I've been bitten by very few bugs.


Tim Kellers
CPE/NJIT

On Sat, 5 Oct 2002, Todd Robinson wrote:

> I've been able to do it with the default Generic Kernel in an emergency, but
> not otherwise...didn't even try it.
>
> ----- Original Message -----
> From: "Nathan Kinkade" <nkinkade@dsl-only.net>
> To: <freebsd-questions@FreeBSD.ORG>
> Sent: Saturday, October 05, 2002 1:16 PM
> Subject: compile kernel - copy it to another machine?
>
>
> > Will it work to compile a kernel on one machine and then copy/boot that
> > kernel on another machine with different hardware?  I've been trying to
> > do this, but I can't get the kernel to boot on the machine to which it
> > was copied.  I've made sure that the kernel config file is crafted
> > specifically to the hardware of the machine to which I am copying it.  I
> > would like to do this because one of my machines is many orders faster
> > than the other and can compile a kernel in a matter of a few minutes,
> > whereas the other machine (a P166) might take an hour.  I have found a
> > few pages where people talk of this, but no specific caveats or
> > examples.  Does anyone have any input on this?
> >
> > Thanks,
> > Nathan
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021005132311.U15428-100000>