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 A68B5158086 for ; Wed, 17 Nov 2021 23:15:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6E6BE08EF; Wed, 17 Nov 2021 23:15:37 +0000 (UTC) Received: from smtp.hosts.co.uk (smtp.hosts.co.uk [85.233.160.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7565CE086D for ; Wed, 17 Nov 2021 23:15:31 +0000 (UTC) Received: from host81-132-12-162.range81-132.btcentralplus.com ([81.132.12.162] helo=[192.168.1.65]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1mnU9K-000Ajq-7E for gentoo-user@lists.gentoo.org; Wed, 17 Nov 2021 23:15:30 +0000 Message-ID: Date: Wed, 17 Nov 2021 23:15:30 +0000 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 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Content-Language: en-GB To: gentoo-user@lists.gentoo.org From: Wol Subject: [gentoo-user] Why has genkernel initramfs changed behaviour!? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 833cce1f-5d55-49c7-b82d-f9ec004a6c03 X-Archives-Hash: 1f41c20ecd8cec547720503a1d14c53a 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 ... Cheers, Wol