Messed Up Bootcamp Partition
Hello
Thanks to anyone who reads this or can provide any help.
System
iMac (27-inch, Late 2009)
iMac 10, 1
El Capitan 10.11.1
Windows 10 via bootcamp. Started as Windows 7 HP and upgraded via Windows 8 pro and 8.1 pro.
Background
About 2 weeks ago I started having problems with my computer and could not get OSX to boot. I don't know what I did but only Windows would start. I was also able to get into the recovery partition. I was able to see the os x partition from within windows. It just would not boot. The Apple icon came up on screen and th progress bar got about 3/4's of the way across the screen then the iMac shutdown.
I tried a number of solutions from different websites but could not get beyond this.
I decided what I was going to do was back up my computer and reinstall. I new I had a Time Machine back up of OS X to within a few days but I didn't want to lose my windows partition so I bought a external hard disk and got a cheap copy of Acronis True Image included as a special offer. I installed this on the Windows partition I backed up a complete image of Windows and OS X partitions. I used the software to create a Acronis bootable recovery usb.
I Then used Disk Utility from my original Snow Leopard install disk's to wipe the disk back to a Single HFS+ Partition. I Installed Snow Leopard and then all updates to get my computer back to El Capitan. So far so good and all working. I then used the migration assistant with my Time Machine back up and got all my Apps files and settings back. So at this point OS X was going fine.
To get windows back I then used Disk Utility to partition half my 1 TB as FAT32 with the intent of using the recovery USB to recover the Windows partition. However I found the USB would not boot. I discovered later that disabling system integrity from the Recovery Partition then seems to let the USB key boot but I only found this out by accident later when I had left the key in and I rebooted after disabling the above.
So being stuck without a way to recover my backed up partition I had the bright idea! to use Disk Utility to partition a separate 100GB from my mac partition to another FAT32 partition. I then installed my original Windows 7 to this 100GB partition. I then reinstalled my Acronis True Image software to this and then used this to recover the Windows image to the 500GB partition that I originally created.
The recovery process seemed to go well and once completed I was able to view the partition in os x but I could not boot in to it. After a little further research I discovered the 4 partition limit on GPT and realised I now had managed to created 5. The EFI, OS X, OS X recovery, 100GB Windows 7 and the 500GB recovered Partition.
So my next idea was that now that I had my original windows recovered and I could view the files I thought I could Use Disk Utility Again to Delete the 100GB partition and resize the OS X partition back up to 500GB Also. I have done this and I followed the guide here http://www.rodsbooks.com/refind/installing.html#sluggish to fix Windows boot problems as I thought that may help.
This didn't work but I also read about Hybrid partition tables and how if these got problems that Windows may not boot. I then came across this forum and noticed that there may be a solution to recover/fix the partition tables.
Screen Prints
I have taken some screen prints of the commands and outputs that I have seen recommended in this forum. I would hope with these someone can point me in the correct direction.
I Searched using the EFI GPT option in test disk.
I Added Screen prints below of what you get from selecting p:list files with each of the non mac partitions listed above.
Thanks for looking and I hope someone can post me in the correct direction. If you need any other screen prints please let me know.
Regards.
iMac (27-inch Late 2009), OS X El Capitan (10.11.1)