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




Reply via email to