Repair Boot Camp Partition
Dear Team,
I have a problem where after restoring my OSX installation to a new drive after crash, my bootcamp is not working. I get an error:
"No bootable device --- insert boot disk and press any key"
It is also not showing up in the OSX boot loader although Startup Disk control panel is seeing it.
My stats are: Macbook pro 13", early 2011, 8G RAM, the new 500G drive is installed in the optical bay via OWC data doubler, while the old original 320G mac drive is in the main hard drive bay.
I first tried to use bootcamp assistant to do a fresh install with the intention to restore an EASEUS backup. However after the drive was prepared and the mac rebooted to install windows, the windows install disc would not boot. I then decided re-installed Win7 to the bootcamp partition by restoring an EASUS backup by taking the drive out of the macbook pro and using a Windows PC to restore. I also tried to convert from a FAT32 file format which disk utility had done under OSX, to NTFS by using the command prompt conversion under Win7. That conversion process resulted in a cyclic redundancy error, even though the BOOTCAMP partition was showing up in disk utility as NTFS after I put back in the drive. By the way I did the NTFS conversion before restoring the backup.
Finally, when I restored the EASEUS backup, the drive got renamed from BOOTCAMP to Untitled even though I specified BOOTCAMP.
I saw in this post as commented by Christopher Murphy, to run:
sudo gpt -r -vv show disk0
sudo fdisk /dev/disk0
The results are as follows:
Randalls-MacBook-Pro:~ randalld$ sudo gpt -r -vv show disk0
gpt show: disk0: mediasize=500107862016; sectorsize=512; blocks=976773168
gpt show: disk0: Suspicious MBR at sector 0
gpt show: disk0: Pri GPT at sector 1
gpt show: disk0: Sec GPT at sector 976773167
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 625484576 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
625894216 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
627163752 13848
627177600 323883008 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
951060608 25712527
976773135 32 Sec GPT table
976773167 1 Sec GPT header
Disk: /dev/disk0 geometry: 60801/255/63 [976773168 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
2: AF 1023 254 63 - 1023 254 63 [ 409640 - 625484576] HFS+
3: AB 1023 254 63 - 1023 254 63 [ 625894216 - 1269536] Darwin Boot
4: 0C 1023 254 63 - 1023 254 63 [ 627177600 - 323883008] Win95 FAT32L
Can someone please help?
MacBook Pro (13-inch Early 2011), OS X Mavericks (10.9.4)