From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F15411381FB for ; Thu, 27 Dec 2012 17:35:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 489F821C1FD; Thu, 27 Dec 2012 17:35:20 +0000 (UTC) Received: from mail-qa0-f48.google.com (mail-qa0-f48.google.com [209.85.216.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4352221C08A for ; Thu, 27 Dec 2012 17:33:48 +0000 (UTC) Received: by mail-qa0-f48.google.com with SMTP id l8so6338887qaq.14 for ; Thu, 27 Dec 2012 09:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rLnkroyLOlpCQw5kJk3Jz1GlzArDq7BfPXedgpdEKrQ=; b=j2a/KDniemI0U9uKCdFn8O+Q3g2Y2ByWAG6VpzPnQ/6M8UScch8EK+IEdQpFutKhCa zo1xaa0o+V6dks05iRjsXfaO4aLCHQrn3sw1qH3J2e9ybACW7PrjepUttuBRsSX/5RfR hBN6kLWNnyykrsAT6xXxfzq8vkRFS2XwbEHDaCY8xUNgcVLGYqYf6mTTkZmHGxdEILVl ax2oSdLgL11jpUEH0lSnG9jc3qRHnr8B+zaW8o6SMXpbtrlbvCR5IshzOPbF1Xm6GkyE xiFwDM07ym6in1Qe1+ZL0hnI/jYXQMn+F534CSW6tN1ycQ9d6FS3iCdA3gUsaLH3znEu l3IA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.49.75.226 with SMTP id f2mr17178813qew.43.1356629628308; Thu, 27 Dec 2012 09:33:48 -0800 (PST) Received: by 10.229.186.132 with HTTP; Thu, 27 Dec 2012 09:33:48 -0800 (PST) In-Reply-To: References: <20121226170926.6a67f4a9@digimed.co.uk> <20121226230351.2891bf5e@digimed.co.uk> Date: Thu, 27 Dec 2012 09:33:48 -0800 Message-ID: Subject: Re: [gentoo-user] Building an initramfs into the kernel From: Mark Knecht To: Gentoo User Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 7d0b00eb-7eb1-4acb-9d6c-51493cc5ad16 X-Archives-Hash: 756219537e14e17d82fe25c2b064b671 On Wed, Dec 26, 2012 at 3:50 PM, Mark Knecht wrote: > On Wed, Dec 26, 2012 at 3:03 PM, Neil Bothwick wrote: >> On Wed, 26 Dec 2012 14:09:34 -0800, Mark Knecht wrote: >> >>> At this point I don't know that 1) the image is actually in the >>> kernel, or 2) that my "init thingy" ;-) image would work, but at least >>> the process of putting it together is verifiable. >> >> That's why I put in all the debug stuff, so I could watch the progress of >> the script as it ran. >> > > > OK, I'll look at combining that part my my scripts, or just using yours, etc. > > Thanks for the help, > Mark Neil, One more question if I might. What's the simplest way to regenerate the kernel when there are no kernel changes but you have changes to the programs that are going into the initramfs? make clean seems like overkill to me, and it's very slow to boot. I suspect that one of the simplest failures on an initramfs is that you update something that's contained in the initramfs, mdadm or busybox or whatever, and then don't get that new stuff into the initramfs. Seems like I need to be right on top of what I'm keeping in it and make sure a new kernel gets generated any time those packages are updated. Correct? Anyway, I'm wondering how you manage that? Should be booting my first kernel with the initramfs in it shortly. We'll see how that goes. Thanks, Mark