View previous topic :: View next topic |
Author |
Message |
nxe9 Tux's lil' helper
Joined: 05 Jun 2021 Posts: 75
|
Posted: Tue Oct 22, 2024 6:51 pm Post subject: Gentoo hangs on "Loading initial ramdisk" |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4992 Location: Bavaria
|
|
Back to top |
|
|
nxe9 Tux's lil' helper
Joined: 05 Jun 2021 Posts: 75
|
Posted: Tue Oct 22, 2024 11:12 pm Post subject: |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4992 Location: Bavaria
|
|
Back to top |
|
|
nxe9 Tux's lil' helper
Joined: 05 Jun 2021 Posts: 75
|
Posted: Wed Oct 23, 2024 1:17 am Post subject: |
|
|
Thank you. Your contribution to documenting everything is great.
I quickly tried to add a few options from your entries, but it did not result in proper booting. The next day I would like to read your entries carefully, but now I am wondering if it is worth it.
I have not dealt with the topic of kernel distribution so far. I thought that it only made compilation and installation easier. However, now I am reading that "Distribution kernels default to a configuration supporting the majority of hardware". To be honest, I always thought that the default kernel configuration was already prepared for most devices and only required light tuning. For years, I used two other systems with a very simple manual configuration based on entries from the Gentoo wiki, and the systems worked without problems and very stably. So I guess I have to revise my views.
In short, if the distribution kernel is better configured by default, it will probably be better if I read the article about the distribution kernel and choose this route.
I will keep you posted on my progress. |
|
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
|
|