You are not logged in.

#1 2020-12-31 10:57:46

Gaen
Member
Registered: 2020-12-16
Posts: 28

[SOLVED] Linux & Linux Headers | ERROR: Image generation FAILED

Hi!

After this update linux-5.10.3.arch1-1  linux-headers-5.10.3.arch1-1 I recieved the following error:

Packages (2) linux-5.10.3.arch1-1  linux-headers-5.10.3.arch1-1

Total Download Size:    96,47 MiB
Total Installed Size:  204,62 MiB
Net Upgrade Size:       -1,33 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 linux-5.10.3.arch1-1-x86_64                                                                           73,5 MiB   724 KiB/s 01:44 [##############################################################################] 100%
 linux-headers-5.10.3.arch1-1-x86_64                                                                   23,0 MiB   683 KiB/s 00:34 [##############################################################################] 100%
(2/2) checking keys in keyring                                                                                                    [##############################################################################] 100%
(2/2) checking package integrity                                                                                                  [##############################################################################] 100%
(2/2) loading package files                                                                                                       [##############################################################################] 100%
(2/2) checking for file conflicts                                                                                                 [##############################################################################] 100%
(2/2) checking available disk space                                                                                               [##############################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Removing linux initcpios...
:: Processing package changes...
(1/2) upgrading linux                                                                                                             [##############################################################################] 100%
(2/2) upgrading linux-headers                                                                                                     [##############################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.10.3-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 5.10.3-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img

gzip: stdout: No space left on device
bsdtar: Write error
bsdtar: Write error
==> ERROR: Image generation FAILED: bsdtar (step 1) reported an error

I guess the boot partition is not big enough for the fallback image to be created.. I made a huge mistake back then during installation because it's just 100MB.
Is there a way to put the fallback image somewhere else or extend the partition?

Last edited by Gaen (2021-01-08 18:30:34)

Offline

#2 2021-01-01 09:26:16

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: [SOLVED] Linux & Linux Headers | ERROR: Image generation FAILED

you can try removing the fallback part of the preset or switch /boot to /boot/efi. you can also try to resize /boot but there's a high risk.

Offline

#3 2021-01-08 18:29:51

Gaen
Member
Registered: 2020-12-16
Posts: 28

Re: [SOLVED] Linux & Linux Headers | ERROR: Image generation FAILED

Thanks for the suggestions, in the end after a backup I wrote an install script and reinstalled the whole thing.

Offline

Board footer

Powered by FluxBB