From owner-freebsd-stable Tue Aug 13 7:20:57 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7406337B401 for ; Tue, 13 Aug 2002 07:20:49 -0700 (PDT) Received: from sequel.rsm.ru (sequel.rsm.ru [217.23.86.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A68E243E3B for ; Tue, 13 Aug 2002 07:20:47 -0700 (PDT) (envelope-from aga@rsm.ru) Received: from rsm.ru (up.rsm.ru [217.23.86.16]) by sequel.rsm.ru (8.11.1/8.11.1/RSM-3.1-s-av) with ESMTP id g7DEKic39423 for ; Tue, 13 Aug 2002 18:20:44 +0400 (MSD) Message-ID: <3D5915BC.30609@rsm.ru> Date: Tue, 13 Aug 2002 18:20:44 +0400 From: Dmitry Agafonov Organization: Radioservice Mobile, Saratov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: ru, en MIME-Version: 1.0 To: stable@FreeBSD.ORG Subject: Re: Need instructions: build kernel on one machine; install on another References: <5.1.0.14.2.20020813084802.037d9498@magpie.zpfe.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: OK Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Steve Peterson wrote: > Hi -- I'm looking for a pointer to instructions on how to take a kernel > built on one machine and install it on another. I checked the handbook > and the FAQ to no avail, and did some searching of the mailing list that > came up empty. I've built & installed kernels using "make buildkernel ; > make installkernel", so I'm not a total newbie to kernel building. > > If the answer is to go and look at the "installkernel" target in the > makefile, I can handle that, but wanted to check with the list to see if > there's anything I should be paying attention to. > > I'd be happy to take whatever I get in terms of instructions and write > it up as a FAQ entry. > > S > We have compiled kernels (make buildkernel KERNCONF=LALALA) on one machine, and then after nfs-mounting /usr/src and /usr/obj to target machine - make installkernel KERNCONF=LALALA This works fine and is very good for poor-cpu/ram machines :) The question still remains - can one build a number of kernels and then install them? This will save some time on updating a number of machines: 3 steps (cvsup'ing and world and kernel(s) building) may be fully automated. Is anybody thinking of UPGRADE.sh script :) -- Dmitry Agafonov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message