EFI partition almost full

My efi partion only has 16Mb free. Is that anything to worry about? I only have 2 kernels installed. Zen and the default.

nVidia graphics?

What I do for nVidia, exclude from the initramfs:
Create /etc/dracut.conf.d/nvidia.conf

# Omit the nvidia driver from the ramdisk, to avoid needing to regenerate
# the ramdisk on updates.
omit_drivers+=" nvidia nvidia-drm nvidia-modeset nvidia-uvm "

Rebuild your mkinitcpio and reboot. If it doesnโ€™t work remove the file and rebuild again.

So, run sudo reinstall-kernels to rebuild.

Not sure you posted this in the correct thread

OP is asking about space he has left on his /efi boot partition.

@Spreadneck by default we use a 1 gig /efi partition since I only run one kernel Iโ€™m not sure the correct answer to your question however I would think you would want your /efi partition to be at least 15% free. I would say if its not broke donโ€™t fix it but 16m isnโ€™t a lot of free space.

Maybe fallback images are too big?

Because this reduces the size of the efi partition.

โ”‚ 3 local devices                                                                                              โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON               โ”‚    SIZE โ”‚   USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE โ”‚ FILESYSTEM     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /                        โ”‚  458.7G โ”‚  80.1G โ”‚ 355.3G โ”‚ [###.................]  17.5% โ”‚ ext4 โ”‚ /dev/nvme0n1p2 โ”‚
โ”‚ /efi                     โ”‚ 1022.0M โ”‚ 180.6M โ”‚ 841.3M โ”‚ [###.................]  17.7% โ”‚ vfat โ”‚ /dev/nvme0n1p1 โ”‚
โ”‚ /home/xircon/dmnts/twotb โ”‚    1.8T โ”‚  39.4G โ”‚   1.7T โ”‚ [....................]   2.2% โ”‚ ext4 โ”‚ /dev/nvme1n1p1 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Two kernels installed with nVidia dkms.

ok i see your connection now :joy:

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ 3 local devices                                                                                              โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MOUNTED ON               โ”‚    SIZE โ”‚   USED โ”‚  AVAIL โ”‚              USE%             โ”‚ TYPE โ”‚ FILESYSTEM     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ /                        โ”‚  458.7G โ”‚  80.1G โ”‚ 355.3G โ”‚ [###.................]  17.5% โ”‚ ext4 โ”‚ /dev/nvme0n1p2 โ”‚
โ”‚ /efi                     โ”‚ 1022.0M โ”‚ 724.1M โ”‚ 297.9M โ”‚ [##############......]  70.9% โ”‚ vfat โ”‚ /dev/nvme0n1p1 โ”‚
โ”‚ /home/xircon/dmnts/twotb โ”‚    1.8T โ”‚  39.4G โ”‚   1.7T โ”‚ [....................]   2.2% โ”‚ ext4 โ”‚ /dev/nvme1n1p1 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Without the file created, just for reference!

would that cause my drivers not to work?

Nope, it just excludes them from the initramfs, makes it smaller. I run a Legion 5 Ryzen7 / RTX3070, it works either way, no issues, but with the omit file I can install more kernels.

I generally have mainline, zen and LTS installed, cannot do that without omitting the nVidia stuff.

Also if it (and I cannot see why) does not work, just remove the file and re-run reinstall-kernels.

Can you first share the size of your EFI partition and which kernels you have installed.

It can depending on your specific hardware config.

1G and default kernel and Zen kernel

Can you share the output of sudo find /efi -type d -exec ls -lh {} \;

total 12K
drwxr-x--- 4 root root 4.0K Feb 28 19:51 7a6d3314cc5141118fdff6dbe1af08ea
drwxr-x--- 5 root root 4.0K Feb 19 06:03 EFI
drwxr-x--- 4 root root 4.0K Mar  2 12:21 loader
total 12K
drwxr-x--- 2 root root 4.0K Feb 28 18:00 BOOT
drwxr-x--- 2 root root 4.0K Feb 19 06:03 Linux
drwxr-x--- 2 root root 4.0K Feb 28 18:00 systemd
total 124K
-rw-r----- 1 root root 121K Feb 13 13:09 systemd-bootx64.efi
total 124K
-rw-r----- 1 root root 121K Feb 13 13:09 BOOTX64.EFI
total 0
total 20K
drwxr-x--- 2 root root 4.0K Feb 28 19:51 entries
-rw-r----- 1 root root    6 Feb 19 06:03 entries.srel
drwxr-x--- 2 root root 4.0K Feb 19 06:03 keys
-rw-r----- 1 root root   93 Feb 19 06:03 loader.conf
-rw-r----- 1 root root   32 Mar  2 12:21 random-seed
total 0
total 16K
-rw-r----- 1 root root 570 Feb 28 21:46 7a6d3314cc5141118fdff6dbe1af08ea-6.13.5-arch1-1.conf
-rw-r----- 1 root root 610 Feb 28 21:46 7a6d3314cc5141118fdff6dbe1af08ea-6.13.5-arch1-1-fallback.conf
-rw-r----- 1 root root 582 Feb 28 21:46 7a6d3314cc5141118fdff6dbe1af08ea-6.13.5-zen1-1-zen.conf
-rw-r----- 1 root root 622 Feb 28 21:46 7a6d3314cc5141118fdff6dbe1af08ea-6.13.5-zen1-1-zen-fallback.conf
total 8.0K
drwxr-x--- 2 root root 4.0K Feb 28 21:46 6.13.5-arch1-1
drwxr-x--- 2 root root 4.0K Feb 28 21:46 6.13.5-zen1-1-zen
total 502M
-rw-r----- 1 root root 202M Feb 28 21:46 initrd
-rw-r----- 1 root root 287M Feb 28 21:46 initrd-fallback
-rw-r----- 1 root root  14M Feb 28 21:46 linux
total 505M
-rw-r----- 1 root root 203M Feb 28 21:46 initrd
-rw-r----- 1 root root 289M Feb 28 21:46 initrd-fallback
-rw-r----- 1 root root  15M Feb 28 21:46 linux

Personally, I would disable the fallback initrds in /etc/kernel-install-for-dracut.conf.

They are useful but not essential.

It is starting to look like 1gb is not enough. For comparison (omitting nVidia):

drwxr-x--- 2 root root 4.0K Mar  3 18:40 6.13.5-arch1-1
drwxr-x--- 2 root root 4.0K Mar  3 18:40 6.13.5-zen1-1-zen
total 92M
-rw-r----- 1 root root 22M Mar  3 18:40 initrd
-rw-r----- 1 root root 56M Mar  3 18:40 initrd-fallback
-rw-r----- 1 root root 15M Mar  3 18:40 linux
total 90M
-rw-r----- 1 root root 21M Mar  3 18:40 initrd
-rw-r----- 1 root root 55M Mar  3 18:40 initrd-fallback
-rw-r----- 1 root root 14M Mar  3 18:40 linux

Personally, I donโ€™t like the 1G for /efi. When I install Eos I change it to 2G before installing.

I saw that Cachy is now recommending 2GB (thatโ€™s up from only recommending 1 GB not much more than a year ago). May have to start minimizing some parts of the kernel :wink:

I donโ€™t have a /etc/mkinitcpio.d/ to edit. Researching now. (I may just look into expanding my efi, which could have more disastrous results. lol)

My partition is /boot/efi, but my kernel images are in /boot

Capture dโ€™รฉcran_2025-03-03_23-26-18