From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R25f4-0002sm-If for garchives@archives.gentoo.org; Fri, 09 Sep 2011 18:18:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5930F21C141; Fri, 9 Sep 2011 18:18:37 +0000 (UTC) Received: from karnak.local (cpc2-lutn10-2-0-cust603.9-3.cable.virginmedia.com [81.97.90.92]) by pigeon.gentoo.org (Postfix) with ESMTP id 2EB7321C12A for ; Fri, 9 Sep 2011 18:17:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by karnak.local (Postfix) with ESMTP id 251C03003 for ; Fri, 9 Sep 2011 19:17:09 +0100 (BST) X-Virus-Scanned: by amavisd-new using ClamAV at karnak.local Received: from karnak.local ([127.0.0.1]) by localhost (karnak.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CJtV-StDa7+W for ; Fri, 9 Sep 2011 19:17:07 +0100 (BST) Received: from karnak.local (localhost [127.0.0.1]) by karnak.local (Postfix) with ESMTP id 7979D3002 for ; Fri, 9 Sep 2011 19:17:07 +0100 (BST) Date: Fri, 9 Sep 2011 19:16:59 +0100 From: David W Noon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /dev/sda* missing at boot Message-ID: <20110909191659.07706f45@karnak.local> In-Reply-To: <20110909134107.372f6fd9@weird.wonkology.org> References: <201108191109.34984.michaelkintzios@gmail.com> <20110907050952.GA2588@linux1> <4E66FFFA.2020600@gmail.com> <201109071923.39954.Dan.Johansson@dmj.nu> <20110907235457.691be720@zaphod.digimed.co.uk> <20110908023729.45d1b985@karnak.local> <20110909134107.372f6fd9@weird.wonkology.org> Organization: Luton Operatic Society X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; i686-pc-linux-gnu) 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_/zi946L1T347vkX58lyiiZiE"; protocol="application/pgp-signature" X-Archives-Salt: X-Archives-Hash: 3e7b0c5d4058aa915810bbf2d2d7ab43 --Sig_/zi946L1T347vkX58lyiiZiE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 9 Sep 2011 13:41:07 +0200, Alex Schuster wrote about Re: [gentoo-user] /dev/sda* missing at boot: > David W Noon writes: >=20 > > The more I think about this merge of / and /usr, the dumber I think > > the idea is. As I wrote in an earlier message on this list, the > > initramfs will be many times larger than the kernel itself. > > Indeed, my /boot partition is only 32 MiB, and that will be too > > small to contain all the extra libraries and programs to run the > > initramfs script. >=20 > Here, I only need 2.2 M for the kernel, 1.7 M for System.map, and 3.5 > M for the initramfs. My kernels are even smaller than yours: around 1.8MiB; and I have no initramfs at all -- currently. The problem is the initramfs will bloat out significantly once large run-time libraries are required for early housekeeping, such as fsck for various types of filesystem. In particular, the old e2fsck.static program has been dropped from e2fspprogs (about 3 years ago) and we now have the following: dwn@karnak ~ % ldd /sbin/e2fsck linux-gate.so.1 =3D> (0xb7832000) libext2fs.so.2 =3D> /lib/libext2fs.so.2 (0xb77c1000) libcom_err.so.2 =3D> /lib/libcom_err.so.2 (0xb77bd000) libblkid.so.1 =3D> /lib/libblkid.so.1 (0xb7798000) libuuid.so.1 =3D> /lib/libuuid.so.1 (0xb7793000) libe2p.so.2 =3D> /lib/libe2p.so.2 (0xb778b000) libc.so.6 =3D> /lib/libc.so.6 (0xb7604000) libpthread.so.0 =3D> /lib/libpthread.so.0 (0xb75ea000) /lib/ld-linux.so.2 (0xb7833000) As you can see, the fsck utility for ext2/3/4 filesystems requires glibc and libpthread, as well as its smaller custom libraries. Putting all the run-time libraries into the initramfs will make it both large and a maintenance chore. What kind of libraries do you have inside your initramfs? --=20 Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwnoon@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* --Sig_/zi946L1T347vkX58lyiiZiE Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk5qWCMACgkQc9/LpQ70v48gkACaA0axTx/33u5svfwJH6rRWr2S 1I4AoIBLvg52WzZAjr22aBJ+Qh4QG9ks =akVr -----END PGP SIGNATURE----- --Sig_/zi946L1T347vkX58lyiiZiE--