How to solve No EFI partition was found error

If you’re choosing manuel partitioning option at Debian installation process on a system which booted in UEFI mode, you have to create an EFI System Partition (ESP).

ESP partition will be formatted with FAT filesystem as your case. But, you need to set partition type as:

  • If you’re using GPT partitioning, ESP partition GUID must be: C12A7328-F81F-11D2-BA4B-00A0C93EC93B
  • If you’re using legacy DOS partitioning, partition type code must be: 0xEF

You should create a new partition manually about 250MB in size. After that, in How to use this partition menu, don’t select FAT32 as filesystem, select Use as: EFI System Partition

Now you will see ESP flags on the partition list. There is one more steps: you have to toggle bootable option on this newly created ESP partition.

After all of the above steps completed, you can continue to install your Debian system.