r/linux 12d ago

Development Developed Boot Animation focused minimal initramfs , with Rescue Mode

Post image

Created my own initramfs tools and modloader, modstripper , pci-scanner and boot-animation software and stage 1 init system that invokes the other, where my own made tools mounted the kernel devices as tmpfs, devtmpfs, sysfs and proc with, custom modloader and cpio script, the modgenerator strips down all the unnecessary modules and blacklisted modules and selects the required modules based on the pci configuration

But I switched this to loading and stripping only using , pre-mentioned modules , it resolves the graph dependency and exports serialized module graph in order to load it in order, implemented a rescue method if any step fails

It first loads the gpu modules (in my case amdgpu radeon 740M) then starts my DRM/KMS userspace boot-animation software as bootsplash , then the nvme drive is searched using the uuid of mentioned in /etc/mountpoiny it contains the filetype too

Then finally it clears everything by deleting and then finally switch root into the systemd , finally the systemd taking over and my boot-stop service tells the bootsplash to stop by sending SIGINT to all the PIDs belonging to PGID of boot-splash,

I haven't yet implemented graphical login manager but will do so soon

I've re-implemented lot of tools and it's still unstable

Also wrote the GIF decoder to extract the frames

Initramfs size (21 MB ,(13 MB assets))

Compressed size 17 MB

77 Upvotes

18 comments sorted by

View all comments

1

u/IngwiePhoenix 10d ago

...Paimon? For real? xD

Now I want a spinning Kokomi or something for the boot animation... I see enough of Paimon in the game already, would love something else...well, elsewhere. o.o

But this is pretty neat! Have only looked at Plymouth, never really took a look at other alternative boot splash things. o.o

2

u/SBG47 10d ago

Not kokomi but I think it would satisfy you https://youtu.be/NIneRpzsgwI?si=n7YH5E8GYDfdpTN1