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

jboots

macrumors newbie
Original poster
Aug 29, 2014
6
0
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.
 

Swiss-G

macrumors 6502a
Jun 3, 2010
750
88
United Kingdom
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.

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.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,477
16,186
California
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
 

jboots

macrumors newbie
Original poster
Aug 29, 2014
6
0
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

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
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,477
16,186
California
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

Run this command in Terminal so we can see how things are laid out.

Code:
diskutil cs list
 

jboots

macrumors newbie
Original poster
Aug 29, 2014
6
0
Run this command in Terminal so we can see how things are laid out.

Code:
diskutil cs list



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$
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,477
16,186
California
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$

Looks like you have encryption turned on. Look in System Prefs in the Security pane and turn off Filevault.
 

jboots

macrumors newbie
Original poster
Aug 29, 2014
6
0
Looks like you have encryption turned on. Look in System Prefs in the Security pane and turn off Filevault.

vUmR7hO.png


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.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,477
16,186
California
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.

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?
 

jboots

macrumors newbie
Original poster
Aug 29, 2014
6
0
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?

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...
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,477
16,186
California
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...

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.
 

jboots

macrumors newbie
Original poster
Aug 29, 2014
6
0
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.

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.
 

zzmr

macrumors newbie
May 31, 2013
6
1
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.
 

GooberMan

macrumors member
Feb 20, 2014
43
3
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.
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:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.