bootcamp partition missing

I have a Macbook Pro with Bootcamp Windows 7 installed. Was working on Mac OSX side with a external hard drive attached. Upon rebooting to load into Windows, the system was attempting to load a windows drive from the external HDD. When removing the external HDD, the option to load the windows Bootcamp drive disappeared.


I booted back into Mac OSX and the Bootcamp drive is no longer on the desktop, the Disk Utilities shows only the Mac partition. The entire partition/space from the Bootcamp drive is gone.


Through another thread, I was able to get the Windows drive to reappear in the boot up screen (holding option), but it loads to a black screen and remains so.

Posted on Apr 23, 2018 7:09 PM

Reply

Similar questions

40 replies

Apr 24, 2018 4:58 PM in response to n156

Since you are on macOS 10.8.5, SIP is not a feature on your Mac. Can you boot into Internet Recovery, click on Utilities -> Terminal, and run


diskutil unmount disk0

gpt add -i 4 -b 158203448 -s 332031271 -t windows /dev/disk0

diskutil repairDisk disk0


Reboot normally, and check if Finder shows a Windows partition.

Apr 25, 2018 2:08 PM in response to Loner T

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 80.1 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data 170.0 GB disk0s4


00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

*

00000200

Apr 24, 2018 4:50 PM in response to Loner T

When attempting to disable SIP, I get -bash: csrutil: command not found


Here are the results of the sudo gpt -vv -r show /dev/disk0:


gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752

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

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

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

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

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 156524272 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

156933912 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

158203448 332031271

490234719 32 Sec GPT table

490234751 1 Sec GPT header

Apr 27, 2018 12:21 AM in response to Loner T

Hi I’m having a problem too you mind helping whenever I try and install windows I get a error that says disk could not be partitioned I’ve seen you help other people out and I would ask you there but I couldn’t so I wanted to ask you here if you could help me I don’t really know much about macs and I want to boot my IMac mid 2011 on high Sierra into windows 8.1 I’ve tried things like reset pram and stuff but I really don’t know what I’m doing can you walk me through this

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.

bootcamp partition missing

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