r/AlpineLinux • u/Audible_Whispering • May 30 '26
Installing firmware on diskless installations?
Hello!
I've used a system disk based installation in the past and now I'm trying a diskless install to a USB stick. I followed the wiki instructions to create a custom boot image and I have a bootable USB with persistence via apkovl. So far so good, but I'm having trouble with firmware installation.
On the system disk install it was just a matter of installing the correct packages, but on the diskless install that fails with apk errors. As far as I can see it wants to add files to /lib/firmware, which links to /lib/modules/firmware, and /lib/modules is inside the read only modloop fs.
Is this normal, or have i screwed up somewhere? If it's expected, what's the best way to handle firmware installation on a diskless setup?
Thanks!
View all comments
Show parent comment
2
u/macmpi Jun 02 '26 edited Jun 02 '26
Really? Is that overlayed somewhere within initramfs or else?
Would be nice alternative to rather painful loopback overlayed image
EDIT: is in modloop.initd: killer feature, thanks (now documented in wiki)!