ESXi installation failed with error "partedUtil failed with message: Error: The primary GPT table states that the backup GPT is located beyond the end of disk"
Sometimes installation of VmWare ESXi failed (between 5% and 8%) with the following error:
"partedUtil failed with message: Error: The primary GPT table states that the backup GPT is located beyond the end of disk. This may happen if the disk has shrunk or partition table is corrupted. ... Error: Can't have a partition outside the disk! Unable to read partition table for device..."
This issue may occure if you just created RAID array and created logical disks (LUN), but didnt create any partitions and didn't format them. The most strange, that this error may happen when you created RAID10, and RAID5 array does not generate the error and ESXi installs normal.
Anyway, you should try the following solution: boot with any iso-image, where you can create partitions and format them. There just create any partition and format it. In my case I did this with Windows Server 2008 R2 installation image (mostly because I could load disk controller drivers there).
After that ESXi installed without any errors.
Tags: vmware (en)