archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Increase default size efi

Open Cardiacman13 opened this issue 2 years ago • 5 comments

Please increase the default EFI size to 1 GB.

With 2 kernels, one Zen and one LTS, plus the Nvidia modules, we are running out of space.

Thx :)

Cardiacman13 avatar Sep 27 '23 21:09 Cardiacman13

We've recently made it possible to separate EFI and /boot which has been the biggest issue. Is that enough, or does the EFI still need to be larger?

(the split should make it so that a ~512MB EFI fits the UEFI binaries, and /boot can house the vmlinuz and initramfs)

Torxed avatar Sep 27 '23 21:09 Torxed

image 1 kernel takes 233MB, with 2 kernel mkinitcpio -P fails because there is insufficient space.

Cardiacman13 avatar Sep 27 '23 21:09 Cardiacman13

1 kernel takes 233MB, with 2 kernel mkinitcpio -P fails because there is insufficient space.

I understand, the kernel != EFI binaries. In the future, archinstall will try to make the 2 kernels live in /boot and the EFI folder will live on a EFI partition.

The issue is if EFI and /boot is the same partition (historically this is what archinstall have been using) as then, in your example, the singular partition will be too small.

Now, we can have a 120MB EFI even, and that will work. As long as /boot (different from EFI) is large enough to contain the kernels.

tl;dr: We're fixing it ^^

Torxed avatar Sep 27 '23 21:09 Torxed

Thx for your work :)

Cardiacman13 avatar Sep 27 '23 21:09 Cardiacman13

Hi torxed. Are you saying the auto partitioning will create : 1 EFI 130mo 1 Boot (sized to move than 512mo ? 1 root

Thank you for your answers.

I have also a lot of issues using custom sized partition made with cfdisk... or using the integrated tool (not very easy to use, lots of issues too)

Have you got a plan for this part ?

Regards.

Davius

Xdavius avatar Sep 27 '23 23:09 Xdavius

The ArchWiki now suggests an ESP size of 1 GiB.

https://wiki.archlinux.org/index.php?title=Installation_guide&diff=prev&oldid=799742

codefiles avatar Mar 10 '24 14:03 codefiles