Can't delete a partition in Disk Utility.

Discussion in 'macOS' started by dannymout, Apr 30, 2016.

  1. dannymout macrumors newbie

    dannymout

    Joined:
    Apr 30, 2016
    Location:
    Canada
    #1
    I tried to put a clean install of OS 10.12 on my Mac. I did this by making another partition in DU, then installing OS 10.12 on it using the installer you can find download on the App Store, planning to delete the original partition. But, for some reason, in Disk Utility, I can't seem to delete the old partition. For some reason, I can delete the new partition (the one I want to keep).

    I attached an image showing what Disk Utility is doing.

    [​IMG]
     

    Attached Files:

  2. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #2
    Run these two commands in Terminal and post the output of each command so we can see what is going on.

    Code:
    diskutil list
    
    diskutil cs list
    Confirm Fenix is the one you want to delete?
     
  3. dannymout thread starter macrumors newbie

    dannymout

    Joined:
    Apr 30, 2016
    Location:
    Canada
    #3
    Yes, I'd like to delete Fenix.

    When I typed diskutil list, I got:

    Code:
    /dev/disk0 (internal, physical):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *251.0 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                  Apple_HFS Fenix                   149.6 GB   disk0s2
       3:          Apple_CoreStorage Danny                   99.9 GB    disk0s4
       4:                 Apple_Boot Recovery HD             650.0 MB   disk0s5
    /dev/disk1 (internal, virtual):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Danny                  +99.5 GB    disk1
                                     Logical Volume on disk0s4
                                     5BFFA964-566A-4F14-94A7-E3BFB5E5F4A1
                                     Unencrypted
    
    Then, when I typed diskutil cs list, I got:

    Code:
    CoreStorage logical volume groups (1 found)
    |
    +-- Logical Volume Group 7C5D0956-2DD7-41D7-80E7-3F521220E373
        =========================================================
        Name:         Danny
        Status:       Online
        Size:         99910004736 B (99.9 GB)
        Free Space:   18984960 B (19.0 MB)
        |
        +-< Physical Volume 025A573D-2085-4E00-A67B-8068AC9C970C
        |   ----------------------------------------------------
        |   Index:    0
        |   Disk:     disk0s4
        |   Status:   Online
        |   Size:     99910004736 B (99.9 GB)
        |
        +-> Logical Volume Family DAFB8453-4849-4CA1-A36D-B42A792CB31B
            ----------------------------------------------------------
            Encryption Type:         None
            |
            +-> Logical Volume 5BFFA964-566A-4F14-94A7-E3BFB5E5F4A1
                ---------------------------------------------------
                Disk:                  disk1
                Status:                Online
                Size (Total):          99538698240 B (99.5 GB)
                Revertible:            Yes (no decryption required)
                LV Name:               Danny
                Volume Name:           Danny
                Content Hint:          Apple_HFS

    The partition I want to keep is called Danny.
     
  4. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #4
    Okay... you have a couple things going on here we need work around. First, the Danny volume is a "core storage" volume and cannot be resized without turing off core storage. So Open Terminal and enter the line below then wait for core storage to "revert" on Danny.

    Code:
    diskutil cs revert "Danny"
    Second problem is Fenix is before Danny, so Fenix cannot be resized or removed. So let's do this. Once Danny has completed the core storage revert, do a command-r boot to recovery. Then open Disk Utility and click Fenix. Then in the edit menu click Restore... You will get a window like this. In the Restore from: dropdown select Danny then click Restore. This will clone Danny to Fenix.

    Looking at my screenshot I am restoring Macintosh HD to Backup. So using my example you should have Fenix selected where I have Backup selected... then you should have Danny selected where I have Macintosh HD on the dropdown. Make sense?

    Okay, once that completes, go ahead and reboot while holding the option key at startup. This will bring ups boot manage where you can select Fenix to boot to. Now you should be able to use Disk Utility from there to remove Danny (since we copied Danny to Fenix you won't lose anything) then resize Fenix to fill the disk.

    Then open Finder and select Fenix then hit the return key and rename it to Danny.

    Lastly open System Preferences and in the Startup Disk panel select Danny as the boot disk.

    So to summarize, we turned off core storage on Danny, then copied Danny to Fenix, the killed Danny and renamed Fenix to Danny. This would get you the end result you want.

    Before you do any of this at all, make sure you have a good backup in case things get sideways.

    Screen Shot 2016-04-30 at 11.15.32 AM.png
     

Share This Page