Baumxyz

Q: Can't resize Macintosh HD partition

Hello,

 

I've installed Windows 8.1 via the BCA on my MacBook Pro and upgraded it to Windows 10. Now I wanted to perform a clean installation of Windows 10 via the BCA afterwards to get rid of the Windows 8.1 overload.

 

My first problem was that BCA did not recognize my Windows installation anymore (because of the upgrade). So I started in recovery mode to delete the three partition which belongs to Boot Camp (disk0s4, BOOTCAMP and disk0s6). There are still two problems:

 

1. My Macintosh HD only has 169 GB but I have a total space of 250 GB. I'm not able to resize my Macintosh HD partition (even in recovery mode).

2. If I hold ALT while booting, I still see Windows as a boot option. But I don't have any Windows partitions left on the system.

 

What should I do now? I want to remove Windows as a boot option and get back the full 250 GB for my Macintosh HD partition.

 

Thanks in advance!

 

PS: If I type diskutil cs list in Terminal I only get one CoreStorage logical volume group named Macintosh HD.

MacBook Pro with Retina display, OS X Yosemite (10.10.5), MBP Retina 2015 13" 250GB

Posted on Aug 27, 2015 6:10 AM

Close

Q: Can't resize Macintosh HD partition

  • All replies
  • Helpful answers

