From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JOBYD-0004le-Rx for garchives@archives.gentoo.org; Sun, 10 Feb 2008 12:44:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FAF0E03D9; Sun, 10 Feb 2008 12:44:52 +0000 (UTC) Received: from iil.ie (mms2.iil.ie [217.78.9.37]) by pigeon.gentoo.org (Postfix) with ESMTP id B57EDE03D9 for ; Sun, 10 Feb 2008 12:44:51 +0000 (UTC) Received: from [192.168.55.241] by mms2.iil.ie (MDaemon PRO v9.6.3) with ESMTP id md50000444062.msg for ; Sun, 10 Feb 2008 12:44:54 +0000 Message-ID: <47AEF1BC.8060906@iil.ie> Date: Sun, 10 Feb 2008 12:44:44 +0000 From: =?ISO-8859-1?Q?=22Todd_M=2E_H=E9bert=22?= Organization: Internet Ireland User-Agent: Thunderbird 2.0.0.9 (X11/20071202) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@lists.gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 To: gentoo-server@lists.gentoo.org Subject: Re: [gentoo-server] binary kernel package References: <200802101215.14304.bangert@gentoo.org> In-Reply-To: <200802101215.14304.bangert@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MDPtrLookup-Result: pass dns.ptr=86-42-244-19.b-ras2.cld.dublin.eircom.net (ip=86.42.244.19) (mms2.iil.ie) X-MDHeloLookup-Result: hardfail smtp.helo=[192.168.55.241] (does not match 86.42.244.19) (mms2.iil.ie) X-Authenticated-Sender: todd@iil.ie X-Spam-Processed: mms2.iil.ie, Sun, 10 Feb 2008 12:44:54 +0000 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 86.42.244.19 X-Return-Path: prvs=19261abf4a=todd@iil.ie X-Envelope-From: todd@iil.ie X-MDaemon-Deliver-To: gentoo-server@lists.gentoo.org X-MDAV-Processed: mms2.iil.ie, Sun, 10 Feb 2008 12:44:54 +0000 X-Archives-Salt: 495706df-67ed-4d15-92eb-e6cb29106fd4 X-Archives-Hash: d37700cfc329f3fabe9304fea26fd079 If the servers are all identical hardware, I would just build one machine, then boot each other box off a live CD, and dd the contents of the entire drive/array over. (You could do this partition by partition as well.. but if you do the whole drive/array you only have to do it once.) dd if=/dev/ | ssh root@host "dd of=/dev" That should do it. (as long as the hardware is identical.) Of course.. it will take time to transfer, and you'll have to change the IP's & hostname of each server. This is a lot like making & deploying a GHOST image.. it's just skipping the "make" part and moving right to deploy. You could also send it to a file, then DD the file into place on each host from a DVD if they're small enough (or bzip2 compress them to see if they can be made to fit.) If you're doing machines that aren't identical, but you can use a standard structure for most disk elements (same size /boot, /, /var, /usr, etc..) you can build one machine, create an image for each of the standard partitions, and dd those over. You could create a tarball that has the kernel, including /boot, /usr/src, /lib/modules etc.., but you might not end up with world files that are in-step with what's actually on the machine. I hope this is helpful. --Todd Thilo Bangert wrote: > Hi guys, > > in the near future i am looking at installing gentoo onto a number of > hosts. i already have a buildhost preparing binary packages for the > clients - one of the missing pieces is the kernel install. > > i'd like to avoid having to compile a kernel on each and every host. how > do you install a prebuilt kernel onto the host, fx. after having deployed > a stage4 using quickstart? the best thing i can come up with is writing > my own custom script, which pulls a tarball via http. the tarball has the > modules, the initrd and the kernel... > > thanks. > kind regards > Thilo ----- Items below this line are required under Irish law. ----- ********************************************************************** "Private Confidential & Privileged" This Email and any files and attachments transmitted with it are confidential and/or privileged. They are intended solely for the use of the intended recipient. Any views and opinions expressed are those of the individual author/sender and are not necessarily shared or endorsed by Independent Newspapers (Ireland) Limited or any associated or related company. The content of this Email and any file or attachment transmitted with it may have been changed or altered without the consent of the author. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation or transmission of this Email and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this Email or any file attachment transmitted with it in error, please notify support@iil.ie or contact Systems Administrator Tel: +353 (1) 411 2244 Internet Interaction Limited 3050 Lake Drive, Citywest digital Park, Co Dublin CRO # 247783 -- gentoo-server@lists.gentoo.org mailing list