Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo hangs on "Loading initial ramdisk"
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
nxe9
n00b
n00b


Joined: 05 Jun 2021
Posts: 74

PostPosted: Tue Oct 22, 2024 6:51 pm    Post subject: Gentoo hangs on "Loading initial ramdisk" Reply with quote

Hi, I am asking for help again :).

I'm trying to boot with encrypted root. The vfat parition (/boot) is not encrypted and I have grub as boot loader.

The grub window appears, then the console hangs during startup. They are basically two consoles that overlap.

First console:
Code:
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Measured initrd data into PCR 9


Second console:
Code:
Loading Linux 6.10.14-gentoo ...
Loading initial ramdisk ...

This is where it freezes.

Hardware: ThinkPad E14 Ultra 7 155H
Kernel: I first tried 6.6.52, same problem, currently 6.10.14 because in 6.6 the Intel graphics in this processor were probably not stable yet. My live usb is arch 6.10.10.
lspci -nnk output: https://bpa.st/5NVWE

I know there have been a lot of threads on this topic and the problem is often the lack of a framebuffer option in the kernel, which is why the console does not display everything.

Code:
Device Drivers / Graphics support / Console display driver support
[*] Framebuffer Console support


Code:
Device Drivers / Graphics support / Frame buffer Devices
(other options are not active here)
<*> Support for frame buffer device drivers[
   [*] VESA...
   [*] EFI
<*> Simple framebuffer support
[*] Provide legacy /dev/fb* device

I'm not sure about the last one " Provide legacy /dev/fb* device". Should it be deactivated? Or maybe the problem is somewhere else?

UPDATE: Same behavior after changing Provide legacy /dev/fb* device to [] (disabled).

UPDATE2: Could this be related to the microcode? https://forums.gentoo.org/viewtopic-p-8830499.html#8830499
From what I read, grub loads intel-uc.img automatically. But is there also dracut that also does this automatically using the initramfs that I generated with it? I don't know myself...
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4992
Location: Bavaria

PostPosted: Tue Oct 22, 2024 7:57 pm    Post subject: Reply with quote

Have you tried to make an UKI?

If yes, please read: https://forums.gentoo.org/viewtopic-t-1171401.html

If no, we would need to know all your steps you did for this installation.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
nxe9
n00b
n00b


Joined: 05 Jun 2021
Posts: 74

PostPosted: Tue Oct 22, 2024 11:12 pm    Post subject: Reply with quote

Probably not UKI, unless I'm not fully aware of it and it's happening via the installkernel with the dracut flag behind my back.

I will paste my cheat sheet, which includes almost all the installation steps and is based on the gentoo handbook. It'll probably be easier this way. The listed kernel options are the options that I chose myself.
https://bpa.st/GBXRQ "#" means comment or commands I didn't use. So these lines can be omitted.

Thank you for your help.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4992
Location: Bavaria

PostPosted: Wed Oct 23, 2024 12:16 am    Post subject: Reply with quote

nxe9 wrote:
I will paste my cheat sheet, which includes almost all the installation steps and is based on the gentoo handbook. It'll probably be easier this way. The listed kernel options are the options that I chose myself [...]

This is one of the best things you can do; it not only helps you in the future, but also us. :D


I see you are trying to use the Gentoo sources and combine them with dracut. If you use our distribution kernel, (almost) all modules are already configured ... and ... some options are already enabled correctly. This is (unfortunately) not the case with the default configuration of the sources. For example, a very important option is missing there:
Code:
Processor type and features  --->
    [*] Intel Low Power Subsystem Support

(see also later in first deep link I give you)

This module activates other (important) kernel modules. Also, you have not activated an ethernet module (the initramfs that is created by dracut can only load the required kernel modules if they have been created during “make”). Long story short: a lot is missing.


I see two options to continue:

1. The simple one: use our binary Gentoo dist-kernel (sys-kernel/gentoo-kernel-bin), or

2. Read these two articles (completely) ... you might want to change your mind afterwards and step back to option 1 ... :lol:

* https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel#Essential_Options

Scroll up and you will see there: Please read User:Pietinger/Tutorials/Manual_kernel_configuration before you start here ! This is:

* https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration

(Read really all; an important chapter for example is: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Driver_needs_Firmware )

If you really want to go this way, you should (after reading all) start here:

https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Before_you_start
(do everything mentioned in number 2)
_________________
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