On Wednesday, 6 December 2023 18:47:43 GMT Wols Lists wrote:
> On 06/12/2023 14:56, Peter Humphreey wrote:
> > The idea is that you may want to install another system later, which may
> > want to install its own code in /efi. By all means shrink it if you think
> > that's unlikely and you need the space. Gparted on SysRescCD is ideal for
> > this.
> I had the opposite problem - Windows created a tiny EFI partition and I
> couldn't install linux ...
> 
> Cheers,
> Wol

Looking at a UEFI system which had MSWindows installed I can see the ESP is 
only 96M:

Filesystem       Type      Size  Used Avail Use% Mounted on
/dev/sda1        vfat       96M   64M   33M  67% /boot

Of this space Microsoft eats up 27M.  Binary distros tend to use less than 5M 
if they use GRUB.  Kernel and initrd images are stored on the OS partition.

Gentoo will be more hungry, if you drop your kernel/initrd images in your ESP;  
e.g. two kernel images with embedded microcode and firmware (no initrd) weigh 
in at 32M.  I usually keep 2-3 gentoo kernels in the ESP with no problem:

# du -s -h /boot/EFI/*
1.9M    /boot/EFI/Boot
32M     /boot/EFI/Gentoo
27M     /boot/EFI/Microsoft
4.3M    /boot/EFI/ubuntu

Thankfully storage space is relatively cheap(er) these days and a 1G ESP 
wouldn't be considered excessive.  It would also be handy if you wanted to 
keep a rescue image in there.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to