You are not logged in.

#1 2024-01-15 08:54:33

joanmanel
Member
Registered: 2012-11-06
Posts: 250

Boot partition full. Error during update

Hi there,

I dual boot between Windows 11 and ArchLinux. I have a boot partition with 256mb which I thought it would be enough. I remember making it this size during the original Windows installation (I think by default it is 100).

As you can see, it is full:

[juanma@latitude ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
dev             7.8G     0  7.8G   0% /dev
run             7.8G  1.6M  7.8G   1% /run
efivarfs        384K   76K  304K  20% /sys/firmware/efi/efivars
/dev/sda5        96G   69G   22G  76% /
tmpfs           7.8G     0  7.8G   0% /dev/shm
tmpfs           7.8G   16K  7.8G   1% /tmp
/dev/sda1       256M  256M     0 100% /boot
tmpfs           1.6G   80K  1.6G   1% /run/user/1000

I receive the following error during update:

  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
zstd: error 70 : Write error : cannot write block : No space left on device 
bsdtar: Write error
bsdtar: Write error
==> ERROR: Image generation FAILED: 'bsdtar (step 1) reported an error'
error: command failed to execute correctly

I guess my main question would be, what can I delete from boot to recover some space?

Inspecting boot I can see this:

[juanma@latitude boot]$ ls -lh
total 196M
drwxr-xr-x 6 root root 4.0K Jul  6  2023  EFI
drwxr-xr-x 6 root root 4.0K Mar 11  2022  grub
-rwxr-xr-x 1 root root 161M Jan 15 08:45  initramfs-linux-fallback.img
-rwxr-xr-x 1 root root  16M Jan 15 08:44  initramfs-linux.img
-rwxr-xr-x 1 root root 7.1M Nov 14 16:33  intel-ucode.img
drwxr-xr-x 2 root root 4.0K Feb  9  2022 'System Volume Information'
-rwxr-xr-x 1 root root  13M Jan 15 08:44  vmlinuz-linux

That fallback img uses a lot of space.

[juanma@latitude /]$ du -h /boot/
172K	/boot/EFI/Microsoft/Boot/bg-BG
212K	/boot/EFI/Microsoft/Boot/cs-CZ
212K	/boot/EFI/Microsoft/Boot/da-DK
220K	/boot/EFI/Microsoft/Boot/de-DE
220K	/boot/EFI/Microsoft/Boot/el-GR
164K	/boot/EFI/Microsoft/Boot/en-GB
212K	/boot/EFI/Microsoft/Boot/en-US
220K	/boot/EFI/Microsoft/Boot/es-ES
172K	/boot/EFI/Microsoft/Boot/es-MX
164K	/boot/EFI/Microsoft/Boot/et-EE
212K	/boot/EFI/Microsoft/Boot/fi-FI
172K	/boot/EFI/Microsoft/Boot/fr-CA
220K	/boot/EFI/Microsoft/Boot/fr-FR
164K	/boot/EFI/Microsoft/Boot/hr-HR
220K	/boot/EFI/Microsoft/Boot/hu-HU
212K	/boot/EFI/Microsoft/Boot/it-IT
192K	/boot/EFI/Microsoft/Boot/ja-JP
60K	/boot/EFI/Microsoft/Boot/CIPolicies/Active
64K	/boot/EFI/Microsoft/Boot/CIPolicies
192K	/boot/EFI/Microsoft/Boot/ko-KR
164K	/boot/EFI/Microsoft/Boot/lt-LT
164K	/boot/EFI/Microsoft/Boot/lv-LV
212K	/boot/EFI/Microsoft/Boot/nb-NO
220K	/boot/EFI/Microsoft/Boot/nl-NL
220K	/boot/EFI/Microsoft/Boot/pl-PL
212K	/boot/EFI/Microsoft/Boot/pt-BR
212K	/boot/EFI/Microsoft/Boot/pt-PT
60K	/boot/EFI/Microsoft/Boot/qps-ploc
164K	/boot/EFI/Microsoft/Boot/ro-RO
212K	/boot/EFI/Microsoft/Boot/ru-RU
164K	/boot/EFI/Microsoft/Boot/sk-SK
164K	/boot/EFI/Microsoft/Boot/sl-SI
164K	/boot/EFI/Microsoft/Boot/sr-Latn-RS
212K	/boot/EFI/Microsoft/Boot/sv-SE
212K	/boot/EFI/Microsoft/Boot/tr-TR
164K	/boot/EFI/Microsoft/Boot/uk-UA
184K	/boot/EFI/Microsoft/Boot/zh-CN
184K	/boot/EFI/Microsoft/Boot/zh-TW
14M	/boot/EFI/Microsoft/Boot/Fonts
20K	/boot/EFI/Microsoft/Boot/Resources/en-US
192K	/boot/EFI/Microsoft/Boot/Resources
27M	/boot/EFI/Microsoft/Boot
56K	/boot/EFI/Microsoft/Recovery
27M	/boot/EFI/Microsoft
1.7M	/boot/EFI/Boot
20M	/boot/EFI/Dell/Bios/Recovery
20M	/boot/EFI/Dell/Bios
20M	/boot/EFI/Dell
144K	/boot/EFI/GRUB
48M	/boot/EFI
4.0K	/boot/System Volume Information
3.4M	/boot/grub/x86_64-efi
4.8M	/boot/grub/locale
2.9M	/boot/grub/themes/starfield
2.9M	/boot/grub/themes
2.3M	/boot/grub/fonts
14M	/boot/grub
256M	/boot/

Last edited by joanmanel (2024-01-15 08:56:23)

Offline

#2 2024-01-15 08:59:29

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Boot partition full. Error during update

I think you're affected by https://bbs.archlinux.org/viewtopic.php?id=291900

Can you (temporarily) install linux-lts?

Or, alternatively, follow this workaround ---> https://bbs.archlinux.org/viewtopic.php … 0#p2143700


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

Board footer

Powered by FluxBB