You are not logged in.

#26 2024-01-12 16:19:21

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Kernel doesn´t boot but no errors are on the screen

m-electronics wrote:

I would understand why the kernel config that I use for Gentoo also with systemd not works for archlinux

If you set-tup a working (Gentoo) kernel's .confg based on gentoo-sources, then said .confg wouldn't be suitable as-is here on Arch where you're foundamentally installing the "vanilla" ones.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#27 2024-01-15 13:07:54

m-electronics
Member
Registered: 2024-01-09
Posts: 20

Re: Kernel doesn´t boot but no errors are on the screen

Sorry that I didn´t answered so long. I didn´t seen the second page here. xD

And no. I´ve used a kernel archive from kernel.org what I´ve downloaded while the gentoo installation.
Then I also used the vanilla-sources there.

Last edited by m-electronics (2024-01-15 13:12:11)

Offline

#28 2024-01-15 13:09:38

m-electronics
Member
Registered: 2024-01-09
Posts: 20

Re: Kernel doesn´t boot but no errors are on the screen

d.ALT wrote:
m-electronics wrote:

I would understand why the kernel config that I use for Gentoo also with systemd not works for archlinux

If you set-tup a working (Gentoo) kernel's .confg based on gentoo-sources, then said .confg wouldn't be suitable as-is here on Arch where you're foundamentally installing the "vanilla" ones.


And I have did a typo in what you´ve quoted. I want to say "I want to understand why the config is not working for the vanilla kernel on archlinux"

Last edited by m-electronics (2024-01-15 13:12:50)

Offline

#29 2024-01-15 13:47:13

m-electronics
Member
Registered: 2024-01-09
Posts: 20

Re: Kernel doesn´t boot but no errors are on the screen

What I must say is that when I generate the initramfs (where I think I don´t need it because all drivers for booting are compiled into the kernel directly) I got an "error" / warning that sounds this:

 ==> WARNING: No modules were added to the image. This is probably not what you want. 

When I would see what modules missing for booting then I can fix it easily.

Offline

#30 2024-01-15 13:49:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: Kernel doesn´t boot but no errors are on the screen

Are you trying to compile all modules into the kernel?
That'd certainly explain the outrageous size…

Offline

#31 2024-01-15 14:10:00

m-electronics
Member
Registered: 2024-01-09
Posts: 20

Re: Kernel doesn´t boot but no errors are on the screen

No not any module. Only the ones that I need and also only the ones that I need to boot. Other modules for ethernet bridging for example are loaded from external.

Offline

#32 2024-01-15 14:15:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: Kernel doesn´t boot but no errors are on the screen

This is going nowhere.
Get a bigger hard drive for christs sake, you can trasha a 64GB usb key for this if need be.
Build the arch kernel with the default config, see whether it loads.
If yes, strip it down to your needs (by what I mean to initailly disables stuff you KNOW you won't need) then move on from there.
On a limb, your gentoo config might not enable relevant compression algorithms, but that's just guesswork.

Status quo is that you're trying to build a kernel with some random config and apparently are finding error messages as you go along.
It's not much of a surprise that it doesn't properly load.

Offline

#33 2024-01-15 14:21:34

m-electronics
Member
Registered: 2024-01-09
Posts: 20

Re: Kernel doesn´t boot but no errors are on the screen

Yes, but I don´t need any modules in the initramfs because the modules to load the kernel (FS modules and so stuff) are build in the kernel.

Offline

Board footer

Powered by FluxBB