Install desktop edition + cosmic failed with error: cat: write error: No space left on device

booted the iso with easy2boot, then got the below failed installation result. May try with rufus instead:

Command mkinitcpio finished with exit code 1.
Output:
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: ‘default’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos.img
==> Starting build: ‘6.10.9-2-cachyos’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [autodetect]
→ Running build hook: [microcode]
→ Running build hook: [kms]
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: ‘xhci_pci’
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
loadkeys: Unable to open file: au: No such file or directory
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-cachyos.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: ‘fallback’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos-fallback.img -S autodetect
==> Starting build: ‘6.10.9-2-cachyos’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [microcode]
→ Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ‘ast’
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: ‘aic94xx’
==> WARNING: Possibly missing firmware for module: ‘bfa’
==> WARNING: Possibly missing firmware for module: ‘qed’
==> WARNING: Possibly missing firmware for module: ‘qla1280’
==> WARNING: Possibly missing firmware for module: ‘qla2xxx’
==> WARNING: Possibly missing firmware for module: ‘wd719x’
==> WARNING: Possibly missing firmware for module: ‘xhci_pci’
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
loadkeys: Unable to open file: au: No such file or directory
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-cachyos-fallback.img’
cat: write error: No space left on device
bsdtar: Write error
bsdtar: Write error
==> ERROR: Early uncompressed CPIO image generation FAILED: ‘sort’ reported an error

df -h:

Filesystem Size Used Avail Use% Mounted on
dev 7.7G 0 7.7G 0% /dev
run 7.8G 9.8M 7.8G 1% /run
efivarfs 128K 17K 107K 14% /sys/firmware/efi/efivars
copytoram 12G 2.2G 9.6G 19% /run/archiso/copytoram
cowspace 10G 963M 9.1G 10% /run/archiso/cowspace
/dev/loop0 2.2G 2.2G 0 100% /run/archiso/airootfs
airootfs 10G 963M 9.1G 10% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-network-generator.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-udev-load-credentials.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup-dev-early.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-sysusers.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup-dev.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-vconsole-setup.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-sysctl.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-networkd.service
tmpfs 7.8G 2.7M 7.8G 1% /etc/pacman.d/gnupg
tmpfs 7.8G 8.0K 7.8G 1% /tmp
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-firstboot.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-resolved.service
tmpfs 1.6G 76K 1.6G 1% /run/user/1000
/dev/nvme1n1p5 51G 6.2G 44G 13% /tmp/calamares-root-o6pxv1wj

Full log:
https://termbin.com/mgoa

Progress:
[2024-09-10T12:42:36+1000] [ALPM] running ‘accounts-daemon-restart.hook’…
[2024-09-10T12:42:36+1000] [ALPM-SCRIPTLET] Running in chroot, ignoring command ‘try-restart’
[2024-09-10T12:42:36+1000] [ALPM] running ‘dbus-reload.hook’…
[2024-09-10T12:42:37+1000] [ALPM-SCRIPTLET] Skipped: Running in chroot.
[2024-09-10T12:42:37+1000] [ALPM] running ‘detect-old-perl-modules.hook’…
[2024-09-10T12:42:37+1000] [ALPM] running ‘fontconfig.hook’…
[2024-09-10T12:42:37+1000] [ALPM] running ‘gdk-pixbuf-query-loaders.hook’…
[2024-09-10T12:42:37+1000] [ALPM] running ‘gio-querymodules.hook’…
[2024-09-10T12:42:37+1000] [ALPM] running ‘glib-compile-schemas.hook’…
[2024-09-10T12:42:37+1000] [ALPM] running ‘gtk-query-immodules-3.0.hook’…
[2024-09-10T12:42:37+1000] [ALPM] running ‘gtk-update-icon-cache.hook’…
[2024-09-10T12:42:38+1000] [ALPM] running ‘gtk4-querymodules.hook’…
[2024-09-10T12:42:38+1000] [ALPM] running ‘texinfo-install.hook’…
[2024-09-10T12:42:38+1000] [ALPM] running ‘update-desktop-database.hook’…
[2024-09-10T12:42:38+1000] [PACMAN] Running ‘pacman -S --noconfirm --noprogressbar --needed --disable-download-timeout amd-ucode’
[2024-09-10T12:42:38+1000] [ALPM] transaction started
[2024-09-10T12:42:38+1000] [ALPM] installed amd-ucode (20240909.552ed9b8-1)
[2024-09-10T12:42:39+1000] [ALPM] transaction completed
[2024-09-10T12:42:39+1000] [ALPM] running ‘30-systemd-update.hook’…
[2024-09-10T12:42:39+1000] [PACMAN] Running ‘pacman -S --noconfirm --noprogressbar --needed --disable-download-timeout intel-ucode’
[2024-09-10T12:42:39+1000] [ALPM] transaction started
[2024-09-10T12:42:39+1000] [ALPM] installed intel-ucode (20240813-2)
[2024-09-10T12:42:40+1000] [ALPM] transaction completed
[2024-09-10T12:42:40+1000] [ALPM] running ‘30-systemd-update.hook’…

This is the error, so what kind of disk layout did you do? Manual partitioning?

That happens, when your used boot partition is too small. Either use the Erase Disk Option or do manual partioning, see the wiki.

1 Like

Thanks, I realized that is the case. I was trying to dual boot with windows, and the EFI partition was created automatically by windows 10 installer.

And I’ve also got to know that grub would just working fine. It’s systemd-boot will take a lot of space and cause this issue.

Maybe the installer could be improved by checking if there’s enough space left