partitioning disk error

when I get to the partitioning disk part of the bootcamp process, the blue bar which shows the progress of the partitioning goes full and does not change.

iMac 21.5" 4K, macOS 10.13

Posted on Mar 20, 2020 10:35 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 28, 2020 8:02 AM

Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR. Use defaults for other questions (like partition codes). The only values that need modifications are the Boot flags and step 10. Accept all other defaults that Gdisk offers. Please see thesample Q&A as an example. These steps can be repeated if you make a mistake before you get to Step 12, otherwise start from Step 1 for these steps. Step 6 has numbers which are typed with a space between the numbers. Please see the sample Q&A before you execute these steps.


  1. Sudo gdisk /dev/rdisk0
  2. P (Print list of parts)
  3. R (Recover)
  4. O (print current Hybrid MBR)
  5. H (chooses Hybrid)
  6. Partitions numbers to be hybridized: 2 3
  7. Y (Good for GRUB question)
  8. N (part 2 boot flag)
  9. Y (part 3 boot flag make NTFS bootable partition)
  10. O (print current Hybrid MBR)
  11. W (Write the new MBR)
  12. Y (Yes! write the new MBR)
  13. Reboot


Here is sample Q&A for this section. Please notice the Press Enter/Return.


Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y

Creating entry for GPT partition #2 (MBR partition #2)
Enter an MBR hex code (default AF): Press Enter/Return
Set the bootable flag? (Y/N): N

Creating entry for GPT partition #3 (MBR partition #3)
Enter an MBR hex code (default 07): Press Enter/Return
Set the bootable flag? (Y/N): Y


Post the output of


sudo gpt -vv -r show /dev/disk0

sudo fdisk /dev/disk0


for validation.

85 replies

Mar 23, 2020 4:20 AM in response to Loner T

/dev/disk0 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *1.0 TB     disk0


   1:                        EFI                         209.7 MB   disk0s4


   2:                 Apple_APFS Container disk1         505.3 GB   disk0s1


   3:       Microsoft Basic Data W                       494.7 GB   disk0s5




/dev/disk1 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +505.3 GB   disk1


                                 Physical Store disk0s1


   1:                APFS Volume Apple - Data            313.3 GB   disk1s1


   2:                APFS Volume Preboot                 24.3 MB    disk1s2


   3:                APFS Volume Recovery                523.5 MB   disk1s3


   4:                APFS Volume VM                      4.3 GB     disk1s4


   5:                APFS Volume Apple                   11.0 GB    disk1s5




/dev/disk2 (external, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:     FDisk_partition_scheme                        *8.0 GB     disk2


   1:               Windows_NTFS WinInstall              8.0 GB     disk2s1




/dev/disk3 (disk image):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        +82.5 MB    disk3


   1:                 Apple_APFS Container disk4         82.4 MB    disk3s1




/dev/disk4 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +82.4 MB    disk4


                                 Physical Store disk3s1


   1:                APFS Volume andrewphillips          50.3 MB    disk4s1

Mar 26, 2020 7:35 AM in response to AndrewPhillips1

The TM UI says 'when disk is connected', which implies that it is an external disk.


Can you post the output of


sudo tmutil destinationinfo 


The output should be similar to


sudo tmutil destinationinfo 
Password:
Sorry, try again.
Password:
====================================================
Name          : Backups
Kind          : Network
URL           : afp://xxxxx@Macmini-i7s._afpovertcp._tcp.local./Backups
ID            : 9CE6DC3F-C934-4B09-A4D0-1CA4A3EDDEFA



Mar 28, 2020 7:56 AM in response to Loner T

/dev/disk0 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *1.0 TB     disk0


   1:                        EFI                         209.7 MB   disk0s1


   2:                 Apple_APFS Container disk1         749.9 GB   disk0s2


   3:       Microsoft Basic Data                         250.1 GB   disk0s3




/dev/disk1 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +749.9 GB   disk1


                                 Physical Store disk0s2


   1:                APFS Volume Apple - Data            320.7 GB   disk1s1


   2:                APFS Volume Preboot                 24.3 MB    disk1s2


   3:                APFS Volume Recovery                523.5 MB   disk1s3


   4:                APFS Volume VM                      4.3 GB     disk1s4


   5:                APFS Volume Apple                   11.4 GB    disk1s5

Mar 29, 2020 9:22 AM in response to Loner T

usage: csrutil <command>


Modify the System Integrity Protection configuration. All configuration changes apply to the entire machine.


Available commands:




    clear


        Clear the existing configuration.


    disable


        Disable the protection on the machine. Only available in Recovery OS.


    enable


        Enable the protection on the machine. Only available in Recovery OS.


    status


        Display the current configuration.




    netboot


        add <address>


            Insert a new IPv4 address in the list of allowed NetBoot sources.


        list


            Print the list of allowed NetBoot sources.


        remove <address>


            Remove an IPv4 address from the list of allowed NetBoot sources.

Mar 29, 2020 3:43 PM in response to Loner T

ok, I went through the steps and it went well, her is the outputs of sudo got -vv -r show /dev/disk0 and sudo disk /dev/disk0.


gpt show: /dev/disk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168


gpt show: /dev/disk0: Suspicious MBR at sector 0


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


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


       start        size  index  contents


           0           1         MBR


           1           1         Pri GPT header


           2          32         Pri GPT table


          34           6         


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


      409640  1464684992      2  GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC


  1465094632        1560         


  1465096192   488427520      3  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7


  1953523712        1423         


  1953525135          32         Sec GPT table


  1953525167           1         Sec GPT header



Disk: /dev/disk0 geometry: 121601/255/63 [1953525168 sectors]


Signature: 0xAA55


         Starting       Ending


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


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


 1: EE    0   0   2 -   25 127  14 [         1 -     409639] <Unknown ID>


 2: AF   25 127  15 - 1023 254  63 [    409640 - 1464684992] HFS+        


*3: 07 1023 254  63 - 1023 254  63 [1465096192 -  488427520] HPFS/QNX/AUX


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


andrew@jos-imac ~ % sudo fdisk /dev/disk0


Disk: /dev/disk0 geometry: 121601/255/63 [1953525168 sectors]


Signature: 0xAA55


         Starting       Ending


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


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


 1: EE    0   0   2 -   25 127  14 [         1 -     409639] <Unknown ID>


 2: AF   25 127  15 - 1023 254  63 [    409640 - 1464684992] HFS+        


*3: 07 1023 254  63 - 1023 254  63 [1465096192 -  488427520] HPFS/QNX/AUX


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

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

partitioning disk error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.