repair bootcamp boot after partition modification

Hello

I tired to change the size of mac partition and after that i cant boot into windows 10 that i installed using bootcamp.

i have a mac os sierra 10.12.6 (16G29).

i tried to use the fdisk utility i launched it from recovery disk terminal it did succeed but i cant boot on windows i see the option mac , windows and recovery disk in boot utility when opening the mac but when i choose windows it doesnt boot at windows.

Here is my results of fdisk :

django-1:~ wicemtrabelsi$ sudo fdisk -e /dev/disk0

fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

Enter 'help' for information

fdisk: 1> p

Disk: /dev/disk0 geometry: 30410/255/63 [488552530 sectors]

Sector size: 4096 bytes

Offset: 0 Signature: 0xAA55

Starting Ending

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

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

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

2: AF 1023 254 63 - 1023 254 63 [ 76806 - 476562710] HFS+

3: AB 1023 254 63 - 1023 254 63 [ 476639516 - 158692] Darwin Boot

4: 0C 1023 254 63 - 1023 254 63 [ 476798208 - 11754240] Win95 FAT32L

fdisk: 1>

And the result after i booted in mac

django-1:~ wicemtrabelsi$ sudo fdisk -e /dev/disk0

Password:

fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

Enter 'help' for information

fdisk: 1> p

Disk: /dev/disk0 geometry: 30410/255/63 [488552530 sectors]

Sector size: 4096 bytes

Offset: 0 Signature: 0xAA55

Starting Ending

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

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

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

2: AF 1023 254 63 - 1023 254 63 [ 76806 - 476562710] HFS+

3: AB 1023 254 63 - 1023 254 63 [ 476639516 - 158692] Darwin Boot

*4: 07 1023 254 63 - 1023 254 63 [ 476798208 - 11754240] HPFS/QNX/AUX

fdisk: 1>



Thank You for your help

MacBook Pro (15-inch, 2017), macOS Sierra (10.12.6), null

Posted on Sep 20, 2017 2:06 PM

Reply
17 replies

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.

repair bootcamp boot after partition modification

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