Subj : LFS - About initial ramdisks
To   : Alexey Vissarionov
From : Andrew Alt
Date : Wed Feb 22 2023 11:33 pm

-=> Alexey Vissarionov wrote to Andrew Alt <=-

AA> Anyone else have a problem with the LFS section on creating an
AA> initrd?

AV> Do you still use floppies? If not, you don't need the initrd at all.

Hi Alexey,

No we don't use floppies. We compiled nvme and ext4 support into the kernel and are able to boot. We thought an
initial ramdisk might help with some troubleshooting. After successfully booting, we tried adding in just a few more things to the kernel, such as Bluetooth. After we re-compiled and rebooted, we got a black screen and had no idea
why.


AV> Keeping the modules for disk controllers that don't need external
AV> firmware compiled into the kernel is generally a wise idea for several
AV> good reasons. Support for everything else may be built as modules and
AV> loaded from the /lib/modules during the userspace initialization.

Ah, I think that explains more why we couldn't boot when compiling amdgpu into the kernel! We saw the solution was to build it as a module, otherwise the firmware wouldn't load, but there wasn't much explanation.

--
-Andy
Website: https://andy5995.github.io


-+- MultiMail/Linux v0.52-c9c24da

--- BBBS/Li6 v4.10 Toy-6
* Origin: Prism bbs (1:261/38)