VMware Virtual Machine mac OS x cannot adjust the size of the extended hard drive solution

Source: Internet
Author: User

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!

VMware Virtual Machine mac OS x cannot adjust the size of the extended hard drive solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.