Ian999

Q: Ran Bootcamp, now have an invisible 30gb partition

Help needed. I ran Bootcamp to install windows (obviously). All went well, rebooted, and nothing. The straight Mac experience. No sign of the win. All I have is a missing 30gbs. This partition is invisible to Disk utility.

 

Any suggestions as to how I can delete this partition? Thanks.

MacBook Air, OS X El Capitan (10.11)

Posted on Feb 11, 2016 11:00 PM

Close

Q: Ran Bootcamp, now have an invisible 30gb partition

  • All replies
  • Helpful answers

Page 1 Next
  • by Loner T,

    Loner T Loner T Feb 12, 2016 9:22 AM in response to Ian999
    Level 7 (23,898 points)
    Safari
    Feb 12, 2016 9:22 AM in response to Ian999

    BCA can fail while creating partitions.

     

    Can you post the output of the following OSX Terminal commands?

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

    sudo fdisk /dev/disk0

     

    The "sudo" commands will prompt for your password, and it will not be echoed back. You may also see a warning about improper use of "sudo" and potential data loss due to "abuse" of the command.

  • by Ian999,

    Ian999 Ian999 Feb 12, 2016 5:49 PM in response to Loner T
    Level 1 (4 points)
    Mac OS X
    Feb 12, 2016 5:49 PM in response to Loner T

    Thanks for the reply. Here is the output.

     

     

    gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060

    gpt show: /dev/disk0: PMBR at sector 0

    gpt show: /dev/disk0: Pri GPT at sector 1

    gpt show: /dev/disk0: Sec GPT at sector 977105059

          start       size  index  contents

              0          1         PMBR

              1          1         Pri GPT header

              2         32         Pri GPT table

             34          6        

             40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

         409640  975425840      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

      975835480    1269544      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

      977105024          3        

      977105027         32         Sec GPT table

      977105059          1         Sec GPT header

  • by Loner T,

    Loner T Loner T Feb 12, 2016 5:54 PM in response to Ian999
    Level 7 (23,898 points)
    Safari
    Feb 12, 2016 5:54 PM in response to Ian999

    Can you post the output of diskutil cs list?

  • by Ian999,

    Ian999 Ian999 Feb 12, 2016 6:08 PM in response to Loner T
    Level 1 (4 points)
    Mac OS X
    Feb 12, 2016 6:08 PM in response to Loner T

    Here it is:

     

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 6C6A3224-4CE2-4C9E-B855-A3B4B293A74A

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

        Name:         The Garden

        Status:       Online

        Size:         499418030080 B (499.4 GB)

        Free Space:   31998951424 B (32.0 GB)

        |

        +-< Physical Volume D3111097-D4D0-41AA-9386-C3044127EB6E

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

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     499418030080 B (499.4 GB)

        |

        +-> Logical Volume Family DC4F222C-31C7-43CA-B50A-4B54DEE9D56A

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

            Encryption Type:         AES-XTS

            Encryption Status:       Unlocked

            Conversion Status:       Complete

            High Level Queries:      Fully Secure

            |                        Passphrase Required

            |                        Accepts New Users

            |                        Has Visible Users

            |                        Has Volume Key

            |

            +-> Logical Volume 1186F0BF-8586-4158-B847-09C7117298AA

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

                Disk:                  disk1

                Status:                Online

                Size (Total):          467082481664 B (467.1 GB)

                Revertible:            No

                Revert Status:         Reboot required

                LV Name:               The Garden

                Volume Name:           The Garden

                Content Hint:          Apple_HFS

  • by Loner T,

    Loner T Loner T Feb 12, 2016 7:18 PM in response to Ian999
    Level 7 (23,898 points)
    Safari
    Feb 12, 2016 7:18 PM in response to Ian999
    Free Space:   31998951424 B (32.0 GB)

    This is your 'lost' 32Gb.

     

    Please run

     

    diskutil cs resizeVolume 1186F0BF-8586-4158-B847-09C7117298AA 0g

     

    Here is the syntax. See the underlined part. You may also need to run diskutil repairDisk disk0 in Internet Recovery to get the OS to rebuild it.

    diskutil cs resizeVolume

    Usage:  diskutil coreStorage resizeVolume

            lvUUID|MountPoint|DiskIdentifier|DeviceNode size

    Resize a logical volume, which is one of one or more disks that consume storage

    out of a logical volume group. The logical volume group will have more or less

    available space after this operation, if it was a shrink or grow, respectively.

    Specifying zero as the size asks for an "automatic" fit-to-fill-LVG operation.

    Example: diskutil coreStorage resizeVolume

             11111111-2222-3333-4444-555555555555 10g

  • by Ian999,

    Ian999 Ian999 Feb 12, 2016 9:55 PM in response to Loner T
    Level 1 (4 points)
    Mac OS X
    Feb 12, 2016 9:55 PM in response to Loner T

    Hi,

    I ran the command. I got an error message ? :

     

    Traveller:~ Traveller$ diskutil cs resizeVolume 1186F0BF-8586-4158-B847-09C7117298AA 0g

    The Core Storage Logical Volume UUID is 1186F0BF-8586-4158-B847-09C7117298AA

    Started CoreStorage operation

    Error: -69674: The provided Core Storage logical volume has an incorrect size; you should run whole-disk repair

  • by Loner T,

    Loner T Loner T Feb 12, 2016 10:02 PM in response to Ian999
    Level 7 (23,898 points)
    Safari
    Feb 12, 2016 10:02 PM in response to Ian999

    As expected. This is the reason I mentioned the repairDisk previously. Boot into Internet Recovery (not Local Recovery) and run

     

    diskutil repairDisk disk0

     

    Post the output of the command and check diskutil cs list to see the status of Free Space.

  • by Ian999,

    Ian999 Ian999 Feb 12, 2016 10:13 PM in response to Ian999
    Level 1 (4 points)
    Mac OS X
    Feb 12, 2016 10:13 PM in response to Ian999

    I am trying to find how to reboot into internet recovery mode. I do have a bootable usb flash drive. Can I use that?

  • by Ian999,

    Ian999 Ian999 Feb 12, 2016 10:51 PM in response to Loner T
    Level 1 (4 points)
    Mac OS X
    Feb 12, 2016 10:51 PM in response to Loner T

    I ran the diskutil repairDisk disk0

     

    Here is the output.

     

     

     

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 6C6A3224-4CE2-4C9E-B855-A3B4B293A74A

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

        Name:         The Garden

        Status:       Online

        Size:         499418030080 B (499.4 GB)

        Free Space:   31998951424 B (32.0 GB)

        |

        +-< Physical Volume D3111097-D4D0-41AA-9386-C3044127EB6E

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

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     499418030080 B (499.4 GB)

        |

        +-> Logical Volume Family DC4F222C-31C7-43CA-B50A-4B54DEE9D56A

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

            Encryption Type:         AES-XTS

            Encryption Status:       Unlocked

            Conversion Status:       Complete

            High Level Queries:      Fully Secure

            |                        Passphrase Required

            |                        Accepts New Users

            |                        Has Visible Users

            |                        Has Volume Key

            |

            +-> Logical Volume 1186F0BF-8586-4158-B847-09C7117298AA

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

                Disk:                  disk1

                Status:                Online

                Size (Total):          467082481664 B (467.1 GB)

                Revertible:            No

                Revert Status:         Reboot required

                LV Name:               The Garden

                Volume Name:           The Garden

                Content Hint:          Apple_HFS

  • by Loner T,

    Loner T Loner T Feb 13, 2016 5:54 AM in response to Ian999
    Level 7 (23,898 points)
    Safari
    Feb 13, 2016 5:54 AM in response to Ian999

    1. Do you still have the output of the repairDisk command?

    2. You CS volume still shows. Can you reboot and check the output of diskutil cs list? The CS LVG/LV should correct the Free Space summary after the cs resizeVolume. 

    Revertible:            No

    Revert Status:         Reboot required

  • by Ian999,

    Ian999 Ian999 Feb 13, 2016 6:42 PM in response to Loner T
    Level 1 (4 points)
    Mac OS X
    Feb 13, 2016 6:42 PM in response to Loner T

    Thanks Loner. It is Vals Day morning in Bangkok. So busy for a few hours with the gf. Will get back to the Mac later.

  • by Loner T,

    Loner T Loner T Feb 13, 2016 6:45 PM in response to Ian999
    Level 7 (23,898 points)
    Safari
    Feb 13, 2016 6:45 PM in response to Ian999

    The Mac can wait. . Happy Valentine's Day to you and your GF! Enjoy!

  • by Ian999,

    Ian999 Ian999 Feb 13, 2016 11:21 PM in response to Loner T
    Level 1 (4 points)
    Mac OS X
    Feb 13, 2016 11:21 PM in response to Loner T

    A man must prioritize!

     

    I rebooted into internet recovery, and ran the two commands. How does that look? Still missing 30gbs.

     

    Hope you are having fun on Val's Day.

     

    Ian

     

     

     

    -bash-3.2# diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 6C6A3224-4CE2-4C9E-B855-A3B4B293A74A

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

        Name:         The Garden

        Status:       Online

        Size:         499418030080 B (499.4 GB)

        Free Space:   32015724544 B (32.0 GB)

        |

        +-< Physical Volume D3111097-D4D0-41AA-9386-C3044127EB6E

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

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     499418030080 B (499.4 GB)

        |

        +-> Logical Volume Family DC4F222C-31C7-43CA-B50A-4B54DEE9D56A

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

            Encryption Status:       Unlocked

            Encryption Type:         AES-XTS

            Conversion Status:       Complete

            Conversion Direction:    -none-

            Has Encrypted Extents:   Yes

            Fully Secure:            Yes

            Passphrase Required:     Yes

            |

            +-> Logical Volume 1186F0BF-8586-4158-B847-09C7117298AA

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

                Disk:               disk13

                Status:             Online

                Size (Total):       467082481664 B (467.1 GB)

                Size (Converted):   -none-

                Revertible:         No

                LV Name:            The Garden

                Volume Name:        The Garden

                Content Hint:       Apple_HFS

    -bash-3.2#

     

     

     

    -bash-3.2# diskutil repairDisk disk0

    Repairing the partition map might erase disk0s1, proceed? (y/N) y

    Started partition map repair on disk0

    Checking prerequisites

    Checking the partition list

    Adjusting partition map to fit whole disk as required

    Checking for an EFI system partition

    Checking the EFI system partition's size

    Checking the EFI system partition's file system

    Checking all HFS data partition loader spaces

    Reviewing boot support loaders

    Checking Core Storage Physical Volume partitions

    Checking storage system

    Checking volume

    disk0s2: Scan for Volume Headers

    disk0s2: Scan for Disk Labels

    Logical Volume Group 6C6A3224-4CE2-4C9E-B855-A3B4B293A74A on 1 device

    disk0s2: Scan for Metadata Volume

    Logical Volume Group has a 17 MB Metadata Volume with double redundancy

    Start scanning metadata for a valid checkpoint

    Load and verify Segment Headers

    Load and verify Checkpoint Payload

    Load and verify Transaction Segment

    Incorporate 0 newer non-checkpoint transactions

    Load and verify Virtual Address Table

    Load and verify Segment Usage Table

    Load and verify Metadata Superblock

    Load and verify Logical Volumes B-Trees

    Logical Volume Group contains 1 Logical Volume

    Load and verify DC4F222C-31C7-43CA-B50A-4B54DEE9D56A

    Load and verify 1186F0BF-8586-4158-B847-09C7117298AA

    Load and verify Freespace Summary

    Load and verify Block Accounting

    Load and verify Live Virtual Addresses

    Newest transaction commit checkpoint is valid

    Load and verify Segment Cleaning

    The volume 6C6A3224-4CE2-4C9E-B855-A3B4B293A74A appears to be OK

    Checking storage system

    Checking volume

    disk0s2: Scan for Volume Headers

    disk0s2: Scan for Disk Labels

    Logical Volume Group 6C6A3224-4CE2-4C9E-B855-A3B4B293A74A on 1 device

    disk0s2: Scan for Metadata Volume

    Logical Volume Group has a 17 MB Metadata Volume with double redundancy

    Start scanning metadata for a valid checkpoint

    Load and verify Segment Headers

    Load and verify Checkpoint Payload

    Load and verify Transaction Segment

    Incorporate 0 newer non-checkpoint transactions

    Load and verify Virtual Address Table

    Load and verify Segment Usage Table

    Load and verify Metadata Superblock

    Load and verify Logical Volumes B-Trees

    Logical Volume Group contains 1 Logical Volume

    Load and verify DC4F222C-31C7-43CA-B50A-4B54DEE9D56A

    Load and verify 1186F0BF-8586-4158-B847-09C7117298AA

    Load and verify Freespace Summary

    Load and verify Block Accounting

    Load and verify Live Virtual Addresses

    Newest transaction commit checkpoint is valid

    Load and verify Segment Cleaning

    The volume 6C6A3224-4CE2-4C9E-B855-A3B4B293A74A appears to be OK

    Updating Windows boot.ini files as required

    The partition map appears to be OK

    Finished partition map repair on disk0

    -bash-3.2# ls

    .forward    Library

    -bash-3.2#

  • by Loner T,

    Loner T Loner T Feb 14, 2016 6:06 AM in response to Ian999
    Level 7 (23,898 points)
    Safari
    Feb 14, 2016 6:06 AM in response to Ian999

    Can you run

     

    diskutil cs resizeVolume 1186F0BF-8586-4158-B847-09C7117298AA 499418030080B

     

    Please post the output of the command.

Page 1 Next