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

Previous Page 2 of 4 last Next
  • by Loner T,

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

    After disabling FV2, if you do not see a CS volume, does diskutil list show only JHFS+ for disk0s2? FV2 and Yosemite both use CS volumes. You can continue with Step 5, if you see only HFS for disk0s2.

  • by Baumxyz,

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

    Hmmm... I can see the following:

     

    photo_2015-08-29_16-39-40.jpg

  • by Loner T,

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

    This is correct. Please proceed with the merge command.

  • by Baumxyz,

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

    Now I get the message "Ownership of the affected disk is required". Started Terminal in recovery mode and typed in the merge command.

  • by Loner T,

    Loner T Loner T Aug 29, 2015 11:02 AM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 29, 2015 11:02 AM in response to Baumxyz

    You are root and have ownership. Can you post the command and the terminal output? It is painful using a camera to do this.

  • by Baumxyz,

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

    But how? I'm in recovery mode.

  • by Loner T,

    Loner T Loner T Aug 29, 2015 3:02 PM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 29, 2015 3:02 PM in response to Baumxyz

    You will need to run the commands. There is a Safari browser in Recovery console, but it requires you to exit the Terminal Window. This implies that you will have to copy the Terminal output, save it to a file, and then start Safari, and post it on Apple Discussions on this thread.

     

    It is much easier to do what you did with the screen photograph you posted in the reply above using a camera.

  • by Baumxyz,

    Baumxyz Baumxyz Aug 29, 2015 4:52 PM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 29, 2015 4:52 PM in response to Loner T

    Okay, this is the output:

     

    -bash-3.2# diskutil mergePartitions disk0s2 disk0s3

    Usage:  diskutil mergePartitions [force] format name

            DiskIdentifier|DeviceNode DiskIdentifier|DeviceNode

     

    Merge two or more pre-existing partitions into one.  The first disk parameter

    is the starting partition; the second disk parameter is the ending partition;

    this given range of two or more partitions will be merged into one.

     

    All partitions in the range, except for the first one, must be unmountable.

     

    All data on merged partitions other than the first will be lost; data on the

    first partition will be lost as well if the "force" argument is given.

     

    If "force" is not given, and the first partition has a resizable file system

    (e.g. JHFS+), it will be grown in a data-preserving manner, even if a different

    file system is specified (in fact, your file system and volume name parameters

    are both ignored in this case). If "force" is not given, and the first

    partition is not resizable, you will be prompted if you want to erase.

     

    If "force" is given, the first partition is always formatted. You should

    do this if you wish to reformat to a new file system type.

     

    Merged partitions are required to be ordered sequentially on disk.

    See diskutil list for the actual on-disk ordering; BSD slice identifiers

    may in certain circumstances not always be in numerical order but the

    top-to-bottom order given by diskutil list is always the on-disk order.

     

    Ownership of the affected disk is required.

     

    Example: diskutil mergePartitions JHFS+ NewName disk3s4 disk3s7

             This example will merge all partitions *BETWEEN* disk3s4 and disk3s7,

             preserving data on disk3s4 but destroying data on disk3s5, disk3s6,

             disk3s7 and any invisible free space partitions between those disks;

             disk3s4 will be grown to cover the full space if possible.

    -bash-3.2#

  • by Loner T,Helpful

    Loner T Loner T Aug 29, 2015 4:58 PM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 29, 2015 4:58 PM in response to Baumxyz

    Please use

     

    diskutil mergePartitions JHFS+ "Macintosh HD" disk0s2 disk0s3

     

    Do not change the order of disks. It will result in data loss, if you do. Please post  the output that you see. After the merge completes, run the next step.

  • by Baumxyz,

    Baumxyz Baumxyz Aug 30, 2015 3:02 AM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 30, 2015 3:02 AM in response to Loner T

    I've done the merge. Here is the output:

     

    -bash-3.2# diskutil mergePartitions JHFS+ "Macintosh HD" disk0s2 disk0s3

    Merging partitions into a new partition

        Start partition: disk0s2 Macintosh HD

        Finish partition: disk0s3 Recovery HD

    Started partitioning on disk0

    Merging partitions

    Waiting for the disks to reappear

    Growing disk

    Finished partitioning on disk0

    /dev/disk0

      #:                      TYPE NAME                    SIZE      IDENTIFIER

      0:      GUID_partition_scheme                        *251.0 GB  disk0

      1:                        EFI EFI                    209.7 MB  disk0s1

      2:                  Apple_HFS Macintosh HD            250.7 GB  disk0s2

    -bash-3.2#

     

     

    Edit: The Macintosh HD partition already has the maximum size - I don't need to do something in Disk Utility.

     

    Edit 2: The OS X installation via Internet Recovery is running now. I'll keep you updated.

  • by Baumxyz,

    Baumxyz Baumxyz Aug 30, 2015 8:50 AM in response to Baumxyz
    Level 1 (13 points)
    Mac OS X
    Aug 30, 2015 8:50 AM in response to Baumxyz

    Okay, the re-installation was successful. It was not necessary to update the OS or the apps because they were already on the latest version. Everything works fine but there's still one problem. If I boot with the Alt-key, Windows is still listed.

  • by Loner T,

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

    Baumxyz Baumxyz Aug 30, 2015 11:44 AM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 30, 2015 11:44 AM in response to Loner T

    Tested both. Windows option is still available on Alt-key-bootup.

  • by Loner T,

    Loner T Loner T Aug 30, 2015 12:03 PM in response to Baumxyz
    Level 7 (23,493 points)
    Safari
    Aug 30, 2015 12:03 PM in response to Baumxyz

    Please post the output of

     

    sudo gpt -vv -r show /dev/disk0

    sudo fdisk /dev/disk0

  • by Baumxyz,

    Baumxyz Baumxyz Aug 30, 2015 3:33 PM in response to Loner T
    Level 1 (13 points)
    Mac OS X
    Aug 30, 2015 3:33 PM in response to Loner T

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

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

      490234712          7        

      490234719         32         Sec GPT table

      490234751          1         Sec GPT header


    ---


    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  

Previous Page 2 of 4 last Next