View previous topic :: View next topic |
Author |
Message |
pizza-rat Tux's lil' helper
Joined: 23 Dec 2022 Posts: 81
|
Posted: Sun Mar 10, 2024 7:54 pm Post subject: [Solved] New install, EFI stub error on boot... |
|
|
Just finished a new install of gentoo, following the installation guide. When I try to boot into the installed system, I get
Code: | Loading Linux 6.6.13-gentoo...
Loading initial ramdisk... |
and then
Code: | EFI stub: loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path |
appears overlapping the initial two lines, and I can't progress. Have I missed a kernel setting somewhere? Here's my config: https://pastebin.com/eUA55WH8
I followed the install guide very closely, only thing that stands out to me that I did differently is that I didn't set up installkernel (because I did what I think it does manually last I used gentoo). I'm also using grub on its own, it didn't sound like efibootmgr was required as well? GPU is nvidia. I've rebuilt the kernel, generated the initramfs with dracut again, and re-run grub-mkconfig since I last edited my kernel config.
Any ideas?
Edit: not sure if this is relevant, but I figured I should mention that I installed gentoo from a seperate drive running Debian this time rather than using the minimal installation image.
Last edited by pizza-rat on Sun Mar 10, 2024 8:21 pm; edited 1 time in total |
|
Back to top |
|
|
pizza-rat Tux's lil' helper
Joined: 23 Dec 2022 Posts: 81
|
Posted: Sun Mar 10, 2024 8:20 pm Post subject: |
|
|
Update: I am a dunce who forgot to 'make install' after 'make && make modules_install' after my most recent changes to my kernel config (framebuffer/nvidia related settings, for anybody who ends up here via google).
Seems to be working fine now. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
|
Back to top |
|
|
pizza-rat Tux's lil' helper
Joined: 23 Dec 2022 Posts: 81
|
Posted: Sun Mar 10, 2024 8:43 pm Post subject: |
|
|
pietinger wrote: | Great it works again ... but in the meantime I have looked at the kernel .config and have seen some settings which are necessary if it is a notebook (1) or can lead to a big performance impact (2) or should be enabled always (3):
Code: | 1
# CONFIG_X86_INTEL_LPSS is not set
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
2
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
3
# CONFIG_IRQ_REMAP is not set |
I have described it in more detail here: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6 |
Thanks for the tips, I have a lot to learn about kernel optimization. I don't have a notebook so 1 isn't an issue. As for 2, is userspace still a poor setting for a desktop PC rather than a notebook or server? 3 I will enable. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
Posted: Mon Mar 11, 2024 1:51 am Post subject: |
|
|
pizza-rat wrote: | [...] is userspace still a poor setting for a desktop PC rather than a notebook or server? [...] |
If there is no user application that controls the cpu frequency, then your cpu is normally running permanently at the min frequency. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
pizza-rat Tux's lil' helper
Joined: 23 Dec 2022 Posts: 81
|
Posted: Mon Mar 11, 2024 4:37 am Post subject: |
|
|
pietinger wrote: | pizza-rat wrote: | [...] is userspace still a poor setting for a desktop PC rather than a notebook or server? [...] |
If there is no user application that controls the cpu frequency, then your cpu is normally running permanently at the min frequency. |
I see. I'll change it, then. What setting is recommended? I see the wiki says "ondemand" but despite having it enabled, I can only select between performance, powersave, userspace and schedutil. Do I perhaps have to have these alternative modes enabled as modules rather than baked in? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
Posted: Mon Mar 11, 2024 2:10 pm Post subject: |
|
|
pizza-rat wrote: | [...] What setting is recommended? [...] Do I perhaps have to have these alternative modes enabled as modules rather than baked in? |
I am using "schedutil" ... and AFAIR there was a recommendation for it somewhere (cannot remember where) for a simple desktop. Powersafe is recommended for a notebook and performance for a server (which has virtually no idle times anyway). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
|