I've just bought a new Macbook Air (running Yosemite) and I am trying to create a partition from my Macintosh HD SSD for dual-booting Ubuntu. However when I try to create a partition in Disk Utilities, I keep getting the error "This Core Storage operation is not allowed on a sparse logical volume group." I have tried restarting the system in Recovery Mode and verifying and repairing the disk, but it did not work. What can I do to partition? (I would prefer to not format the SSD.)
MacOS – Partition SSD in Yosemite for Dual-Booting Ubuntu
core-storagedual-bootmacospartitionunix
Related Question
- MacOS – Reclaim hard drive space from deleted partition and reclaim Apple bootloader
- MacOS – Unable to restore/reinstall/erase from recovery
- Is it possible to encrypt a hard drive that is dual booting ubuntu using rEFInd
- MacOS – Internal SSD Drive Partition Map Errors
- MacOS – Unable to boot into Mac OSX after updating dual-boot Ubuntu, Partition Type FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
- System fails to recognize main macos boot partition after Ubuntu dual booting attempt
- MacOS – Dual boot dual partition and clean install of High Sierra
Best Answer
You have to boot from another device or to Internet Recovery Mode and then use the command line to modify the CoreStorage volume.
Preparation:
Restart to Internet Recovery Mode by pressing alt cmd R at startup.
The prerequisites are the latest firmware update installed, either ethernet or WLAN (WPA/WPA2) and a router with DHCP activated.
On a 50 Mbps-line it takes about 4 min (presenting a small animated globe) to boot to a recovery netboot image which usually is loaded from an apple/akamai server.
I recommend ethernet because it's more reliable. If you are restricted to WIFI and the boot process fails, just restart your Mac until you succeed booting.
Alternatively you may start from a bootable installer thumb drive (Mavericks or Yosemite) or a thumb drive containing a full system (Mavericks or Yosemite).
Modify CoreStorage:
diskutil cs list
diskutil cs resizeStack LVUUID size
with LVUUID: UUID of the logical volume and size: the final size of your Macintosh HDExample:
diskutil cs resizeStack DC2473AF-0833-4DBD-BF8F-D5D60063554A 200g
exit
and quit Terminal.