Boot camp lost after upgrading to Yosemite from mountain lion

User uploaded file

I lost my windows7 boot camp after I upgrade to Yosemite from mountain lion. When I press ALT when rebooting there is no more alternative to boot for window anymore. I did read some thread about this but my case is different since when I tried to type 3 steps(diskutil.......etc) 😕 as LonerT user answers it did not work. The attached files here are what I faced with. Please help. I have a lot of important files in windows

User uploaded fileUser uploaded fileUser uploaded file

MacBook Pro, OS X Yosemite (10.10), macbook pro

Posted on Nov 10, 2014 1:38 PM

Reply
82 replies

Jan 15, 2015 3:00 PM in response to Loner T

Loner T wrote:


Eugeniu_K wrote:


Did you had a chance to review the output above?

Apologies. Did not get a chance to look. The NTFS header is missing. If you can provide a brief set of events before you got into this situation, it may help suggest a path forward.


Testdisk (http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step) has proven very handy in the past, but a bit of forensics would be very illuminating.


There was nothing specific or different from the others here that had the same problem...

Just updated the OS to the latest Yosemite and it did broke my NTFS partition for Windows 7. I see the same picture as in the first post (disk0s4)

Didn't do anything with it except the outputs you asked...


I don't have experience in using TestDisk, and I really don't want to mess the things up even more... still hope there is a way to recover the NTFS boot option for Win7 😟

Jan 15, 2015 3:30 PM in response to Eugeniu_K

Were there any partition resizing done prior to the Yosemite upgrade?


Testdisk is a read-only utility (unless you choose to modify any partition information). It i used to locate NTFS partitions whose headers may be 'lost' or accidentally overwritten.


GPT Fdisk is used to re-write partition tables (no data changes).


You may be able to recover Windows if Testdisk can locate NTFS headers. It is a slow disk scan process to locate NTFS headers.

Jan 15, 2015 3:36 PM in response to Loner T

Loner T wrote:


Were there any partition resizing done prior to the Yosemite upgrade?


Testdisk is a read-only utility (unless you choose to modify any partition information). It i used to locate NTFS partitions whose headers may be 'lost' or accidentally overwritten.


GPT Fdisk is used to re-write partition tables (no data changes).


You may be able to recover Windows if Testdisk can locate NTFS headers. It is a slow disk scan process to locate NTFS headers.

Prior to Yosemite upgrade, there were two partitions: one for Mac and one for Windows, created more than three years ago... didn't make any resizing since then.

I was using the Windows partition most of the time.

What should I do next to locate the headers and re-write partition tables?

Jan 15, 2015 5:58 PM in response to Eugeniu_K

If you have downloaded Testdisk, and unzipped it in a specific directory, you can start it in OS X Terminal (you need to be in the directory where the testdisk binary is located) by


sudo ./testdisk /dev/rdisk0


Select EFI/GPT and run a Quick Search. Use the MS Data partition (which is your current partition) and run a Deeper Search.

Jan 18, 2015 5:32 AM in response to Loner T

Loner T wrote:


Assuming the eFI entry is numbered 1, pick 4 and 5 and look inside using 'P - list files'.


Please do not use left/right arrow/cursor keys because it changes the partitions, and you want avoid making any changes via Testdisk.

From the post above, looks like the line 4 is the one I need to recover, as it contains the Windows files.


Should I use the Right/Left arrows now to change its status from Deleted to Primary?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Boot camp lost after upgrading to Yosemite from mountain lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.