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
1
u/Audible_Whispering May 31 '26
Cool, thanks for the reply.
So my immediate priority is to get wifi working on my laptop. According to the wiki I need linux-firmware-none, linux-firmware-other and linux-firmware-intel.
My longer term goal is to build a portable live USB for maintenance and general use, so I want at least everything related to graphics, wifi, bluetooth and audio. I don't care if the install is a little bloated as long as it works OOTB on random old office machines.
It sounds like I'd want a custom modloop for that, but getting wifi up quickly to get started would be helpful.
Is that as simple as creating the relevant directory structure on the USB, manually downloading the firmware files and running lbu include lbu commit?