Comments  

Vicious
# !!!!!!!!!!!Vicious 2016-06-13 14:20
you saved my day! Thanks a lot with this issue.
Reply | Reply with quote | Quote
sergio
# gdisk might be enoughsergio 2016-09-13 16:04
Thanks for your hint, I had the same problem on a DL360G5 with raid50 performed by P410 controller, several attemps to install vmware esxi 6.0 failed with the same error.

I booted then a live linux iso (deft8) and then used the command "gdisk" which reported an erroneus GPT, which was easy to fix using the following commands:

===============================

deft8 ~ % gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.5

Warning! Disk size is smaller than the main header indicates! Loading
secondary header from the last sector of the disk! You should use 'v' to
verify disk integrity, and perhaps options on the experts' menu to repair
the disk.
Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: damaged

Found invalid MBR and corrupt GPT. What do you want to do? (Using the
GPT MAY permit recovery of GPT data.)
1 - Use current GPT
2 - Create blank GPT

Your answer: 2

Command (? for help): p
Disk /dev/sda: 46883828912 sectors, 21.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): F9F7FE7D-3541-4078-91BE-DCBF41759FAC
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 46883828878
Partitions will be aligned on 2048-sector boundaries
Total free space is 46883828845 sectors (21.8 TiB)

Number Start (sector) End (sector) Size Code Name

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): Y
OK; writing new GUID partition table (GPT) to /dev/sda.
The operation has completed successfully.
deft8 ~ %

===============================

No need to create a partition, after fixing the GPT the esxi installed without problems ;-)
Hope this helps others, too.
Reply | Reply with quote | Quote
Super User
# Nice solution tooSuper User 2016-09-14 08:24
Hi!

Thanks for another fix. I'm too bad in linux so I even didnt try this way.

I'm wondering, if ESXi distrib have built-in gdisk or some similar command...
Reply | Reply with quote | Quote
Olle
# This works!Olle 2018-02-22 14:32
I started off by trying the Windows format solution but no luck for me.
But doing what Sergio wrote did the trick! :)
Reply | Reply with quote | Quote
Torben Jespersen
# RE: 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"Torben Jespersen 2016-11-09 13:11
Linux method worked like a charm for me! Thanks
Reply | Reply with quote | Quote
Daniel Hansson
# Thanks!Daniel Hansson 2018-03-30 15:08
Thanks man, I used Gparted on a USB drive to format the RAID1 created with a SmartArray P420i. After that it installed without any issues.
Reply | Reply with quote | Quote
navraj
# alternativelynavraj 2018-06-14 13:11
delete the logical partition from raid utility bios
Reply | Reply with quote | Quote

Add comment


Security code
Refresh