Resizing dual boot partitions in Yosemite I have a dual boot Macbook Air with Yosemite and Ubuntu. I would like more space on my Ubuntu partition and need to therefore reduce the size of the Mac partition. I assume this will cause some damage to my Mac HD but I'm completely fine with that. The question however is; how in the world can we do this properly? The terminal diskutil gives me a very reasonable overview of the size of the complete HD and the partitions. iPartition for some reason spits out the unexplainable 85 gb as a current size and Macintosh's pride GUI the Disk Utility also is a bit out in the blue when it comes to what is actually on the total hard drive and how this is partitioned:



Also, adding the values of the independent disks doesn't total the space on the top disk. (Macintosh HD (91.4 gb) + disk0s4 (29.1 gb) is more than the selected disk's (also) 91.4 gb). In Maverick, partitioning with the Disk Utility used to be a dream, but now everything is locked and no button can be clicked anymore. I really need more space on my ubuntu partition, so what am I to do?

EDIT:

The terminal output reads the following:

$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         91.4 GB    disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:       Microsoft Basic Data                         29.1 GB    disk0s4
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           *91.0 GB    disk1
                                 Logical Volume on disk0s2
                                 4F26F5C3-8D94-419F-AFF1-B652E9DCDEF4
                                 Unencrypted


And

$ diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 08436957-C5CD-4DC6-B9FA-05B51A3EEFC8
    =========================================================
    Name:         Macintosh HD
    Status:       Online
    Size:         91387686912 B (91.4 GB)
    Free Space:   35364864 B (35.4 MB)
    |
    +-&lt; Physical Volume FFC67A8D-65A8-415E-A594-D7A6BED71844
    |   ----------------------------------------------------
    |   Index:    0
    |   Disk:     disk0s2
    |   Status:   Online
    |   Size:     91387686912 B (91.4 GB)
    |
    +-&gt; Logical Volume Family 56C0E988-502B-43D5-90DD-EFBE58143896
        ----------------------------------------------------------
        Encryption Status:       Unlocked
        Encryption Type:         None
        Conversion Status:       NoConversion
        Conversion Direction:    -none-
        Has Encrypted Extents:   No
        Fully Secure:            No
        Passphrase Required:     No
        |
        +-&gt; Logical Volume 4F26F5C3-8D94-419F-AFF1-B652E9DCDEF4
            ---------------------------------------------------
            Disk:                  disk1
            Status:                Online
            Size (Total):          90999996416 B (91.0 GB)
            Conversion Progress:   -none-
            Revertible:            No
            LV Name:               Macintosh HD
            Volume Name:           Macintosh HD
            Content Hint:          Apple_HFS
There are at least two approaches to solve your problem:
One is potentially destructive, vastly undocumented and i don't know if it works (1) and the other one is  for sure destructive (2). 

So please backup your Mac OS X and your Ubuntu partition if necessary.

Requirements: USB thumb drive with a full working Mac OS X and iPartition installed or a Linux Live USB with gparted.

It's also useful to have a second computer with internet access and the stackexchange credentials to check back if you run into severe problems.

(1) risk of destruction  (this may render your systems unusable):

Your Mac OS X partition (Macintosh HD) visible on the desktop is equivalent to the Logical Volume 4F26F5C3-8D94-419F-AFF1-B652E9DCDEF4. You may shrink it down to the 82.68 GB which will render your OS X almost unusable because it needs some free space. You may disable the sleepimage and gain the amount of your RAM size as additional free space though.  


Restart into Internet Recovery Mode by pressing cmdR
or your bootable Mavericks Thumb Drive with iPartition installed.
start Terminal from the menubar/utilities
enter following command at the Terminal prompt: 



  diskutil cs list
  Copy the Logical Volume (LV) alphanumeric UUID of your CoreStorage volume. The LVUUID should be the fourth listed. In the above example the alphanumeric is:
  4F26F5C3-8D94-419F-AFF1-B652E9DCDEF4.
  Run the following command:  



  diskutil cs resizeStack LVUUID  


According to the number found above it would be:  


  diskutil cs resizeStack 4F26F5C3-8D94-419F-AFF1-B652E9DCDEF4 88g  


This will hopefully shrink your CoreStorage volume to 88 GB (skip to step 9 if this doesn't work)
If necessary reboot into your thumb drive and start iPartition. Alternatively you may use a Linux Live USB with gparted.
Try to move the volume Recovery HD to the end of the now shrinked Macintosh HD  (skip to step 9 if this doesn't work)
Expand your Ubuntu partition


(2) total destruction (this will delete all partitions on your disk)


Disconnect all external hard drives
Restart into Internet Recovery Mode by pressing Command+R
(alternatively you may use a Mavericks or Mountain Lion Install Thumb Drive)
start Terminal from the menubar/utilities
enter following command at the Terminal prompt: 



  diskutil cs list
  Copy the Logical Volume Group (LVG) alphanumeric UUID of your CoreStorage volume. The LVG UUID should be the first listed. In the above example the alphanumeric is:
  08436957-C5CD-4DC6-B9FA-05B51A3EEFC8.
  Run the following command:  



  diskutil cs delete LVGUUID  


According to the number found above it would be:  


  diskutil cs delete 08436957-C5CD-4DC6-B9FA-05B51A3EEFC8 


This will delete your CoreStorage volume and probably your Recovery HD and reformat it as a simple HFS+ volume.
Quit Terminal
In the now opening window choose Disk Utility erase all leftover partitions and format/partition/rename the internal drive. Choose 1 Partition, Mac OS Extended (Journaled) and GUID partition table (available with the option button). Quit Disk Utility.
Now choose 'Reinstall Mac OS X'
The originally shipped OS X will be downloaded and installed or the one provided with the aforementioned OS X Install Thumb Drive.
Set up your Mac
Download and install Mavericks/Yosemite from the App Store if necessary
Install Ubuntu (in a larger partition now)