You are not logged in.

#1 2024-05-18 20:32:39

Kaziuuuu
Member
Registered: 2024-05-18
Posts: 2

Problem with booting without initramfs.

To better understand my problem I will use the introduction, to explain it:
>Hey, to boot kernel, please use your UUID from root
>Oh, can I use /dev/sda1 instead my UUID? And, what is PARTUUID?
>I don't know, but if you want there is seven large pages of manual which contains 3/4 useless information, and rest of them is outdated.

First of all - all available 'guides'  are often useless . Out of date, wrong way, whatever...
https://firasuke.github.io/DOTSLASHLINU … initramfs/
https://www.kernel.org/doc/html/next/ad … onfig.html
https://noureddine.xyz/blog/linux/no-initramfs/
And no one of them works. (That may be wrong information. Don't rely on me. Better try it on your own hands, and correct me.)

#1. The first problem. Configuration on kernel level.

Lovely 'turn off it from kernel, using your .config'. But...  Houston, we have a problem. We cannot turn it down.

-*- Initial RAM filesystem and RAM disk (initramfs/initrd) support

Alright, then turn on:

 [*]   Embed bootconfig file in the kernel 

and set up your embedded bootconfig file path.

Boot config file, 'should' contain in self:

kernel {
root = "UUID=*your root uuid*"
}
init {
 splash
}

But after booting, blank screen, naghhh...
BDW. I tried with initramfs, and kernel is alive.

The question is one. How to make that work?
I tried with grub, bootctl, efi stub... Just EVERYTHING.

Offline

#2 2024-05-19 04:26:32

fmc000
Member
Registered: 2020-05-12
Posts: 85

Re: Problem with booting without initramfs.

I believe that you cannot embed the non-free firmware in the kernel and lots of drivers need it. OTOH, did you try to embed all the firmware in the kernel (if it's even possible, IDK)?


Linux user since 1996. Currently running Arch on an I7 11th gen laptop with root on zfs with zrepl.

Offline

#3 2024-05-19 12:22:58

Kaziuuuu
Member
Registered: 2024-05-18
Posts: 2

Re: Problem with booting without initramfs.

Thanks for response, fmc000

I forgot even to mention my destination. I want to speed up my boot time, so initramfs is useless. And, I don't use software like LUKS.
I build all must have firmware into my linux kernel. I'm not using nvidia or non-free drivers.
I included drivers often as modules '<M>', and that might be a point, why I have problem with booting.
I also forget to use amd-ucode. Demn! It is necessary even?

Offline

Board footer

Powered by FluxBB