Apple Intelligence is now available on iPhone, iPad, and Mac!

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Bootcamp Partition not bootable after resizing partition on HD

Hey there,


So I have a Windows Partition on my HD which I boot up or use through Parallels. I decided that i wanted to create a new partition with the intentions of eventually expanding the Windows partition (watched a tutorial on how to do so without losing Windows). However after doing so, I can no longer boot up in Windows and it doesn't show up as an option on startup disks. I can still use it in Parallels (but I don't really like using it).


Is there a way to fix this issue either through Parallels or MacOSX or will have to delete the partition all together?


Thanks in advance!

MacBook Pro, macOS High Sierra (10.13.1)

Posted on Feb 22, 2018 5:41 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 23, 2018 7:12 PM

Do not 'write'. You are not supposed to delete GPT4. You are supposed to only run the Rebuild MBR section steps.


You need to execute only the following part.


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 4
  7. Y (Good for GRUB question)
  8. N (part 2 boot flag)
  9. N (part 3 boot flag)
  10. Y (part 4 boot flag make NTFS bootable partition)
  11. O (print current Hybrid MBR)
  12. W (Write the new MBR)
  13. Y (Yes! write the new MBR)
  14. 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 AB): Press Enter/Return

Set the bootable flag? (Y/N): N


Creating entry for GPT partition #4 (MBR partition #4)

Enter an MBR hex code (default 07): Press Enter/Return

Set the bootable flag? (Y/N): Y


Test 1 - Does Bootcamp Volume show up in Finder?

Test 2 - Can you see files in Bootcamp Volume?

Test 3 - Can you select Bootcamp in System Preferences -> Startup Disk?

Test 4 - If Test 3 is successful, select Bootcamp and Click Restart.

13 replies
Question marked as Top-ranking reply

Feb 23, 2018 7:12 PM in response to JandeeW

Do not 'write'. You are not supposed to delete GPT4. You are supposed to only run the Rebuild MBR section steps.


You need to execute only the following part.


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 4
  7. Y (Good for GRUB question)
  8. N (part 2 boot flag)
  9. N (part 3 boot flag)
  10. Y (part 4 boot flag make NTFS bootable partition)
  11. O (print current Hybrid MBR)
  12. W (Write the new MBR)
  13. Y (Yes! write the new MBR)
  14. 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 AB): Press Enter/Return

Set the bootable flag? (Y/N): N


Creating entry for GPT partition #4 (MBR partition #4)

Enter an MBR hex code (default 07): Press Enter/Return

Set the bootable flag? (Y/N): Y


Test 1 - Does Bootcamp Volume show up in Finder?

Test 2 - Can you see files in Bootcamp Volume?

Test 3 - Can you select Bootcamp in System Preferences -> Startup Disk?

Test 4 - If Test 3 is successful, select Bootcamp and Click Restart.

Feb 23, 2018 8:14 AM in response to Loner T

I have a Macbook Pro 13 mid 2012 model and my bootcamp uses Windows 10.


/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Seagate Hybrid 750.4 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data BOOTCAMP 249.0 GB disk0s4

Feb 23, 2018 9:45 AM in response to Loner T

Yeah I ended up deleting the new partition.

I was told to delete the bootcamp partition and restore it using paragon but I did that and nothing changed lol.

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

Signature: 0xAA55

Starting Ending

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

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

1: EE 1023 254 63 - 1023 254 63 [ 1 - 1953525167] <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

Feb 23, 2018 6:27 PM in response to Loner T

Okay,


So I followed up until step 11. but then I got this:

Warning! Mismatched GPT and MBR partition! MBR partition 4, of type 0x07,

has no corresponding GPT partition! You may continue, but this condition

might cause data loss in the future!

Is that supposed to pop up? Maybe I did it incorrectly Here is the rest.


sudo gpt -r -vv show disk0

Password:

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

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Malformed MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: 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 1465558000 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

1465967640 1269528 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

1467237168 3280

1467240448 486281216 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

1953521664 3471

1953525135 32 Sec GPT table

1953525167 1 Sec GPT header

___________________________________________________________


Sudo gdisk /dev/rdisk0

Password:

GPT fdisk (gdisk) version 1.0.3


Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

Partition table scan:

MBR: hybrid

BSD: not present

APM: not present

GPT: present


Found valid GPT with hybrid MBR; using GPT.


Command (? for help): p

Disk /dev/rdisk0: 1953525168 sectors, 931.5 GiB

Sector size (logical): 512 bytes

Disk identifier (GUID): 4DD3FFA0-6824-4B6F-AB1E-527F293AC0EE

Partition table holds up to 128 entries

Main partition table begins at sector 2 and ends at sector 33

First usable sector is 34, last usable sector is 1953525130

Partitions will be aligned on 8-sector boundaries

Total free space is 6753 sectors (3.3 MiB)


Number Start (sector) End (sector) Size Code Name

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 1465967639 698.8 GiB AF00

3 1465967640 1467237167 619.9 MiB AB00

4 1467240448 1953521663 231.9 GiB 0700 Basic data partition


Command (? for help): D

Partition number (1-4): 4


Command (? for help): N

Partition number (4-128, default 4): 4

First sector (34-1953525130, default = 1467237168) or {+-}size{KMGTP}: 1467240448

Last sector (1467240448-1953525130, default = 1953525130) or {+-}size{KMGTP}:+48 6281216

Last sector (1467240448-1953525130, default = 1953525130) or {+-}size{KMGTP}: +486281216

Current type is 'Apple HFS/HFS+'

Hex code or GUID (L to show codes, Enter = AF00): 0700

Changed type of partition to 'Microsoft basic data'


Command (? for help): P

Disk /dev/rdisk0: 1953525168 sectors, 931.5 GiB

Sector size (logical): 512 bytes

Disk identifier (GUID): 4DD3FFA0-6824-4B6F-AB1E-527F293AC0EE

Partition table holds up to 128 entries

Main partition table begins at sector 2 and ends at sector 33

First usable sector is 34, last usable sector is 1953525130

Partitions will be aligned on 8-sector boundaries

Total free space is 6753 sectors (3.3 MiB)


Number Start (sector) End (sector) Size Code Name

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 1465967639 698.8 GiB AF00

3 1465967640 1467237167 619.9 MiB AB00

4 1467240448 1953521663 231.9 GiB 0700 Microsoft basic data


Command (? for help): W


Warning! Mismatched GPT and MBR partition! MBR partition 4, of type 0x07,

has no corresponding GPT partition! You may continue, but this condition

might cause data loss in the future!


Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING

PARTITIONS!!


Do you want to proceed? (Y/N):

Bootcamp Partition not bootable after resizing partition on HD

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