Josh99Ralla

Q: Can't format former Boot Camp partition

So I stupidly erased my Boot Camp partition using Disk Utility rather than in the Boot Camp Assistant. And now I the partition is stuck as free space and i can't change it. When i select the free space in Disk Util, I can change it to Mac OS Extended and ExFAT as usual, but when I press apply, the progress bar appears for a brief second and disappears. Then it acts as if I never pressed apply; when I close the window, it says that I have unsaved changes. The free space does not appear as a drive in the left sidebar.

 

I have tried reinstalling OS X, I've tried returning to a time machine backup, I've verified and repaired the disk, but nothing has worked.

I'm left with 67GB of space unusable on my macbook now.

MacBook Pro with Retina display, OS X Mavericks (10.9.4)

Posted on Oct 11, 2014 9:36 AM

Close

Q: Can't format former Boot Camp partition

  • All replies
  • Helpful answers

first Previous Page 11 of 16 last Next
  • by ralphejims,

    ralphejims ralphejims Jul 30, 2015 11:04 AM in response to ralphejims
    Level 1 (0 points)
    Jul 30, 2015 11:04 AM in response to ralphejims

    1T byte hard drive with fusion drive. The physical volume that is blank is the one with 121Gb space. disk0s2

  • by Loner T,

    Loner T Loner T Jul 30, 2015 11:15 AM in response to ralphejims
    Level 7 (24,800 points)
    Safari
    Jul 30, 2015 11:15 AM in response to ralphejims

    disk0s2 is part of the CS volume/volume group Macintosh HD. It is not blank. You also have a 1TB Samsung CS volume/volume group.

     

    Can you post the output of diskutil list?

  • by ralphejims,

    ralphejims ralphejims Jul 30, 2015 11:32 AM in response to Loner T
    Level 1 (0 points)
    Jul 30, 2015 11:32 AM in response to Loner T

    I just deleted the hard drive with the command diskutil cs delete 256053B4-C324-4591-96F1-0CBAE63CF3F5. The result is the following. How do i restore the hard drive without creating further partitions. The following disk is my external drive that i use for time machine and backup.

     

     

    -bash-3.2# diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group FF72BC95-BB44-4D39-A18B-6A8A340C2422

        =========================================================

        Name:         SAMSUNG

        Status:       Online

        Size:         999860912128 B (999.9 GB)

        Free Space:   4096 B (4.1 KB)

        |

        +-< Physical Volume 9363C514-E066-4D81-81ED-7AE7BE622E28

        |   ----------------------------------------------------

        |   Index:    0

        |   Disk:     disk14s2

        |   Status:   Online

        |   Size:     999860912128 B (999.9 GB)

        |

        +-> Logical Volume Family DD5A18B6-41CF-455F-9340-1995130B58F7

            ----------------------------------------------------------

            Encryption Status:       Locked

            Encryption Type:         AES-XTS

            Conversion Status:       Complete

            Conversion Direction:    -none-

            Has Encrypted Extents:   Yes

            Fully Secure:            Yes

            Passphrase Required:     Yes

            |

            +-> Logical Volume F4FB7891-388E-40BA-846B-76A8D2CF17B7

                ---------------------------------------------------

                Disk:                  -none-

                Status:                Locked

                Size (Total):          999525363712 B (999.5 GB)

                Conversion Progress:   -none-

                Revertible:            Yes (unlock and decryption required)

                LV Name:               SAMSUNG

                Content Hint:          Apple_HFSX

    -bash-3.2#

  • by ralphejims,

    ralphejims ralphejims Jul 30, 2015 11:35 AM in response to Loner T
    Level 1 (0 points)
    Jul 30, 2015 11:35 AM in response to Loner T

    I have posted already 2 lists. One is the list before i deleted the hard drive. the secon is the list after i have deleted the hard drive. What else should i do in order to restore the hard drive without having partitions?

  • by Loner T,

    Loner T Loner T Jul 30, 2015 11:43 AM in response to ralphejims
    Level 7 (24,800 points)
    Safari
    Jul 30, 2015 11:43 AM in response to ralphejims

    Can you temporarily disconnect the TM disk? Once disconnected, post the output of

     

    diskutil list

    diskutil cs list (this is different from the first command).

  • by ralphejims,

    ralphejims ralphejims Jul 30, 2015 12:03 PM in response to Loner T
    Level 1 (0 points)
    Jul 30, 2015 12:03 PM in response to Loner T

    Ok, it will take quite a moment. around 15 mins. I have removed the TM and it is restarting through internet connection. Just be patient

  • by Loner T,

    Loner T Loner T Jul 30, 2015 12:05 PM in response to ralphejims
    Level 7 (24,800 points)
    Safari
    Jul 30, 2015 12:05 PM in response to ralphejims

    Take your time.

  • by ralphejims,

    ralphejims ralphejims Jul 30, 2015 12:45 PM in response to Loner T
    Level 1 (0 points)
    Jul 30, 2015 12:45 PM in response to Loner T

    It has finished restarting. This is what i got from the list:

     

    -bash-3.2# diskutil cs list

    No CoreStorage logical volume groups found

    -bash-3.2#

    -bash-3.2# diskutil cs list

    No CoreStorage logical volume groups found

    -bash-3.2#

  • by Loner T,

    Loner T Loner T Jul 30, 2015 12:50 PM in response to ralphejims
    Level 7 (24,800 points)
    Safari
    Jul 30, 2015 12:50 PM in response to ralphejims

    diskutil list

     

    Do not use cs.

  • by ralphejims,

    ralphejims ralphejims Jul 30, 2015 1:04 PM in response to Loner T
    Level 1 (0 points)
    Jul 30, 2015 1:04 PM in response to Loner T

    -bash-3.2# 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_HFS Untitled 121.0 GB disk0s2

    /dev/disk1

      #: TYPE NAME SIZE IDENTIFIER

      0: GUID_partition_scheme *1.0 TB disk1

      1: EFI EFI 209.7 MB disk1s1

      2: Apple_HFS Untitled 708.5 GB disk1s2

      3: EFI NO NAME 104.9 MB disk1s3

      4: EFI NO NAME 104.9 MB disk1s4

      5: EFI NO NAME 104.9 MB disk1s5

    /dev/disk2

      #: TYPE NAME SIZE IDENTIFIER

      0: Apple_partition_scheme *1.3 GB disk2

      1: Apple_partition_map 30.7 KB disk2s1

      2: Apple_HFS OS X Base System 1.3 GB disk2s2

    /dev/disk3

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk3

    /dev/disk4

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk4

    /dev/disk5

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk5

    /dev/disk6

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk6

    /dev/disk7

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk7

    /dev/disk8

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *6.3 MB disk8

    /dev/disk9

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *2.1 MB disk9

    /dev/disk10

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *1.0 MB disk10

    /dev/disk11

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk11

    /dev/disk12

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk12

    /dev/disk13

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *1.0 MB disk13

    /dev/disk14

      #: TYPE NAME SIZE IDENTIFIER

      0: FDisk_partition_scheme *1.0 GB disk14

      1: DOS_FAT_16 USB Drive 1.0 GB disk14s1

    -bash-3.2#

  • by ralphejims,

    ralphejims ralphejims Jul 30, 2015 1:08 PM in response to ralphejims
    Level 1 (0 points)
    Jul 30, 2015 1:08 PM in response to ralphejims

    I used a USB drive to copy the list command because safari is not responding. You will see it at the bottom of the list

  • by ralphejims,

    ralphejims ralphejims Jul 30, 2015 1:11 PM in response to Loner T
    Level 1 (0 points)
    Jul 30, 2015 1:11 PM in response to Loner T

    A new list without the USB drive

     

    -bash-3.2# 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_HFS Untitled 121.0 GB disk0s2

    /dev/disk1

      #: TYPE NAME SIZE IDENTIFIER

      0: GUID_partition_scheme *1.0 TB disk1

      1: EFI EFI 209.7 MB disk1s1

      2: Apple_HFS Untitled 708.5 GB disk1s2

      3: EFI NO NAME 104.9 MB disk1s3

      4: EFI NO NAME 104.9 MB disk1s4

      5: EFI NO NAME 104.9 MB disk1s5

    /dev/disk2

      #: TYPE NAME SIZE IDENTIFIER

      0: Apple_partition_scheme *1.3 GB disk2

      1: Apple_partition_map 30.7 KB disk2s1

      2: Apple_HFS OS X Base System 1.3 GB disk2s2

    /dev/disk3

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk3

    /dev/disk4

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk4

    /dev/disk5

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk5

    /dev/disk6

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk6

    /dev/disk7

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk7

    /dev/disk8

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *6.3 MB disk8

    /dev/disk9

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *2.1 MB disk9

    /dev/disk10

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *1.0 MB disk10

    /dev/disk11

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk11

    /dev/disk12

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *524.3 KB disk12

    /dev/disk13

      #: TYPE NAME SIZE IDENTIFIER

      0: untitled *1.0 MB disk13

    -bash-3.2#

  • by Loner T,

    Loner T Loner T Jul 30, 2015 1:15 PM in response to ralphejims
    Level 7 (24,800 points)
    Safari
    Jul 30, 2015 1:15 PM in response to ralphejims

    disk1 is not correct. You will need to erase it. After it is erased, you will have an EFI on disk1s0 and disk1s2 should be the entire disk (- 200MB). Post the output of the execution of the following commands.

     

    1. diskutil erasedisk JHFS+ HDD disk1

    2. diskutil cs create OSX-MacintoshLVG disk0s2 disk1s2

    3. diskutil cs createVolume <UUIDFromStep2> jhfs+ "Macintosh HD" 100%

    4. diskutil cs list

  • by ralphejims,

    ralphejims ralphejims Jul 30, 2015 1:32 PM in response to Loner T
    Level 1 (0 points)
    Jul 30, 2015 1:32 PM in response to Loner T

    -bash-3.2# diskutil erasedisk JHFS+ HDD disk1

    Started erase on disk1

    Unmounting disk

    Creating the partition map

    Waiting for the disks to reappear

    Formatting disk1s2 as Mac OS Extended (Journaled) with name HDD

    Initialized /dev/rdisk1s2 as a 931 GB case-insensitive HFS Plus volume with a 81920k journal

    Mounting disk

    Finished erase on disk1

    -bash-3.2#

    -bash-3.2# diskutil cs create OSX-MacintoshLVG disk0s2 disk1s2

    Started CoreStorage operation

    Unmounting disk0s2

    Touching partition type on disk0s2

    Adding disk0s2 to Logical Volume Group

    Unmounting disk1s2

    Touching partition type on disk1s2

    Adding disk1s2 to Logical Volume Group

    Creating Core Storage Logical Volume Group

    Switching disk0s2 to Core Storage

    Switching disk1s2 to Core Storage

    Waiting for Logical Volume Group to appear

    Discovered new Logical Volume Group "D58C9A35-0855-4F6F-BED1-D59EAC5AF28C"

    Core Storage LVG UUID: D58C9A35-0855-4F6F-BED1-D59EAC5AF28C

    Finished CoreStorage operation

    -bash-3.2#

    -bash-3.2# diskutil cs createVolume D58C9A35-0855-4F6F-BED1-D59EAC5AF28C jhfs+ "Macintosh HD" 100%

    The Core Storage Logical Volume Group UUID is D58C9A35-0855-4F6F-BED1-D59EAC5AF28C

    Started CoreStorage operation

    Waiting for Logical Volume to appear

    Formatting file system for Logical Volume

    Initialized /dev/rdisk14 as a 1 TB case-insensitive HFS Plus volume with a 90112k journal

    Mounting disk

    Core Storage LV UUID: 24B4FC14-6C84-44F9-A78E-07502960C541

    Core Storage disk: disk14

    Finished CoreStorage operation

    -bash-3.2#

    -bash-3.2# diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group D58C9A35-0855-4F6F-BED1-D59EAC5AF28C

      =========================================================

      Name: OSX-MacintoshLVG

      Status: Online

      Size: 1120849764352 B (1.1 TB)

      Free Space: 32768 B (32.8 KB)

      |

      +-< Physical Volume BEB1745E-9977-4A6F-9511-699A0A46A234

      | ----------------------------------------------------

      | Index: 0

      | Disk: disk0s2

      | Status: Online

      | Size: 120988852224 B (121.0 GB)

      |

      +-< Physical Volume 0F1676BC-5711-4E4F-8BD1-40001C3B8C04

      | ----------------------------------------------------

      | Index: 1

      | Disk: disk1s2

      | Status: Online

      | Size: 999860912128 B (999.9 GB)

      |

      +-> Logical Volume Family 085B35F7-851C-4C5C-8C4E-D444A04D4B55

      ----------------------------------------------------------

      Encryption Status: Unlocked

      Encryption Type: None

      Conversion Status: NoConversion

      Conversion Direction: -none-

      Has Encrypted Extents: No

      Fully Secure: No

      Passphrase Required: No

      |

      +-> Logical Volume 24B4FC14-6C84-44F9-A78E-07502960C541

      ---------------------------------------------------

      Disk: disk14

      Status: Online

      Size (Total): 1115351285760 B (1.1 TB)

      Conversion Progress: -none-

      Revertible: No

      LV Name: Macintosh HD

      Volume Name: Macintosh HD

      Content Hint: Apple_HFS

    -bash-3.2#

  • by Loner T,

    Loner T Loner T Jul 30, 2015 1:37 PM in response to ralphejims
    Level 7 (24,800 points)
    Safari
    Jul 30, 2015 1:37 PM in response to ralphejims

    Looks fine. Please restore from your TM backup now.

first Previous Page 11 of 16 last Next