With MacOSX built with VMware virtual machines, there may be an issue where the disk size cannot be expanded by more than 10.10.
Because many friends in the initial installation of MACOSX, the default choice of 40G disk size, the results in two days after the discovery of the disk is not enough.
At this time, Baidu you will find a lot of related articles, is generally correct, but for the version above OS10.10 may appear the PCI external disk size through the disk tool can not be extended problems.
The result is that the disk tool can see that the corresponding disk has been extended to the target size, but cannot be partitioned, where the only MACOSX partition can not be erased and extended operation, because it is very simple, this is the MACOSX system disk, so you can not operate when the system is running. and VMware can't get into MacOSX's recovery partition, so you can only despair.
I also met this problem, in the spirit of tossing ideas and project time, I decided to meet the difficult!
After some toss, tried many methods, are not useless.
Accidental Discovery MacOSX has a diskutil command (used inside the terminal). And Diskutil has a resizevolume command. Well, you already guessed how I did it.
It's actually very simple:
1. Open terminal, enter Diskutil list;
2. Find the partition you need to expand from the list shown (the partition is not a disk, the ID of the partition is generally DISKXSX);
3. Then enter Diskutil resizevolume disk1s1 100GB, where DISK1S1 is the target size for the ID,100GB of the corresponding partition (the target size cannot exceed the total of this disk);
4. Enter, wait for the completion!
It's that simple.
VMware Virtual Machine mac OS x cannot adjust the size of the extended hard drive solution (GO)