That is exactly what it does. The reason it failed is because your EFI system partition was corrupt, so it could not write the files there.
That is exactly what it does. The reason it failed is because your EFI system partition was corrupt, so it could not write the files there.