this post was submitted on 24 Sep 2025
18 points (100.0% liked)
Arch Linux
9135 readers
34 users here now
The beloved lightweight distro
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I had the same issue, breaking the update, and the solution was something along the lines of:
/etc/initramfs-tools/initramfs.conf
MODULES=most
toMODULES=dep
Although I think the cleanest way is to do it with an override config file in initramfs.conf.d, but do a bit of research on this.
I guess that by not including all modules, there is a risk the program forgets one of the modules you needed, but so far it works for me, and images are now a lot lighter.
hello, do you mean editing the
MODULES
in /etc/mkinitcpio.conf? since afaik and after searching in the arch wiki and in the arch packages, I couldn't find mention of update-initramfs or /etc/initramfs-tools. This wiki page edits /etc/mkinitcpio.conf.Probably, I was going by memory and these filenames are tricky 😅