On 2025-08-18 00:13 PM, artist wrote:
> To preserve space you might also have a look at switching from mkinitcpio too booster.
> From a test box:
> % ls -lh /boot/*.img
> -rw-r--r-- 1 root root 24M Aug 8 14:34 /boot/booster-linux-fallback.img
> -rw-r--r-- 1 root root 25M Jul 27 17:13 /boot/booster-linux-lts-fallback.img
> -rw-r--r-- 1 root root 4.8M Jul 27 17:13 /boot/booster-linux-lts.img
> -rw-r--r-- 1 root root 6.0M Aug 8 14:34 /boot/booster-linux.img
> -rw------- 1 root root 48M Aug 8 14:34 /boot/initramfs-linux-fallback.img
> -rw------- 1 root root 49M Aug 8 14:34 /boot/initramfs-linux-lts-fallback.img
> -rw------- 1 root root 16M Aug 8 14:33 /boot/initramfs-linux-lts.img
> -rw------- 1 root root 16M Aug 8 14:34 /boot/initramfs-linux.img
>
> artist
Thanks @artist, btw, by changing:
> #COMPRESSION_OPTIONS=()
to:
> COMPRESSION_OPTIONS=(--long --ultra -22)
and by changing:
> #MODULES_DECOMPRESS="no"
to:
> MODULES_DECOMPRESS="yes"
doesn't really gain much, but at least gets me out of the 90+% usage:
> % df -h /boot/
> Filesystem Size Used Avail Use% Mounted on
> /dev/nvme0n1p2 290M 216M 55M 80% /boot
And now:
> % du -hs /boot/*
> 14M /boot/grub
> 902K /boot/grub-common
> 159M /boot/initramfs-linux-fallback.img
> 14M /boot/initramfs-linux.img
> 13M /boot/intel-ucode.img
> du: cannot read directory '/boot/lost+found': Permission denied
> 12K /boot/lost+found
> 154K /boot/memtest86+
> 16M /boot/vmlinuz-linux
The initrd backup is still big... So perhaps time to look for booster or dracut, whatever gives smaller images, :) I see the linux image at a reasonable size, 16M Roy, not sure why you mentioned 67M, perhaps you're using something different than the "linux" package?
> % uname -a
> Linux m1 6.16.1-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 15 Aug 2025 23:14:52 +0000 x86_64 GNU/Linux
Thanks a lot @artis !
--
Javier
More information about the artix-general
mailing list