You are not logged in.

#1 2023-01-01 07:21:46

kayegui
Member
Registered: 2022-12-20
Posts: 17

Installation issue; /boot/initramfs-linux-fallback.img

Hi Friends!

Installation on my laptop hard drive. Towards the end I got this:

==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
bsdtar: Write error
bsdtar: Write error
==> ERROR: Image generation FAILED: bsdtar (step 1) reported an error
error: command failed to execute correctly
(12/12) Reloading system bus configuration...
  Skipped: Running in chroot.
pacstrap -K /mnt base linux linux-firmware 75.51s user 34.68s system 11% cpu 15:33.88 total
root@archiso " # \

Yes I have searched the forum for solutions but I can't find any, or maybe too ignorant to recognize a solution when I see it.

Thank you for your time!

PS

If it matters, looking at gparted, I have a 100MB fat32 partition with "boot, esp" flags that is currently being used by another linux distro (i think) and mounted at /boot/efi

The arch wiki says that if I already have this partition, I don't need to create another one. However, the arch wiki also suggests 300MB for the EFI system partition.  I did not alter my existing 100MB partition when I mounted it on /mnt/boot during installation.

Last edited by kayegui (2023-01-01 07:32:09)

Offline

#2 2023-01-01 08:29:31

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,576

Re: Installation issue; /boot/initramfs-linux-fallback.img

Which part of "No space left on device" is unclear?

Offline

#3 2023-01-01 10:43:55

kayegui
Member
Registered: 2022-12-20
Posts: 17

Re: Installation issue; /boot/initramfs-linux-fallback.img

All of it.

Offline

#4 2023-01-01 11:32:23

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,644

Re: Installation issue; /boot/initramfs-linux-fallback.img

However, the arch wiki also suggests 300MB for the EFI system partition.  I did not alter my existing 100MB partition when I mounted it on /mnt/boot during installation.

As the ArchWiki says you need at least 300 MB and you only have 100 MB. Which part of "No space left on device" is unclear?

Offline

#5 2023-01-01 15:51:44

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 644

Re: Installation issue; /boot/initramfs-linux-fallback.img

Some of the options available to you are:

  • Use higher compression for the initramfs.
    E.g. for max compression (quite slow to compress) edit /etc/mkinitcpio.conf:

    COMPRESSION="xz"
    COMPRESSION_OPTIONS=(-9e)
  • Disable the fallback initramfs by editing /etc/mkinitcpio.d/linux.preset and remove it from PRESETS.

Offline

#6 2023-01-01 16:12:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,037

Re: Installation issue; /boot/initramfs-linux-fallback.img

Removing the kms hook will also shrink the fallback a lot.

Offline

#7 2024-01-15 15:16:37

wondertx
Member
Registered: 2018-08-10
Posts: 9

Re: Installation issue; /boot/initramfs-linux-fallback.img

nl6720 wrote:

Some of the options available to you are:

  • Use higher compression for the initramfs.
    E.g. for max compression (quite slow to compress) edit /etc/mkinitcpio.conf:

    COMPRESSION="xz"
    COMPRESSION_OPTIONS=(-9e)
  • Disable the fallback initramfs by editing /etc/mkinitcpio.d/linux.preset and remove it from PRESETS.

Thanks a million.
I have a dual boot system whose /boot partition is 256MB, using xz shinks the image size from 236MB to 94MB

Offline

#8 2024-01-15 15:35:26

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,373
Website

Re: Installation issue; /boot/initramfs-linux-fallback.img

Mod note: Closing this old topic, and moving to Installation Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB