Bootcamp partition was 'missing' and now won't boot
Yesterday I installed an OS X update (Yosemite 10.10.3). After which BOOTCAMP was missing from the start up boot menu (when pressing alt) and not available on the Startup Disk list and also showed greyed out as disk0s4 on DiskUtility. Following a bit of searching on forums I followed the advice given by Loner T and using a combination of TESTDISK, GPT and FDISK I managed to locate and repair the Windows partition and create a hybrid MBR. This appeared to have repaired the situation because BOOTCAMP became visible again on DiskUtility and appeared as an option on the Startup Disk list and all the files on BOOTCAMP are visible in Finder. Windows was also available from the alt boot menu at start up... HOWEVER ... it won't boot into Windows. I get the error "Windows Boot Manager" "Windows failed to start. A recent hardware or software change might be the cause to fix the problem 1. insert your Windows Installation disk 2. Choose language 3. Click 'Repair your computer' Status 0xc000000e The boot selection failed because a required device is inaccessible"
I have tried booting to the windows installation media which is on an external DVD drive but that also gives the above mentioned error.
Some other details; Verify Disk and Repair Disk are greyed out on DiskUtility for the BOOTCAMP partition.
I read on a forum that slightly resizing the MACINTOSH HD partition could rebuilt the GPT and MBR but DiskUtility won't allow the partition to be resized as it gives an error "Partition failed with the error File system resize support required, such as HFS+ with Journaling enabled"
Any advice would be appreciated because I don't want to completely wipe the BOOTCAMP partition and start again.
Some terminal outputs are below;
Jamess-iMac:~ james$ sudo gpt -vv show disk0
Password:
gpt show: disk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168
gpt show: disk0: Suspicious 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 976562496 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
976972136 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
978241672 1912
978243584 975280121 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1953523705 1430
1953525135 32 Sec GPT table
1953525167 1 Sec GPT header
Jamess-iMac:~ james$ 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 - 1023 254 63 [ 1 - 978243583] <Unknown ID>
*2: 07 1023 254 63 - 1023 254 63 [ 978243584 - 975280121] HPFS/QNX/AUX
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
Jamess-iMac:~ james$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 500.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data BOOTCAMP 499.3 GB disk0s4
OUTPUT FROM rEFit PARTITION INSPECTOR
*** Report for internal hard disk ***
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 976972135 Mac OS X HFS+
3 976972136 978241671 Mac OS X Boot
4 978243584 1953523704 Basic Data
Current MBR partition table:
# A Start LBA End LBA Type
1 1 978243583 ee EFI Protective
2 * 978243584 1953523704 07 NTFS/HPFS
MBR contents:
Boot Code: Unknown, but bootable
Partition at LBA 40:
Boot Code: None (Non-system disk message)
File System: FAT32
Listed in GPT as partition 1, type EFI System (FAT)
Partition at LBA 409640:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 2, type Mac OS X HFS+
Partition at LBA 976972136:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 3, type Mac OS X Boot
Partition at LBA 978243584:
Boot Code: Windows BOOTMGR (Vista)
File System: NTFS
Listed in GPT as partition 4, type Basic Data
Listed in MBR as partition 2, type 07 NTFS/HPFS, active
iMac, OS X Yosemite (10.10.3), Windows 7 64 bit