Benches Intel Macs

8

Cannot remove bootcamp partition

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello, a while ago I created a bootcamp partition. Now there is now possible way to remove it. I also cannot even install bootcamp. Another problem is that, in disk utility, even when booting into recovery or internet recovery mode, it always crashes when I click partition. Here are screenshots of diskutil list and disk utility. I want to merge the disk BCMP into macintosh hd and then create a fresh bootcamp partition. I cannot do this because disk utility crashes whenever I press partition. WHen I open bootcamp, it says "the startup disk cannot be restored to a single partition". So when I format that disk as something else, I only get the option to "install windows 10 or later version" rather than "install or remove". After I do that it says that the partition could not be created and just steals the disk space and I have no way to get it back as disk utility crashes when I try to partition.

8 replies

Sign in or join Beachball Help to reply.

  1. 0

    Loner T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Let us do the Internet Recovery method. If we run into any issues, we can switch. In IR, click on Utilities -> Terminal.

    • Destroy the current GPT
      • diskutil unmountDisk disk0
      • sudo gpt destroy /dev/disk0
    • Create an empty GPT
      • sudo gpt create -f /dev/disk0
    • Add GPT entries in sequence, and unmount as necessary.
      • EFI
        • diskutil unmountDisk disk0
        • sudo gpt add -i 1 -b 40 -s 409600 -t efi /dev/disk0
      • macOS
        • diskutil unmountDisk disk0
        • sudo gpt add -i 2 -b 409640 -s 1167968768 -t apfs /dev/disk0
      • Bootcamp
        • diskutil unmountDisk disk0
        • sudo gpt add -i 3 -b 1168379904 -s 298434560 -t windows /dev/disk0
    • Post the output of
      • sudo gpt -vv -r show /dev/disk0
      • diskutil list

  2. 0

    Loner T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Your GPT needs to be corrected. The following are start/size values.

    GPT1 - 40 - 409600 - EFI

    GPT2 - 409640 - 1167968768 - APFS

    GPT3 - 1168379904 - 298434560 - Windows

    The simplest method is to boot into Internet Recovery and rebuild the GPT. The other method is using GPT FDisk. Which method do you prefer?

  3. 0

    Loner T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The disk0s2 at 16+EB is your problem. Can you post the output of

    sudo gpt -vv -r show /dev/disk0

  4. 0

    KayaanT

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    It is not working

  5. 0

    KayaanT

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I can do any. Can you please guide me through the process. Thanks.

  6. 0

    KayaanT

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank you so much. It fixed it.

  7. 0

    Loner T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Excellent.

  8. 0

    KayaanT

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    After disabling SIP, here is the output.

    gpt show: /dev/disk0: mediasize=751277983744; sectorsize=512; blocks=1467339812
    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 1467339811
           start        size  index  contents
               0           1         PMBR
               1           1         Pri GPT header
               2          32         Pri GPT table
              34      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
          409634  18446744073709289438      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
          147456      262184         
          409640  1167968768      3  GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
      1168378408        1496         
      1168379904   298434560      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
      1466814464      525315         
      1467339779          32         Sec GPT table
      1467339811           1         Sec GPT header