You are not logged in.
Pages: 1
Hi!
I'm on a UEFI system with a 512MB boot partition, main drive partition uses BTRFS.
I use the linux-zen and the linux-lts kernels, and the nvidia-dkms package.
When I tried to update recently, mkinitcpio failed with the message:
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
==> ERROR: Image generation FAILED: zstd reported an error
Some more information:
$ du -h
3.5M ./grub/x86_64-efi
5.0M ./grub/locale
2.9M ./grub/themes/starfield
2.9M ./grub/themes
2.3M ./grub/fonts
14M ./grub
152K ./EFI/BOOT
152K ./EFI/GRUB
308K ./EFI
8.0K ./syslinux
510M .
$ ls -al
drwxr-xr-x - root 2 Sep 01:01 EFI
drwxr-xr-x - root 15 Oct 13:26 grub
.rwxr-xr-x 70M root 14 Sep 19:52 initramfs-custom.img
.rwxr-xr-x 114M root 15 Oct 13:34 initramfs-linux-lts-fallback.img
.rwxr-xr-x 92M root 15 Oct 13:34 initramfs-linux-lts.img
.rwxr-xr-x 123M root 15 Oct 13:24 initramfs-linux-zen-fallback.img
.rwxr-xr-x 94M root 15 Oct 13:24 initramfs-linux-zen.img
.rwxr-xr-x 5.2M root 9 Aug 21:43 intel-ucode.img
drwxr-xr-x - root 27 Sep 13:24 syslinux
.rwxr-xr-x 11M root 15 Oct 13:34 vmlinuz-linux-lts
.rwxr-xr-x 12M root 14 Oct 12:38 vmlinuz-linux-zen
(This is inside the /boot directory)
What could be the cause of this?
How could I fix it?
Offline
Why your initramfs that big?
>90MB to normal one is alot. this is what taking all the space (5 ~100MB files)
Edit:
if by nvidia-dkms you mean you added nvidia modules to initramfs, you may not need them there for kms to work (this will reduce the initramfs size significantly).
Last edited by astralc (2022-10-15 11:52:21)
Offline
You may also disable creating fallback images (or just leave one)
Online
You also seem to have two bootloaders installed. That's not taking the space, but you might not want both.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1