Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] New install, EFI stub error on boot...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Sun Mar 10, 2024 7:54 pm    Post subject: [Solved] New install, EFI stub error on boot... Reply with quote

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
View user's profile Send private message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Sun Mar 10, 2024 8:20 pm    Post subject: Reply with quote

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). :oops:

Seems to be working fine now.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4157
Location: Bavaria

PostPosted: Sun Mar 10, 2024 8:28 pm    Post subject: Reply with quote

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
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Sun Mar 10, 2024 8:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4157
Location: Bavaria

PostPosted: Mon Mar 11, 2024 1:51 am    Post subject: Reply with quote

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
View user's profile Send private message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Mon Mar 11, 2024 4:37 am    Post subject: Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4157
Location: Bavaria

PostPosted: Mon Mar 11, 2024 2:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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