From owner-freebsd-questions@FreeBSD.ORG Sat Apr 19 07:17:38 2003 Return-Path: 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 AB90637B401 for ; Sat, 19 Apr 2003 07:17:38 -0700 (PDT) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id F07E043FD7 for ; Sat, 19 Apr 2003 07:17:37 -0700 (PDT) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 196t9s-000BfR-00; Sat, 19 Apr 2003 07:17:36 -0700 Date: Sat, 19 Apr 2003 07:17:36 -0700 From: Nathan Kinkade To: Paul Jansen Message-ID: <20030419141736.GB30743@sub21-156.member.dsl-only.net> Mail-Followup-To: Nathan Kinkade , Paul Jansen , questions@freebsd.org References: <20030419053455.63747.qmail@web40109.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UHN/qo2QbUvPLonB" Content-Disposition: inline In-Reply-To: <20030419053455.63747.qmail@web40109.mail.yahoo.com> User-Agent: Mutt/1.4i Sender: Nathan Kinkade cc: questions@freebsd.org Subject: Re: compiling kernel for another machine then installing - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nkinkade@fastmail.fm List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 14:17:39 -0000 --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 19, 2003 at 03:34:55PM +1000, Paul Jansen wrote: > Hello. >=20 > I've dine some searching through the mailing lsits and > google groups but haven't managed to find anything > about this. > I've also looked in the handbook but it doesn't > discuss this issue. > Basically I've got a slow machine and a much faster > machine. I wanted to compile the kernel for the > slower machine on the faster one to save a lot of > time. I've followed the directions in the handbook to > compile a kernel as normal but I'm not sure exactly > what I need to copy and where. Is it easier to NFS > mount to do this? I tried and ran into some pathing > issues. > Can anyone help? >=20 > Thanks. As far as I know, the only two thing which you need to worry about are the machine/cpu settings in the kernel config file, and CPUTYPE directive that is possibly in your /etc/make.conf file. Make user to set these according to the machine for which you are compiling. Then compile as normal. When you are done simply copy the kernel to the new machine. If you are compiling the kernel the newer way with `make buildkernel` it should be located at /usr/obj/usr/src/sys//kernel, where is the name of your kernel config file. Also keep in mind that you the machine you are compiling for is running the save version of the system. Nathan --=20 GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc --UHN/qo2QbUvPLonB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+oVqAWZYS9EJQoEwRAo9mAJ9Y2FaXxczGLXSEEvO55OknjsxThgCg61QX caRUwbMGxx1AvrDUkRvNDX0= =Ak/5 -----END PGP SIGNATURE----- --UHN/qo2QbUvPLonB--