Correcting Logical Volumes Via Terminal

Discussion in 'iMac' started by OhioPineapple, Jun 13, 2017.

  1. OhioPineapple macrumors newbie

    OhioPineapple

    Joined:
    Jun 13, 2017
    Location:
    Columbus,Ohio
    #1
    Ok so this all started by me trying to install windows 10 via bootcamp assistant... when that was all said and done (never got windows installed) I gave up and opened boot camp and tried to repartition my MacHD back to what it was before and got the error "startup disk cannot be partitioned or restored"

    After some research it looks like the fix for this is to do an erase of Macintosh HD and reinstall OS or restore from time machine.

    I booted to internet recovery (regular recovery isn't there due to boot camp assistant somehow erasing it)

    Once in internet recovery I opened disk utility and tried to erase Macintosh HD I got the error "unable to delete core storage volume"

    I looked this up online and found a post (https://forums.macrumors.com/threads/unable-to-delete-core-storage-logical-volume.1989961/) saying to fix this go to terminal and type in "diskutil cs delete "Macintosh HD"" then go back into disk utility. Upon doing this I got a line in terminal that showed a rotating symbol indiciatimg it was working and 10%...20%........ and it went no where for a good 10-15 mins so I closed terminal and tried calling Apple Care. I got a senior tech on the phone and though it was outside of their support range he had me try pulling diskutil cs list in terminal copying the UUID and doing another code (see screenshot below) I'm still sitting here waiting and I can't tell if there is progress or how long this should take. Am I on the right path? All I want is the be able to erase my Macintosh HD and be able to restore from my time machine backup. IMG_4676.jpg
     
  2. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #2
    I'm a little confused. Do you have a Fusion drive?

    Run each of these commands in Terminal and post the output of each command.

    Code:
    diskutil list
    
    diskutil cs list
     
  3. OhioPineapple thread starter macrumors newbie

    OhioPineapple

    Joined:
    Jun 13, 2017
    Location:
    Columbus,Ohio
    #3
    I have a screenshot of both uploaded here. It's a mess and yes it's a fusion drive.
    --- Post Merged, Jun 14, 2017 ---
    I have a Genius Bar reservation today but I'd like some help fixing it from home if I could. I'm sure it can be resolved Via Terminal I just don't know how to do it.
     

    Attached Files:

  4. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #4
    Okay... go back to Internet recovery and follow the instructions in my posts #6 and #14 in this thread. That should create the Fusion drive.

    Then once the Fusion drive is created, and while still in recovery, click restore and point to your Time Machine disk to restore everything back. I'm assuming here you have a TM backup.
     
  5. OhioPineapple thread starter macrumors newbie

    OhioPineapple

    Joined:
    Jun 13, 2017
    Location:
    Columbus,Ohio
    #5
    Oh my god! I think you've fixed it.

    Ok I did the delete Macintosh hd command then the command to fuse the drives then created the volume called fusion. Now I am attempting to restore from my time machine backup. If it works I am going to be so relieved. This is farther than I've ever made it before and I appreciate your help so so much! I'll post again if I run into trouble if I don't thank you x1000!
     

Share This Page