MacOS – OS X Partition not resizable

core-storagedisk-utilitymacospartition

3 weeks ago I installed Yosemite public beta onto a brand new Macbook Air which arrived with Mavericks pre-installed. To carry out the installation I created a new partition for Yosemite and so had the option of a dual boot.

Last week the public beta 4 came through and my existing Yosemite partition was not big enough to allow installation.

I figured that because it was a brand new machine with no data to be lost I could risk using Yosemite as my only OS, and so I decided to remove Mavericks with the intention of having one single partition with Yosemite. What has happened is that I have now 2 partitions – one prescribed Macintosh HD and the other my Yosemite partition. But I am unable to merge the two partitions or to grow the Yosemite partition from it's initial 20Gb, furthermore the partition entitled Macintosh HD is inaccessible.

Diskutil showing partitions

Through using Terminal commands I was able to resize the Macintosh HD, but I am still unable to resize the Yosemite partition drive.

Drive partitions - terminal

I have discovered that then Yosemite partition was made into CoreStorage, and so have used the Terminal commands to try to resize this – both the Logical Volume Group and the Physical Volume – but the Physical Volume command reports the volume is too small to be made larger, whilst the resizeStack command on the Logical Volume Group generates the following report "60DF5D65-41F2-41D1-A56E-9C74FFFD3E6D does not appear to be a valid Core Storage Logical Volume UUID or disk"

CoreStorage Partition

Best Answer

Boot into Recovery HD, open Disk Utility. Choose Yo Drive in the list and select the Restore tab. Make Yo Drive the Source and Macintosh HD the Destination. This will erase all content on Macintosh HD and replace it with the contents of Yo Drive. Back up anything important on Yo Drive before hand in case of failure during the restore. After that you should be able to erase the second partition and extend to take up the whole drive.