public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Wol <antlists@youngman.org.uk>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Why has genkernel initramfs changed behaviour!?
Date: Wed, 17 Nov 2021 23:15:30 +0000	[thread overview]
Message-ID: <e99d0d98-125b-e671-8189-2cbccbed7043@youngman.org.uk> (raw)

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


             reply	other threads:[~2021-11-17 23:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17 23:15 Wol [this message]
2021-11-17 23:24 ` [gentoo-user] Why has genkernel initramfs changed behaviour!? Jack
2021-11-17 23:52   ` William Kenworthy
2021-11-18  8:12 ` J. Roeleveld
2021-11-18 10:31   ` Neil Bothwick
2021-11-18 11:05     ` J. Roeleveld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e99d0d98-125b-e671-8189-2cbccbed7043@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox