[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Enlarging /boot and swap partitions



Vincent Lefevre composed on 2025-09-18 17:22 (UTC+0200):

> On 2025-09-18 10:31:07 -0400, Jeffrey Walton wrote:

>> Related, see <https://wiki.debian.orgUEFI#EFI_System_Partition_.28ESP.29_recommended_size>.

> Isn't this /boot/efi? FYI, only 8% of 512 MB is used here.

> The real issue is with the /boot partition. When I installed the
> machine 2 years ago, the size recommended by Debian was... 25-50 MB!!!
> See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076582#22 and
> the subsequent messages. 

25-50MB would have been the /boot/ partition size recommendation around 30 years
ago. For an ESP, I don't think I've ever seen a recommendation of less than 100MB.

Some bootloaders newer than Grub2 are dubiously designed to load kernels & initrds
from the (FAT!?!?!!!! — no symlinks possible!) ESP, leading to vastly larger ESP
size recommendations.

I created this one 7 years ago:
# df -h | grep boot
/dev/sda1       320M   21M  299M   7% /boot/efi
#
At that time, ESP minimum was 100M, unless using 4k sectors on a boot disk larger
than 16T, in which case it was 260M.
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata


Reply to: