Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

planetf1

macrumors 6502a
Original poster
Aug 8, 2014
545
198
Hampshire, UK
Hi,
I'm somewhat of a OS/X newbie. I have El Capitan installed under vmware. I setup a single virtual 60GB disk initially, but hit some space issues when I wanted to install xcode. I'm somewhat family with vmware, linux, windows/linux partitioning, lvm etc.

Within vmware I could easily extend the emulated disk to 80GB but am unclear how to extend the OS/X partition

If I launch Disk Utility it clearly says

VMware Virtual SATA Hard Drive Media
85.9 GB PCI External Physical Disk

It graphically shows only a single volume (sorry, new to OS/x so terminology may be wrong) called El Capitan of size 64.21 GB. This appears to take up the entire space visually (blue bar)

When I click "El Capitan" in the left nav I see:

ElCapitan
63.56 GB PCI External Physical Volume OS X Extended

I can see space usage

if I click "partition" against the top level device I can see it's setup with GUID partitioning. The pie chart shows 360 degrees blue so I see no way to extend the volume

So how do I resize that volume?


if I was using Linux, at this point I'd probably just create a second virtual disk (file) in vmware, then use LVM to add into volume group, and extend the LV, then the filesystem . Easy. But as I said, I don't know OS/X.. just learning!

Update - here's the output from diskutil. I'm guessing it's the hidden recovery partition to blame? That may need moving with gparted first?

Mac:~ jonesn$ diskutil list
/dev/disk0 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *85.9 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS ElCapitan 63.6 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme +17.4 MB disk1
1: Apple_partition_map 32.3 KB disk1s1
2: Apple_HFS Flash Player 17.4 MB disk1s2


The detailed output is at http://pastebin.com/1RfYL7W9
 
Last edited:

planetf1

macrumors 6502a
Original poster
Aug 8, 2014
545
198
Hampshire, UK
I'll answer my own question in case it helps others, which I found answered at: https://themacwrangler.wordpress.com/2015/10/21/resizing-el-capitan-mac-volumes-under-vmware-fusion/
The answer is simple:

Nigels-Mac:~ jonesn$ sudo diskutil resizeVolume / R
Password:
Resizing to full size (fit to fill)
Started partitioning on disk0s2 ElCapitan
Verifying the disk
Verifying file system
Using live mode
Performing live verification
Performing live verification
Performing live verification
Performing live verification
Performing live verification
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
The volume ElCapitan appears to be OK
File system check exit code is 0
Resizing
Waiting for the disks to reappear
Finished partitioning on disk0s2 ElCapitan
/dev/disk0 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *85.9 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS ElCapitan 85.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s4
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.