Continued from discussion with Phil_54 regarding KLV rc6.1 not booting from sdcard on his Chromebook. Thus far we have determined that the problem was caused by some missing Void Linux kernel modules required by his particular machine to be included in the initrd. We don't yet know what modules were causing the issue but now have the machine booting by using a large initrd.gz that contains a full set of kernel modules.
What follows in this post is my response to Phil_54's last post from here: viewtopic.php?p=78178#p78178
----------------------------------------------------------------------------------
Phil_54 wrote: Wed Jan 11, 2023 10:56 amPS your follow on post pointed to an initrd file you'd created, but it was the one you made for me the other week for bespoke beta25 initrd with rc6.1 improvements.
Fixed the Mega download link for the special KLV rc6 full modules set initrd.gz now thanks, but even better that you managed to build it yourself since now you have that skill for the future benefit of everyone on the forum!
https://mega.nz/file/7noQRYCZ#yvIHIbjAI ... 2t2UZufjxM
md5sum for this is 78b809ef1a2e9ad7f0515697f904d4f7
In case anyone else wants to learn how to rebuild the initrd.gz themselves, here is the link that provides the step by step howto: viewtopic.php?p=78143#p78143
Phil_54 wrote: Wed Jan 11, 2023 10:56 am[/b]I followed steps 1 to 6 exactly (you're a good teacher). Rebooted and here I am not that much later replying to you from RC6.1 on my sdcard/chrombook combo. Smooth, easy and pretty fast to boot considering initrd.gz size and my processor/memory constraints.
Thank you.
I guess you'll want to explore further what the differences are. If you need my support that's fine, but maybe in a separate thread, so all the other good folk reading this thread can get on with their questions and suggestions.
I'm delighted the resulting initrd.gz worked, which is also a bit of a miracle, but makes sense really. It is an important result since now we know there is nothing wrong with Void Linux kernel per se (for the case of your computer type) - just an issue with modules to include in the kernel and indeed we can now make some effort (over time - no hurry) to track down the culprits. So thanks for your willingness to help with that, since now you know how to modify the initrd.gz that will likely prove useful. And yes, best now in a special thread, under existing section KL-Dev_Work, for this bit of detective-like development work.
I believe the huge initrd.gz probably doesn't overload your machine because it doesn't all get kept in memory; once the switch_root to the main root_filesystem occurs (rather than the smallish initrd filesystem), most of the space the initrd was taking up in RAM is freed up (not all of it, but possibly ends similar to the small initrd - I'll have to check some Mem statistics to confirm that later since I could be wrong about that...). Will be a bit slower to boot I suppose though since so large to initially load into RAM.
Nothing new in my using a huge initrd like that, a utility I created in the past called weedogit, which was used to make frugal installed distros out of many distrowatch-listed mainstream distros in particular via same FirstRib initrd as used in KLV always put whole modules set inside the resulting initrd files and worked very well generally (though I don't know how many tests were ever made on low resourced systems). The same utility isn't dead, though it has been renamed 'firstribit' and eventually it will return as a published build system, but hopefully with slim-initrd-module capability; so that is another reason I'm interested in determining optimum module set for the initrd.