From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 60C55158086 for ; Thu, 18 Nov 2021 11:05:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 138E72BC006; Thu, 18 Nov 2021 11:05:34 +0000 (UTC) Received: from gw1.antarean.org (gw1.antarean.org [194.145.200.214]) by pigeon.gentoo.org (Postfix) with ESMTP id 92BBCE0824 for ; Thu, 18 Nov 2021 11:05:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 4Hvxlh6YPhzyXy for ; Thu, 18 Nov 2021 12:05:04 +0100 (CET) X-Virus-Scanned: amavisd-new at antarean.org Received: from gw1.antarean.org ([127.0.0.1]) by localhost (gw1.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m56_rzjBoQ4l for ; Thu, 18 Nov 2021 12:05:04 +0100 (CET) Received: from mailstore1.adm.antarean.org (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 4Hvxlh4JVszyNm for ; Thu, 18 Nov 2021 12:05:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailstore1.adm.antarean.org (Postfix) with ESMTP id 4Hvxm21hdBz17 for ; Thu, 18 Nov 2021 12:05:22 +0100 (CET) X-Virus-Scanned: amavisd-new at antarean.org Received: from mailstore1.adm.antarean.org ([127.0.0.1]) by localhost (mailstore1.adm.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MjiYY8Wunztl for ; Thu, 18 Nov 2021 12:05:22 +0100 (CET) Received: from iris.localnet (iris.adm.antarean.org [10.55.16.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailstore1.adm.antarean.org (Postfix) with ESMTPSA id 4Hvxm204Kkz13 for ; Thu, 18 Nov 2021 12:05:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=antarean.org; s=default; t=1637233522; bh=JLyLRmH28fFL2F7qSzHwcvshkXx82h++ztvtui/N/3A=; h=From:To:Subject:Date:In-Reply-To:References; b=Yha33ToyKTBW1x/W8Mi2emezFGo1GXYWGZLWlb3Qi7+ldhWiFh49CW5r15pUdyin8 oZyINYTCWFqS53CRrDdYHFL5v5koLz3YqTd/6R7j7XUPKmsnuhYxqfqqqp1bbWhSZk 1o1hhT7rDFUqnGBy2UscPE5B2bSP7z1JgYB5nKwI= From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Why has genkernel initramfs changed behaviour!? Date: Thu, 18 Nov 2021 12:05:21 +0100 Message-ID: <2088645.irdbgypaU6@iris> In-Reply-To: <20211118103157.2c0d53f8@digimed.co.uk> References: <11872233.O9o76ZdvQC@iris> <20211118103157.2c0d53f8@digimed.co.uk> 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: 851a4045-61d5-4aa4-a540-b4430016c581 X-Archives-Hash: d2b596c42858ed39c53036ee38ae7e60 On Thursday, November 18, 2021 11:31:57 AM CET Neil Bothwick wrote: > On Thu, 18 Nov 2021 09:12:41 +0100, J. Roeleveld wrote: > > I've never been happy with genkernel and roll my own using a > > config-file that's configured directly into the kernel. > > All it needs to do is enable LVM, mount the partitions and then > > continue with booting. On my laptop, it also decrypts the partition > > that contains LVM. All very simple and easy. > > I used to do the same, building the initramfs into the kernel, avoiding > the need for a separate file. But now I use dracut, which does it all for > me without the need for me to keep on top it. My script is simpler and faster than what dracut or genkernel come up with. I also only need to enter a decryption password once, with dracut and genkernel, that is not (easily?) to set up. I actually did the opposite as I got fed up with trying to get dracut and genkernel to produce something that would actually boot properly without too many questions during boot. -- Joost