On 01/04/2025 03:09, hlyg wrote:
in the end i use mbr, as one of my PCs doesn't support gpt
It depends on firmware, but I expect that UEFI spec describes requirements for ESP in the case of MBR partitions.
btw what is recommended size of efi partition? default size is 512M
sgdisk(8)
* Boot disks for EFI-based systems require an EFI System Partition (gdisk internal code 0xEF00) formatted as FAT-32. I recommended making this partition 550 MiB. (Smaller ESPs are common, but some EFIs have flaky FAT drivers that necessitate a larger partition for reliable operation.) Boot-related files are stored here. (Note that GNU Parted identifies such partitions as having the "boot flag" set.)
A week ago Jeffrey posted the following link <https://wiki.debian.org/UEFI#EFI_System_Partition_.28ESP.29_recommended_size> with other sources and recommendations.