Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2003 07:17:36 -0700
From:      Nathan Kinkade <nkinkade@dsl-only.net>
To:        Paul Jansen <vlaero@yahoo.com.au>
Cc:        questions@freebsd.org
Subject:   Re: compiling kernel for another machine then installing - how?
Message-ID:  <20030419141736.GB30743@sub21-156.member.dsl-only.net>
In-Reply-To: <20030419053455.63747.qmail@web40109.mail.yahoo.com>
References:  <20030419053455.63747.qmail@web40109.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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/<yourkernel>/kernel, where
<yourkernel> 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--



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