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 06DDE158086 for ; Thu, 18 Nov 2021 08:12:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7921CE091C; Thu, 18 Nov 2021 08:12:46 +0000 (UTC) Received: from gw1.antarean.org (gw1.antarean.org [194.145.200.214]) by pigeon.gentoo.org (Postfix) with ESMTP id 56324E08D3 for ; Thu, 18 Nov 2021 08:12:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 4HvswT6N3Nz152m for ; Thu, 18 Nov 2021 09:12:25 +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 WA-KCfmq-TOw for ; Thu, 18 Nov 2021 09:12:25 +0100 (CET) Received: from mailstore1.adm.antarean.org (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 4HvswT2F3Kz152k for ; Thu, 18 Nov 2021 09:12:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailstore1.adm.antarean.org (Postfix) with ESMTP id 4Hvswp030Gz17 for ; Thu, 18 Nov 2021 09:12:42 +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 7iIG9IcnJJZq for ; Thu, 18 Nov 2021 09:12:41 +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 4Hvswn57ylz13 for ; Thu, 18 Nov 2021 09:12:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=antarean.org; s=default; t=1637223161; bh=F24p2AtMnHCp3CVA8FIc0W9DMMD8gOmbWHy9WcKyDSg=; h=From:To:Subject:Date:In-Reply-To:References; b=dYF58YFNUKzT4s9lBMW0E1j0NyXBX+sk3dxGfwKK8EKUE5QsftOG2XVd3v1KB0Wz7 irfdl1zpr0jtaS8BtRdB5JeDChjbzQHQ3DfDRq6wE3ZeY+G1JYYyPYHroz14BGYf0i aDdWemgYkbTeWjvXs641GRN7f0jsr9jbAMaFZgro= From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Why has genkernel initramfs changed behaviour!? Date: Thu, 18 Nov 2021 09:12:41 +0100 Message-ID: <11872233.O9o76ZdvQC@iris> In-Reply-To: References: 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: dbf80796-7d93-4546-9bf1-b29d65a8917c X-Archives-Hash: d5efc2beee296cce52f92931a5dcc37c On Thursday, November 18, 2021 12:15:30 AM CET Wol wrote: > Just filed bug 824282. > > In the past, I've always done "make kernel, make kernel_modules, make > install, make modules_install, genkernel initramfs ...". > > This worked fine, and I then ran grub-mkconfig, sorted out grub.cfg, and > all was well. > > My new setup, I have a /boot WHICH I WANT TO SORT OUT MYSELF! I got > thoroughly confused because genkernel was finding /boot in fstab, > mounting it by default, and sticking the initramfs there. So of course, > grub-mkconfig screwed up because the kernel was in the /boot directory, > but the initramfs was in the /boot partition! > > So I told genkernel not to mount the boot partition ... > > WAH WAH WAH FATAL ERROR YOU WON'T LET ME MOUNT BOOT SULK SULK SULK. > > If I tell it not to mount boot then that's my lookout, not for genconfig > to nanny me and sulk! > > > And it gets worse. I've always done "make modules_install, genkernel > initramfs". Which now seems to be an unsupported option. genkernel is > now looking in /var/tmp/genkernel/... for the modules - no surprise the > modules aren't there! The error says "did you forget to compile the > kernel" - no I didn't - it is compiled, the modules are installed, I > just didn't use genkernel to do it. > > Why oh why does everything change ... for the worse ... now let's see if > allowing it to mount the boot partition makes it work properly ... > > and allowing it to mount boot made everything work perfectly afaict ... > what a mess ... 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. For this reason, I'm also not happy with the mandatory dependency on "sys- kernel/installkernel-gentoo" -- Joost