illiliti / tinyramfs

Tiny initramfs written in POSIX shell
GNU General Public License v3.0
103 stars 19 forks source link

Generate initramfs for live ISO #39

Closed firasuke closed 1 year ago

firasuke commented 1 year ago

Hey there,

I am trying to use tinyramfs to generate an initramfs for a custom distribution I am working on that uses musl, toybox, mdevd and libudev-zero.

Does tinyramfs support hardware detection at boot (not at initramfs generation time), as this will be a distribution initramfs that should be able to detect and load accordingly?

Are their any pointers or guides to get this working as intended?

Thanks in advance!

illiliti commented 1 year ago

Hi! tinyramfs does support hardware detection at boot as long as you include all modules necessary for booting. As of how to make this all work, there is the kiss-live project which uses tinyramfs to generate initramfs for live iso. You can look into how it works and make something similar for youself.

firasuke commented 1 year ago

Interesting, thanks for your input on this.

Keep up the great work!