Q: Repairing Boot Camp after creating new partition
Hi
I'm running OS X 10.9 and Windows 7 x64 Pro.
I set up Boot Camp to dual-boot Windows on my MacBook Pro Retina. Everything was fine. And just yesterday Apple released the Yosemite Beta for the public and I wanted to download this and give it a try. After some research, I found that creating a separate partition was the way to go, and so I made another partition.
I wasn't aware that this would affect my Windows partition as I thought it was completely different.
So now, when I boot up, there is no option to boot with Windows. But when I boot the Mac and select Startup Disk, it shows Boot Camp is still there and all my files etc are still there.
I have a 256SSD, 160GB was for the Mac, and I have 90GB set for Windows.
I made the new partition to 40GB (and the Mac was now 120GB).
Then once I completed that part, I restarted my Mac and the Windows boot option was no longer there.
I didn't even install the Yosemite yet. I went to Disk Utility and deleted the 40GB partition that I made.
Now I don't know what to do. I have a lot of important things which are still on my Windows. Is there a way to restore normal Boot Camp functionality?
MacBook Pro (Retina, 13-inch, Late 2013), OS X Mavericks (10.9.4)
Posted on Jul 25, 2014 8:20 AM
sudo fdisk -e /dev/disk0
p
setpid 4
07
flag 4
p
write
y
Now Reboot and hold the ALT key and check if Windows shows up and is bootable.
If you get 'missing operating system', then Windows Startup Repair and see if Windows will comeback alive.
If you notice the difference between the Disk Utility screen (two partitions) vs the fdisk output (or the GPT) there are 'hidden' partitions and the MBR partitioning style used for Windows allows a maximum of 4 partitions. If you need further explanation, read the original thread.
Yosemite should not be installed on any machine that is critical to you. If only partitioning was done, but Yosemite was NOT installed, you are in better shape. Yosemite ignores and is unaware of bootcamp and creates an additional Recovery HD and moves things around.
Posted on Jul 25, 2014 9:04 AM




