repair bootcamp after creating new partition

I installed windows 10 via bootcamp, without any external drives, on my 256GB ssd. I then used disk utitlity to create a shared partition by shrinking the OSX partition. After that, when I boot into windows it shows me the recovery screen. Please, help me with each step. I don't want to mess anything up.

Thanks.

MacBook Pro with Retina display, OS X El Capitan (10.11.3)

Posted on Jan 25, 2016 6:13 AM

Reply
49 replies

Jan 27, 2016 1:37 AM in response to Loner T

okay, i've looked into the article and found much information on the internet, but I still can't find a way to boot into the installer, on my usb. Is there another way? Whenever I boot into windows it just starts "Preparing automatic repair" and doesn't give me advanced startup options.

fyi windows says its error code 0xc000000e

Jan 27, 2016 8:56 PM in response to Loner T

I used diskutil to create it, and it didn't work. Now I got a friend's windows computer to create a usb boot disk using UltraISO. It booted up, and started repair.

I used command prompt to do as the intructions say:


>bootrec /rebuildbcd

Scanning all disks for Windows installations.


Please wait, since this may take a while...


Sucessfully scanned Windows installations.

Total identified Windows installations: 1

[1] C:\Windows

Add installations to boot list? Yes(Y)/No(N)/All(A): y

The requested system device cannot be found.


What's the problem?

Plus, I can't type backslash in the repair command prompt. It seems like the keyboard layout is different.

Aug 6, 2016 3:51 AM in response to Loner T

Hi, I'm having this same issue with Windows 10 not booting after adding a FAT32 partition to be used as a shared drive between Windows and OSX. I disabled SIP and created the hybrid MBR described above, after which tests 1-3 did not work, but test 4 does. I created a Windows installation USB drive with a friend's computer and am able to access the repair tools at startup. The results of bootrec/rebuildbcd were the same as above, however I'm stuck at assigning a letter to the EFI partition as it does not show up when using Windows diskpart.


Below are my results for diskutil list, diskutil cs list, sudo gpt -vv -r show /dev/disk0, and sudo fdisk /dev/disk0.


Any direction you provide would be greatly appreciated.

Thanks in advance!


User uploaded file


$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage Macintosh HD 275.4 GB disk0s2

3: Apple_Boot Recovery HD 650.1 MB disk0s3

4: Microsoft Basic Data SHARED 48.9 GB disk0s4

5: Microsoft Basic Data BOOTCAMP 175.1 GB disk0s5

/dev/disk1 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +275.0 GB disk1

Logical Volume on disk0s2

51A357D4-5496-4E2C-B59A-771968A2AE74

Unlocked Encrypted

/dev/disk2 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *30.8 GB disk2

1: Windows_FAT_32 ESD-USB 30.8 GB disk2s1

$ diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group C9F3F01E-443A-4D4C-998D-A653B1AAD324

=========================================================

Name: Macintosh HD

Status: Online

Size: 275363176448 B (275.4 GB)

Free Space: 10919936 B (10.9 MB)

|

+-< Physical Volume 6ACD58BB-73C0-49F5-9B2E-83C695CBB1EE

| ----------------------------------------------------

| Index: 0

| Disk: disk0s2

| Status: Online

| Size: 275363176448 B (275.4 GB)

|

+-> Logical Volume Family C01AFF4E-BE06-405B-984F-43DAEBE7B701

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

Encryption Type: AES-XTS

Encryption Status: Unlocked

Conversion Status: Complete

High Level Queries: Fully Secure

| Passphrase Required

| Accepts New Users

| Has Visible Users

| Has Volume Key

|

+-> Logical Volume 51A357D4-5496-4E2C-B59A-771968A2AE74

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

Disk: disk1

Status: Online

Size (Total): 274999934976 B (275.0 GB)

Revertible: Yes (unlock and decryption required)

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS

$ sudo gpt -vv -r show /dev/disk0

Password:

gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060

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 977105059

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

538228344 1269760 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

539498104 95441288 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

634939392 262144

635201536 341903360 5 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

977104896 131

977105027 32 Sec GPT table

977105059 1 Sec GPT header

$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]

Signature: 0xAA55

Starting Ending

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

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

1: EE 0 0 2 - 1023 254 63 [ 1 - 538228343] <Unknown ID>

2: AB 1023 254 63 - 1023 254 63 [ 538228344 - 1269760] Darwin Boot

3: 07 1023 254 63 - 1023 254 63 [ 539498104 - 95441288] HPFS/QNX/AUX

*4: 07 1023 254 63 - 1023 254 63 [ 635201536 - 341903360] HPFS/QNX/AUX

