So I recently upgraded to Mavricks and before upgrading I had my Mac partition and Windows partition. When I first created my Windows partition I allocated 50GB of space for it. Later I realized that I need more space but I did not want to delete everything on my Windows partition and start over so I decided to resize down my Mac partition using disk utility and then increase my Windows partition using a third party app. After doing this I was successful and had 101GB allocated to Windows and the rest allocated to my Mac OS. In the disk utility I did notice that it was not recognizing the windows partition correctly but I didn't really care about that. So after the upgrade my Windows partition disappeared and I have been trying to get it back. I tried using gdisk but I ended up messing up my MBR and didn't find any OS when I booted my Mac and held the options key down. Fortunately I was able to fix that by loading through a flash drive running Ubuntu and used testdisk to fix the partition table. I was unable to use it to fix my Windows partition. When ever I go to write my windows partition it just overwrites it and my Mac OS disappears but my Windows OS appears but can't boot. I get a message saying no OS found. Right now I currently have my Mac partition restore and working fine but my windows partition is still missing. I would like help on this. Thanks.