LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   monster initramfs files (https://www.linuxquestions.org/questions/fedora-35/monster-initramfs-files-4175704235/)

mrmazda 03-18-2022 12:32 PM

Quote:

Originally Posted by business_kid (Post 6339399)
a big initrd is only a niusance if your /boot is too small.

That's not true here. This explains.

business_kid 03-18-2022 01:07 PM

Quote:

Originally Posted by mrmazda (Post 6339537)
That's not true here. This explains.

All the distros with big initrds obviously don't agree with you, or they would arrange smaller ones. I'm not going to argue the point. Trouble with /boot comes when they're upgrading kernels and have two initrds, along with an initrd tree full of different kernel versions. The trouble in the post looks like a slow disk read.

But if an initrd is ≅50MB, ram is GB and disks can be TB, and typically run ≥50MB/S I don't see it as a major issue.

mrmazda 03-18-2022 05:28 PM

Quote:

Originally Posted by business_kid (Post 6339549)
The trouble in the post looks like a slow disk read.

Slow BIOS disk reads getting kernel and initrd loaded, hence this thread beginning the path to smaller, to reduce the aggravation of boots now taking between 2 & 13+ minutes.

business_kid 03-19-2022 08:03 AM

Compiling the correct driver into the kernel would probably do it.

Back some time I had this issue, which was run down to the 'generic' driver not working. I had read speeds of 2-3 MB/S. When I compiled in the specific driver instead, reads went up to 45MB/S. That was respectable, given the equipment.

hazel 03-19-2022 08:21 AM

Quote:

Originally Posted by business_kid (Post 6337812)
Code:

ls -lh /boot

-rw-r--r--  1 root root  61M Mar  6  2021 initrd.img-5.0.0-32-generic (Mint)
-rw-r--r--  1 root root 9.9M Mar  9 14:13 initrd-5.15.27.gz (Slackware-15)


But you omit the point that makes the difference! In Slackware, almost uniquely, you make your own initrd. Patrick's script scans your hardware and tells you what modules you need, and those are the only ones you include. Of course the result is small and nifty. A normal distro initrd has to be able to accommodate all kinds of different hardware.


All times are GMT -5. The time now is 04:57 PM.