From owner-freebsd-questions Sat Oct 5 10:29:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1241837B408 for ; Sat, 5 Oct 2002 10:29:25 -0700 (PDT) Received: from serv1.wallnet.com (server1.wallnet.com [208.225.162.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62C9743E75 for ; Sat, 5 Oct 2002 10:29:24 -0700 (PDT) (envelope-from timothyk@serv1.wallnet.com) Received: (from root@localhost) by serv1.wallnet.com (8.11.5/8.11.5) id g95HTNK15770; Sat, 5 Oct 2002 13:29:23 -0400 (EDT) (envelope-from timothyk@serv1.wallnet.com) Received: from localhost (timothyk@localhost) by serv1.wallnet.com (8.11.5/8.11.5av) with ESMTP id g95HTM915762; Sat, 5 Oct 2002 13:29:22 -0400 (EDT) (envelope-from timothyk@serv1.wallnet.com) X-Authentication-Warning: serv1.wallnet.com: timothyk owned process doing -bs Date: Sat, 5 Oct 2002 13:29:21 -0400 (EDT) From: Tim Kellers To: Todd Robinson Cc: Subject: Re: compile kernel - copy it to another machine? In-Reply-To: <017f01c26c92$fb61a260$24475292@east.frontiercorp.com> Message-ID: <20021005132311.U15428-100000@serv1.wallnet.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" > To: > 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