Can't resize/delete/remove other partition...

Discussion in 'OS X Yosemite (10.10)' started by jboots, Aug 29, 2014.

  1. jboots macrumors newbie

    Joined:
    Aug 29, 2014
    #1
    Hey guys.

    So I wanted to play around with Yosemite... so I created a second partition, installed Yosemite on it... and it has been working great. However... I ran into a slight problem when I noticed I was running low on space on the Yosemite partition.

    So I went into disk utility, and confirmed that i was just about maxed out on space on my yosemite partition. I noticed that I wasn't able to resize my original partition, or my Yosemite partition...

    http://i.imgur.com/rwBA3Bf.png
    (Pic of Disk Utility).

    When I select the top level 'Yosemite' HDD, and go into Partition... I notice when I select the initial partition, the '-' remove button enables. When I click it, it asks if I want to remove the partition, I click yes, and it lights up and claims it's finished... but the partition remains untouched.

    Any ideas?

    I'm basically wanting to remove that first partition completely, and have the yosemite partition consume the entire drive.
     
  2. Swiss-G macrumors 6502a

    Swiss-G

    Joined:
    Jun 3, 2010
    Location:
    United Kingdom
    #2
    The installation of Yosemite has created a logical volume group. You can fix it this way:

    If the yosemite installer creates logical volume groups, you can run this in terminal to get your partitions back to normal. This will also make a recovery partition visible when you boot up when holding the option key down.

    diskutil cs list

    and then

    diskutil coreStorage revert lvUUID

    where lvUUID is the last lvUUID reported by the previous Terminal command.

    You may have to restart for everything to get back to normal after you have run these commands in Terminal.
     
  3. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #3
    Run the command below in Terminal and that will turn off core storage for the Yosemite volume and allow you to manipulate the partitions normally.

    Code:
    diskutil cs revert disk1
     
  4. jboots thread starter macrumors newbie

    Joined:
    Aug 29, 2014
    #4
    got this error...

    Error: -69741: The target disk isn't eligible for reversion because it wasn't created by conversion or it is not part of a simple setup of exactly one logical and one physical volume
     
  5. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #5
    Run this command in Terminal so we can see how things are laid out.

    Code:
    diskutil cs list
     
  6. jboots thread starter macrumors newbie

    Joined:
    Aug 29, 2014
    #6


    Code:
    jboutin-macbook:~ jboutin$ diskutil cs list
    CoreStorage logical volume groups (1 found)
    |
    +-- Logical Volume Group C78AB709-EB69-4257-AB3E-0AF909A438E3
        =========================================================
        Name:         Yosemite
        Status:       Online
        Size:         94350000128 B (94.3 GB)
        Free Space:   11714560 B (11.7 MB)
        |
        +-< Physical Volume 5497F1CA-B87D-4D06-83C0-C55938D7C9B6
        |   ----------------------------------------------------
        |   Index:    0
        |   Disk:     disk0s3
        |   Status:   Online
        |   Size:     94350000128 B (94.3 GB)
        |
        +-> Logical Volume Family ED303E0C-8546-4B9C-9601-21AAEEA5E5E2
            ----------------------------------------------------------
            Encryption Status:       Unlocked
            Encryption Type:         AES-XTS
            Conversion Status:       Complete
            Conversion Direction:    -none-
            Has Encrypted Extents:   Yes
            Fully Secure:            No
            Passphrase Required:     No
            |
            +-> Logical Volume 8478ECD5-B46C-4B77-B02B-DF1CEF04BA86
                ---------------------------------------------------
                Disk:                  disk1
                Status:                Online
                Size (Total):          94350000128 B (94.3 GB)
                Conversion Progress:   Complete
                Revertible:            No
                LV Name:               Yosemite
                Volume Name:           Yosemite
                Content Hint:          Apple_HFS
    jboutin-macbook:~ jboutin$ 
    
     
  7. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #7
    Looks like you have encryption turned on. Look in System Prefs in the Security pane and turn off Filevault.
     
  8. jboots thread starter macrumors newbie

    Joined:
    Aug 29, 2014
    #8
    [​IMG]

    if filevault is enabled on the other partition, not sure how to manually turn it off via terminal as there isn't an OS installed on there.
     
  9. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #9
    This is odd. You can see in that command output in your previous post it shows it is encrypted and it says NO by revertible, so that's why it won't work. Now how it got that way, I have no idea.

    So you already deleted the previous Mavericks partition/OS?

    At this point, I think it is time to erase the whole disk and start over. What have you got in the way of a backup we can restore from?
     
  10. jboots thread starter macrumors newbie

    Joined:
    Aug 29, 2014
    #10
    I didn't delete the Mavericks partition, I formatted it in hopes that it would then allow me to do the resize... but alas, it didn't. It simply formatted the partition, and left it blank.

    Can you not disable encryption from outside the OS?

    I have no backups, everything on my Yosemite partition is current and correct.

    I'm trying to avoid reinstalling yosemite, or any of that...
     
  11. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #11
    There is a Terminal command to unencrypt, but I am not optimistic it will work for you.

    Code:
    diskutil cs decryptVolume disk1
    How about this. Try a command-option-r boot to Internet recovery. Open Disk Util and erase the old Mavericks partition. Then select the Yosemite partition and go to the File menu and unlock that partition. Now go to the retire tab and drag the Yosemite partition in as the source and drag the old Mavericks partition in as the destination then click restore.

    That should clone Yosemite to the top Mavericks partition. Then you can option key boot to the new Yosemite partition and erase then delete the old Yosemite partition.

    For this to work the destination partition will need to be as big as the source.

    You should backup before doing this in case it goes badly.
     
  12. jboots thread starter macrumors newbie

    Joined:
    Aug 29, 2014
    #12
    Ran that first command while logged into the Yosemite install...

    Got this error:

    Code:
    The Core Storage Logical Volume UUID is 8478ECD5-B46C-4B77-B02B-DF1CEF04BA86
    Error beginning CoreStorage Logical Volume decryption: The target Core Storage volume is not encrypted (-69755)
    
    I'll try that second bit tonight. If that doesn't go well, I'll probably just install Yosemite on that first partition (original core partition), and copy over the files/settings from my current install... which should pretty much solve my issue.

    thanks for the help.
     
  13. zzmr macrumors newbie

    Joined:
    May 31, 2013
    #13
    I clean installed Yosemite and my partition turned into this.
    Naidis$ diskutil list
    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *500.3 GB disk0
    1: EFI EFI 209.7 MB disk0s1
    2: Apple_CoreStorage 499.4 GB disk0s2
    3: Apple_Boot Recovery HD 650.0 MB disk0s3
    /dev/disk1
    #: TYPE NAME SIZE IDENTIFIER
    0: Apple_HFS Macintosh HD *499.0 GB disk1


    The recovery hd is missing after restarting and pressing option. (Though via pressing command +r it's working)
    I found this thread and by running "diskutil cs revert disk1" the recovery hd is back now.

    I'm not sure there's a connection but handoff is not working now. I'll find it out.
     
  14. GooberMan macrumors member

    Joined:
    Feb 20, 2014
    #14
    Had the exact same thing happen to me as the original poster, and this ^ helped, as it allowed me to deal with partitions "normally" before Yosemite "locked" them into place.

    Unfortunately Time Machine decided this was a good time to not backup about a weeks worth of files for whatever reason. :mad:

    Thank you Apple, for your all around brilliance here. :rolleyes:
     

Share This Page