You are not logged in.

#1 2024-05-23 16:34:51

AmicableTarsier
Member
Registered: 2024-03-24
Posts: 3

error: Partition /boot too full: 3833 blocks needed, 0 blocks free

I'm trying to run this:

sudo pacman -Syu

I get this output:

error: Partition /boot too full: 3833 blocks needed, 0 blocks free
error: not enough free disk space
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.

I have seen to use these:

paccache -r
paccache -rk0

pacman -Sc
pacman -Scc

this clears basically no space.

Here is the output of df -h

Filesystem      Size  Used Avail Use% Mounted on
dev              31G     0   31G   0% /dev
run              31G  1.9M   31G   1% /run
efivarfs        128K   18K  106K  15% /sys/firmware/efi/efivars
/dev/nvme0n1p3  1.8T  247G  1.5T  15% /
tmpfs            31G  3.0G   29G  10% /dev/shm
tmpfs            31G   29M   31G   1% /tmp
/dev/nvme0n1p2  300M  300M     0 100% /boot
tmpfs           6.2G   64K  6.2G   1% /run/user/1000

with the cache not clearing space, what am I supposed to do here? I'm really not sure how I managed to completely fill my boot partition

Offline

#2 2024-05-23 16:49:05

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,653
Website

Re: error: Partition /boot too full: 3833 blocks needed, 0 blocks free

Your pacman cache is not the issue here, since it does not cache the packages on your boot partition, duh.
List the contests of your boot partition to see what's taking up all that space. Most likely it's some fallback image or multiple kernels.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#3 2024-05-23 17:04:12

AmicableTarsier
Member
Registered: 2024-03-24
Posts: 3

Re: error: Partition /boot too full: 3833 blocks needed, 0 blocks free

EFI            initramfs-linux-fallback.img      initramfs-linux.img  vmlinuz-linux-lts
amd-ucode.img  initramfs-linux-lts-fallback.img  syslinux
grub           initramfs-linux-lts.img           vmlinuz-linux

Here is what I get when I list the contents of the boot directory

Is it safe to remove the fallback images?

Offline

#4 2024-05-24 13:52:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: error: Partition /boot too full: 3833 blocks needed, 0 blocks free

It is, granted the normal image generated correctly. See https://bbs.archlinux.org/viewtopic.php … 5#p2154175 for options

Offline

Board footer

Powered by FluxBB