I have an Ubuntu Server installation that doesn't start up because the disk which contained the EFI partition is broken. I inserted a new HDD and created a new EFI partition by using GParted (new GPT table, create FAT32) and then I ran
mkfs.vfat /dev/sdeX1 on it.
To reinstall the EFI partitions content (GRUB and boot entry), I followed the accepted answer on this Ask Ubuntu question (How can I reinstall GRUB to the EFI partition?).
After a restart, the system boots, but cannot mount the EFI partition. I set the entry in fstab to the same ID that was given by
blkid /dev/sdX1. Here are some images: (note that the EFI partition is on
How can I make the system start up correctly, by mounting the EFI partition?