View previous topic :: View next topic |
Author |
Message |
dieCooler n00b

Joined: 24 May 2025 Posts: 1
|
Posted: Sat May 24, 2025 5:43 pm Post subject: distribution kernel pre-check assumes no efi partition |
|
|
Hi, new gentoo user. Been following the handbook to install gentoo on my laptop. Trying to use the desktop (openrc) profile, with GRUB bootloader. I have configured some USE flags, everything worked until trying to compile the kernel itself. I have been trying to set it up with secure boot, so module signing flags are enabled, with a key I generated. When I try to emerge sys-kernel/gentoo-kernel, the compile seems to go somewhere (takes a lot of time, at least), but it ends up failing and giving me 'emake failed' with no additional information. I tried reducing my makeopts from -j4 -l5 to -j3 -l4 (I have a 2-core/4thread CPU with 8GB RAM, 12GB swap configured). This still resulted in the same issue, so I don't think it's memory.
The red flag I see is that when I emerge gentoo-kernel, the pre-build checks say:
Assuming you do not have a separate /boot partition.
Assuming you do not have a separate /efi partition.
Assuming you do not have a separate /boot/efi partition.
Assuming you do not have a separate /boot/EFI partition.
I saw on other threads that there were some issues with the intramfs flag causing this, but at least per my understanding, I do need intramfs for the distribution kernel. This is a UEFI machine, and I did set up an EFI partition earlier on. The handbook didn't seem to say to mount anything to that, and instructed to create the directory mnt/gentoo/efi. I assumed the EFI partition would get something mounted to it later in the install during bootloader setup, but maybe I made a mistake?
If it also helps, I did emerge sys-kernel/installkernel with the grub use flag enabled in make.conf, which had no issues compiling.
My apologies for not showing the log, since I have no way of copying text from that machine yet, I figured I'd first ask and type out the log if needed.  _________________ I have no idea what I am doing, please forgive me. |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5782 Location: Bavaria
|
|
Back to top |
|
 |
Nowa Developer


Joined: 25 Jun 2014 Posts: 490 Location: Nijmegen
|
Posted: Sun May 25, 2025 7:23 am Post subject: |
|
|
Quote: | but it ends up failing and giving me 'emake failed' with no additional information. |
If the emake is failing then it is failing to build, well before the ESP is relevant. Those warnings you are seeing are just small checks to verify that any relevant partition mentioned in the fstab is mounted.
We will need to see the build log to figure out what is going on. A usual suspect when there is no clear failure is a module signing issue. Does your key require a passphrase?
Quote: | My apologies for not showing the log, since I have no way of copying text from that machine yet, |
You can use app-text/wgetpaste to paste and share your log online. _________________ OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400 |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|