pieroproietti / penguins-eggs

On the road of Remastersys, Refracta, Systemback and father Knoppix!
https://penguins-eggs.net
374 stars 41 forks source link

Manjaro failed to start load kernel modules #340

Closed shah-newaz closed 4 months ago

shah-newaz commented 4 months ago

Hi, since the latest upgrades (starting from 9.6.34), I'm getting "Failed to start Load Kernel Modules" See 'systemctl status systemd-modules-load.service' on live USB.

Note: I upgraded my kernel to 6.7 (was 6.6 LTS on fresh Manjaro install). Note: I have an Nvidia graphics card.

Is there a way I can build a generic ISO without proprietary drivers? If you know how I can remove proprietary drivers from kernel, I'll do that if needed.

As always, thank you so much for the continued great work!

shah-newaz commented 4 months ago

P.S. I was facing the same issue with Garuda Linux

shah-newaz commented 4 months ago

Update: The load kernel modules error is gone after I removed nvidia drivers (proprietary) but the boot is still stuck after "[started] Modem Manager" forever. No errors ( I removed quiet splash to see the logs).

Also, tried with ibt=off flag in kernel params.

No luck yet.

pieroproietti commented 4 months ago

Hi @shah-newaz

A temporary work around can be remove nvidia from your system, create the ISO and put yours drive back. Eggs use the configuration of the janitor at last.

Of course will be better to have Is owen configuration.

shah-newaz commented 4 months ago

@pieroproietti Thanks for the reply! Tried that with no luck as well.. How do I know exactly what is failing?

shah-newaz commented 4 months ago

It does not let me into another tty by pressing ctrl + alt + F2,3 etc

shah-newaz commented 4 months ago

I'm suspecting it could be the window manager. Just tested that it's booting fine on VirtualBox..

shah-newaz commented 4 months ago

So, turns out, it's finding one of the network devices down. It says enp3s0 link is down and then the kernel panics. The original Manjaro image doesn't have this issue. Reading from different sources, one of the guys said it's related to nvidia GPU fans not turning on automatically. I remember Manjaro runs mwhd during the boot process to auto detect graphics hardware and initiate them. Maybe I need to do similar?

20240312_180036

shah-newaz commented 4 months ago

So, I figured out.. It was my latest kernel that didn't have the driver for my network adapter.

For people facing similar issue in the future where your boot is stuck without any error, do these steps to identify the issue:

Hope this helps someone!

This is not a Eggs specific problem. Closing it.

Thanks a lot @pieroproietti for the help and excellent project.