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 B6976138247 for ; Sun, 17 Nov 2013 12:57:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BF47E09C1; Sun, 17 Nov 2013 12:57:39 +0000 (UTC) Received: from homiemail-a46.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by pigeon.gentoo.org (Postfix) with ESMTP id 24EADE08EA for ; Sun, 17 Nov 2013 12:57:37 +0000 (UTC) Received: from homiemail-a46.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a46.g.dreamhost.com (Postfix) with ESMTP id 634603E405C for ; Sun, 17 Nov 2013 04:57:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=libertytrek.org; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s= libertytrek.org; bh=9QuoTM/k59ZsiBQHUV8e/KsVekI=; b=bheF/xYNiTKR OKCsuU6izgYHT73dNWW7hlBaiaiqon9ydo0JY1uyWtMS0O0ABUurh4l8gjimKOio 6Sf5xuuesGH8BRwRexmJ47f86jqqjDscS/wrIGhta4A59Qyz/nnqdS83NIlRqF5q lvG0YIG6LdWF2YojUoo1Jr0aBpwmyzk= Received: from [127.0.0.1] (unknown [159.63.145.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tanstaafl@libertytrek.org) by homiemail-a46.g.dreamhost.com (Postfix) with ESMTPSA id 468FA3E405B for ; Sun, 17 Nov 2013 04:57:37 -0800 (PST) Message-ID: <5288BD25.3040605@libertytrek.org> Date: Sun, 17 Nov 2013 07:57:09 -0500 From: Tanstaafl User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] My first initramfs References: <5282A26D.7060504@libertytrek.org> <5282A3E7.4090006@libertytrek.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 315b2cdf-6997-4544-9f0d-56fd4df0eef2 X-Archives-Hash: 9fda8e8bfeadd0db44d772090449e5e4 On 2013-11-12 5:50 PM, Canek Pel=C3=A1ez Vald=C3=A9s w= rote: > You*MUST* add the necessary modules/tools to mount root and/or /usr. > So if you have an XFS partition on a LVM volume on top of an mdraid, > and the partition is encrypted, then you need the kernel modules for > xfs, lvm, mdraid and crypt, and the corresponding userspace tools, > including fsck.xfs. Ok, re-reading these messages, this explanation is probably the most=20 significant - thanks Canek - but I still have a few questions... Maybe part of my confusion stems from use of the word 'modules' above?=20 Remember, the system I am talking about has always had kernel module=20 support completely disabled (everything is built into the kernel). So, my /usr is reiserfs (built into the kernel - and please no=20 filesystem flame-war comments, it is what it is) on LVM (built into the=20 kernel) on hardware RAID (driver built into the kernel), with no=20 encryption involved. So, am I correct that I don't need ANY 'modules' (never have, and don't=20 want them), leaving only the userspace tools for lvm and reiserfsck? If so then the only other question is, how to build an initramfs with=20 just these... > I strongly recommend dracut; the modules listed in DRACUT_MODULES are > usually self explanatory, and it Just Works=E2=84=A2. Ok, well, emerge -pvuDN dracut gives: > [ebuild N ~] sys-kernel/dracut-034-r1 USE=3D"-debug -device-mapper= -net (-selinux)" DRACUT_MODULES=3D"-biosdevname -bootchart -btrfs -caps = -cifs -crypt -crypt-gpg -crypt-loop -dash -dmraid -dmsquash-live -genspla= sh -iscsi -livenet -lvm -mdraid -multipath -nbd -nfs -plymouth -ssh-clien= t -syslog -systemd" 272 kB First question: I don't see reference to reiserfs there anywhere, so how=20 do I get reiserfsck (and is that all I need?) support into the initrams? Second question: I guess I'd need to enable the device-mapper USE flag=20 for dracut, but, since I do not use ANY kernel modules, can I ignore all=20 of the 'DRACUT_MODULES'? Or do 'DRACUT_MODULES' have nothing to do with=20 kernel modules? Thanks to all for your patience...