Page 1 of 4 last Next
  • by Loner T,

    Loner T Loner T Aug 27, 2015 6:58 AM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 27, 2015 6:58 AM in response to Baumxyz

    1. You seem to have parts of the Microsoft EFI code still on your disk. Was W8.1 installed using EFI boot? Your disk layout indicates a Windows RE partition as well (disk0s6).

    2. Please post the output of the following 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 Baumxyz,

    Baumxyz Baumxyz Aug 27, 2015 7:14 AM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 27, 2015 7:14 AM in response to Loner T

    diskutil list

    /dev/disk0

      #:                      TYPE NAME                    SIZE      IDENTIFIER

      0:      GUID_partition_scheme                        *251.0 GB  disk0

      1:                        EFI EFI                    209.7 MB  disk0s1

      2:          Apple_CoreStorage                        169.4 GB  disk0s2

      3:                Apple_Boot Recovery HD            650.0 MB  disk0s3

    /dev/disk1

      #:                      TYPE NAME                    SIZE      IDENTIFIER

      0:                  Apple_HFS Macintosh HD          *169.0 GB  disk1

                                    Logical Volume on disk0s2

                                    D4E3EEE0-B6FC-476D-A615-F02F4E10E368

                                    Unlocked Encrypted

     

    diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group DAC02A65-4027-4D05-B5D8-93295E7C7D34

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

        Name:        Macintosh HD

        Status:      Online

        Size:        169361367040 B (169.4 GB)

        Free Space:  9134080 B (9.1 MB)

        |

        +-< Physical Volume D97EBB1C-D684-4275-A5AC-6DC6AF360BA5

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

        |  Index:    0

        |  Disk:    disk0s2

        |  Status:  Online

        |  Size:    169361367040 B (169.4 GB)

        |

        +-> Logical Volume Family 11A8E6B3-3DA0-46DF-A0BD-40F5C76878AB

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

            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 D4E3EEE0-B6FC-476D-A615-F02F4E10E368

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

                Disk:                  disk1

                Status:                Online

                Size (Total):          168999911424 B (169.0 GB)

                Conversion Progress:  -none-

                Revertible:            Yes (unlock and decryption required)

                LV Name:              Macintosh HD

                Volume Name:          Macintosh HD

                Content Hint:          Apple_HFS

     

    sudo gpt -vv -r show /dev/disk0

    gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752

    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 490234751

          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  330783920      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

      331193560    1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

      332463096  157771623      

      490234719        32        Sec GPT table

      490234751          1        Sec GPT header

     

    sudo fdisk /dev/disk0

    Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors]

    Signature: 0xAA55

            Starting      Ending

    #: id  cyl  hd sec -  cyl  hd sec [    start -      size]

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

    1: EE 1023 254  63 - 1023 254  63 [        1 -  490234751] <Unknown ID>

    2: 00    0  0  0 -    0  0  0 [        0 -          0] unused    

    3: 00    0  0  0 -    0  0  0 [        0 -          0] unused    

    4: 00    0  0  0 -    0  0  0 [        0 -          0] unused

  • by Loner T,

    Loner T Loner T Aug 27, 2015 7:17 AM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 27, 2015 7:17 AM in response to Baumxyz

    You disk space is stuck in the Free Space after Recovery HD. Normally, BC Assistant moves Recovery HD to the end and then merges the space into OSX. This has to be manually done now. You will lose Recovery HD temporarily. Let me know if you want to proceed, and I can provide Terminal commands to do this. You will also need to disable FileVault2 temporarily.

  • by Baumxyz,

    Baumxyz Baumxyz Aug 27, 2015 7:19 AM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 27, 2015 7:19 AM in response to Loner T

    Is there no other way? And am I safe if I perform a backup via Time Machine before?

  • by Loner T,

    Loner T Loner T Aug 27, 2015 7:30 AM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 27, 2015 7:30 AM in response to Baumxyz

    In fact a backup is a must to keep your data safe. You have another option...

     

    1. Back up OSX using Time Machine - Mac Basics: Time Machine backs up your Mac - Apple Support.

    2. Boot into Internet Recovery - OS X: About OS X Recovery - Apple Support.

    3. Erase your internal drive and restore from the TM backup in Step 1 - OS X Yosemite: Recover your entire system.

     

    Please be aware that TM does not backup Bootcamp partitions.

  • by Baumxyz,

    Baumxyz Baumxyz Aug 27, 2015 7:33 AM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 27, 2015 7:33 AM in response to Loner T

    What option would you recommend? I think I feel better with the terminal commands. What do you think? I've backupped my system five minutes ago.

  • by Loner T,

    Loner T Loner T Aug 27, 2015 7:34 AM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 27, 2015 7:34 AM in response to Baumxyz

    The Terminal commands are quicker, but need to be executed carefully. The Backup/Restore is simpler, but takes much longer. We can proceed either way. You are the decision-maker.

  • by Baumxyz,

    Baumxyz Baumxyz Aug 27, 2015 7:38 AM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 27, 2015 7:38 AM in response to Loner T

    Thanks for your support! I think the Terminal commands sounds better to my ears. :-)

  • by Loner T,Helpful

    Loner T Loner T Aug 27, 2015 7:11 PM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 27, 2015 7:11 PM in response to Baumxyz

    1. Turn off FileVault - OS X Yosemite: Turn off FileVault encryption .

    2. After it completes, check the output of diskutil cs list and ensure the following is still true

    Revertible:            Yes (unlock and decryption required)

    3. If it is not Revertible, please post back.

    4. Revert your CS volume to JHFS+ file system - diskutil cs revert D4E3EEE0-B6FC-476D-A615-F02F4E10E368

    5. Merger Recovery HD with the JHFS+ file system - diskutil mergePartitions disk0s2 disk0s3

    6. Run Disk Utility and drag the bottom right corner of the OS X partition to the maximum possible.

    7. Re-install OS X using Internet Recovery - OS X: About OS X Recovery - Apple Support . Be aware that Internet Recovery will provide the version of OS X that originally shipped with your Mac, which may be older than the current OS X version.

    8. Run Software Update from App Store to get the OS X version that you want. Update all Applications if necessary.

    9. Reboot in Safe Mode and then normally - OS X Yosemite: Start up in safe mode .

    10. Run BCA and try to install Windows.

  • by Baumxyz,

    Baumxyz Baumxyz Aug 28, 2015 6:37 AM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 28, 2015 6:37 AM in response to Loner T

    Oh, that sounds like I will lose apps and data on my MacBook. I don't want to lose data.

  • by Loner T,

    Loner T Loner T Aug 28, 2015 7:34 AM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 28, 2015 7:34 AM in response to Baumxyz

    You do not lose data, but it is recommended that you have a backup. Re-installation of OSX only updates OS-specific files.

  • by Baumxyz,

    Baumxyz Baumxyz Aug 28, 2015 7:49 AM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 28, 2015 7:49 AM in response to Loner T

    Oh, okay - I do understand. I'll try that and give you feedback as soon as I'm finished.

  • by Loner T,

    Loner T Loner T Aug 28, 2015 8:00 AM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 28, 2015 8:00 AM in response to Baumxyz

    If you see any errors or need help, please post back?

  • by Baumxyz,

    Baumxyz Baumxyz Aug 29, 2015 7:05 AM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 29, 2015 7:05 AM in response to Loner T

    I assume that I should do this in recovery mode? Okay, I disabled FileVault but if I type "diskutil cs list" into the Terminal, i get the following output: "No CoreStorage logical volume groups found".

Page 1 of 4 last Next