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 7AC8E1381FB for ; Wed, 26 Dec 2012 23:06:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FFAC21C0F0; Wed, 26 Dec 2012 23:05:47 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 878F721C0E0 for ; Wed, 26 Dec 2012 23:03:00 +0000 (UTC) Received: from digimed.co.uk (yooden.digimed.co.uk [192.168.1.6]) by mail.digimed.co.uk (Postfix) with ESMTPSA id 91F3080039 for ; Wed, 26 Dec 2012 23:02:59 +0000 (GMT) Date: Wed, 26 Dec 2012 23:02:54 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Building an initramfs into the kernel Message-ID: <20121226230254.632234ef@digimed.co.uk> In-Reply-To: References: <20121226170926.6a67f4a9@digimed.co.uk> Organization: Digital Media Production X-Mailer: Claws Mail 3.9.0cvs51 (GTK+ 2.24.14; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/tlwG0kez3+W8nJzuc6lFi53"; protocol="application/pgp-signature" X-Archives-Salt: f5854644-f2b8-47cf-a5d2-180f806fdd2f X-Archives-Hash: a96352485cab2e518b4b3d8484dd5c44 --Sig_/tlwG0kez3+W8nJzuc6lFi53 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 26 Dec 2012 12:48:38 -0800, Mark Knecht wrote: > On the mdadm list one comment came up which was to make sure > my mdadm.conf file was up to date and then include it in the initramfs > image so that if for some reason the machine doesn't boot I have all > the info required to start the RAIDs by hand. I thought that was a good > comment. That is a good idea. > One other question came up. So I build the kernel, and the kernel build > creates the initramfs image and embeds it in the kernel. Is there a tool > that would allow me to query the embedded image prior to booting > so that I can check that everything is in there that I think should be > in there? Yes. I had to do this once when I corrupted or deleted my init.sh and needed to retrieve it from the kernel. I don't remember the details, but I do recall it involved one of the scripts in the kernel source directory and the use of Google - although not in that order :) --=20 Neil Bothwick "I am a Cub Ranger. We dib dib dib for the One. We dob dob dob for the One." --Sig_/tlwG0kez3+W8nJzuc6lFi53 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlDbgiIACgkQum4al0N1GQNeawCgxs+US5LqWavz1shzWDNa2sLq bLQAn0dbOgpNv9uIWGus1PzeAmtUaSOj =J4XB -----END PGP SIGNATURE----- --Sig_/tlwG0kez3+W8nJzuc6lFi53--