Aug 6, 2016 8:26 AM in response to Loner T

"Bootcamp" and "Shared" both show up in Finder. Bootcamp is formatted NTFS so it is read only from OS X. The shared folder is formatted FAT to be read/write from both operating systems.

$ sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -c

Password:

0000000 ? X 220 B S D 4 . 4 \0 002 @ \0

0000010 002 \0 \0 \0 \0 ? \0 \0 \0 ? \0 x 026 (

0000020 210 Q ? 005 200 - \0 \0 \0 \0 \0 \0 002 \0 \0 \0

0000030 001 \0 006 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0

0000040 200 \0 ) ? 026 s ? S H A R E D

0000050 F A T 3 2 ? 1 ? 216 ? ?

0000060 \0 | ? 216 ? ? \0 \0 ^ 203 ? 031 ? \a \0 ?

0000070 ? 204 ? t 006 ? 016 ? 020 ? ? 0 ? ? 026 ?

0000080 031 \r \n N o n - s y s t e m d i

0000090 s k \r \n P r e s s a n y k e

00000a0 y t o r e b o o t \r \n \0 \0 \0

00000b0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0

*

00001f0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 U ?

0000200

$ sudo dd if=/dev/rdisk0s5 count=1 2>/dev/null | hexdump -c

0000000 ? R 220 N T F S \0 002 \b \0 \0

0000010 \0 \0 \0 \0 \0 ? \0 \0 ? \0 ? \0 \0 h ? %

0000020 \0 \0 \0 \0 200 \0 200 \0 ? \a a 024 \0 \0 \0 \0

0000030 \0 \0 \f \0 \0 \0 \0 \0 002 \0 \0 \0 \0 \0 \0 \0

0000040 ? \0 \0 \0 001 \0 \0 \0 & ? ? 236 \r ? 236 |

0000050 \0 \0 \0 \0 ? 3 ? 216 ? ? \0 | ? h ? \a

0000060 037 036 h f \0 ? 210 026 016 \0 f 201 > 003 \0 N

0000070 T F S u 025 ? A ? ? U ? 023 r \f 201 ?

0000080 U ? u 006 ? ? 001 \0 u 003 ? ? \0 036 203 ?

0000090 030 h 032 \0 ? H 212 026 016 \0 213 ? 026 037 ? 023

00000a0 237 203 ? 030 236 X 037 r ? ; 006 \v \0 u ? ?

00000b0 017 \0 ? . 017 \0 004 036 Z 3 ? ? \0 + ?

00000c0 f ? 006 021 \0 003 026 017 \0 216 ? ? 006 026 \0 ?

00000d0 K \0 + ? w ? ? \0 ? ? 032 f # ? u -

00000e0 f 201 ? T C P A u $ 201 ? 002 001 r 036 026

00000f0 h \a ? 026 h R 021 026 h \t \0 f S f S f

0000100 U 026 026 026 h ? 001 f a 016 \a ? 032 3 ? ?

0000110 \n 023 ? ? \f ? ? ? ? ? 001 220 220 f ` 036

0000120 006 f ? 021 \0 f 003 006 034 \0 036 f h \0 \0 \0

0000130 \0 f P 006 S h 001 \0 h 020 \0 ? B 212 026 016

0000140 \0 026 037 213 ? ? 023 f Y [ Z f Y f Y 037

0000150 017 202 026 \0 f ? 006 021 \0 003 026 017 \0 216 ? ?

0000160 016 026 \0 u ? \a 037 f a ? ? ? 001 ? \t \0

0000170 ? ? 001 ? 003 \0 ? ? ? 213 ? ? < \0 t \t

0000180 ? 016 ? \a \0 ? 020 ? ? ? \r \n A d i

0000190 s k r e a d e r r o r o c

00001a0 c u r r e d \0 \r \n B O O T M G R

00001b0 i s c o m p r e s s e d \0 \r

00001c0 \n P r e s s C t r l + A l t +

00001d0 D e l t o r e s t a r t \r \n

00001e0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0

00001f0 \0 \0 \0 \0 \0 \0 212 001 ? 001 ? 001 \0 \0 U ?

0000200

Aug 6, 2016 8:39 AM in response to cmrtex

The file headers are correct.


On the 2014 Macs, Windows can be installed using either BIOS or EFI. BIOS uses a MBR, but EFI does not. Your specific model supports creating a USB installer. Can You use BC Assistant, choose the first two options and create a USB Installer? This can be used for Windows Startup Repair.


W10 should bring up a Recovery Console if it fails to boot three or more times. Do you see a Recovery Console?

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 after creating new partition

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