Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Bootcamp Windows 7 not working after Yosemite install

I have Windows 7 installed via bootcamp and after installing Yosemite, windows was no longer available via System Preferences>Startup Disk. However, it was still accessible using restart and holding alt/option. Then today I accidentally installed update 10.10.3 and now Windows is completely gone. I do not have a Time Machine Backup and have been scouring these threads for some time trying to piece together a solution to no avail.


I have seen similar threads about this topic however I have not quite found the complete solution to my specific example. Here is some info that should serve usefull to someone willing to help.


diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 186.7 GB disk0s2

3: Microsoft Basic Data 64.0 GB disk0s3

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *4.1 GB disk1

1: DOS_FAT_32 UNTITLED 4.1 GB disk1s1



diskutil cs list

No CoreStorage logical volume groups found



sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752

gpt show: /dev/disk0: Suspicious MBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 490234751

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 364564440 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

364974080 262144

365236224 124997632 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

490233856 863

490234719 32 Sec GPT table

490234751 1 Sec GPT header



sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 30515/255/63 [490234752 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 - 364564440] HFS+

3: 0C 1023 254 63 - 1023 254 63 [ 365236224 - 124997632] Win95 FAT32L

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused


Also...

User uploaded file


I use this computer for work and have a lot of important stuff on the Windows side. Please help.

MacBook Pro with Retina display, OS X Yosemite (10.10.3)

Posted on Apr 13, 2015 5:23 PM

Reply
85 replies

Apr 13, 2015 5:47 PM in response to J.Amado

1. What year/model/screen size is your Mac?

2. What happened to Recovery HD? If you do not know, I will assume it was due to the 10.10.3 Recovery Update.

3. According to the Testdisk start, it is somewhere in the GPT2 entry.

4. Please post the output of following command for the current GPT3 (this shows the first block of the partition header)

sudo dd if=/dev/rdisk0s3 count=1 2>/dev/null | hexdump -C

Apr 13, 2015 5:52 PM in response to Loner T

1. Late 2013 MacBook Pro Retina Display 13 inch

2 & 3. In my attempts to fix this issue I somehow thought that if I deleted the Recovery HD and merged it with the disk0s2 that it might solve the issue. Obviously it didn't and now I hope that that won't make it even harder to fix now.

4.

sudo dd if=/dev/rdisk0s3 count=1 2>/dev/null | hexdump -C

00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

*

00000200

Apr 13, 2015 6:00 PM in response to Loner T

Jeffs-MacBook-Pro:~ Jamado$ sudo dd if=/dev/rdisk0s1 count=1 2>/dev/null | hexdump -C

00000000 eb 58 90 42 53 44 20 20 34 2e 34 00 02 01 20 00 |.X.BSD 4.4... .|

00000010 02 00 00 00 00 f0 00 00 20 00 10 00 00 00 00 00 |........ .......|

00000020 00 40 06 00 4f 0c 00 00 00 00 00 00 02 00 00 00 |.@..O...........|

00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

00000040 00 00 29 ed 17 e3 67 45 46 49 20 20 20 20 20 20 |..)...gEFI |

00000050 20 20 46 41 54 33 32 20 20 20 fa 31 c0 8e d0 bc | FAT32 .1....|

00000060 00 7c fb 8e d8 e8 00 00 5e 83 c6 19 bb 07 00 fc |.|......^.......|

00000070 ac 84 c0 74 06 b4 0e cd 10 eb f5 30 e4 cd 16 cd |...t.......0....|

00000080 19 0d 0a 4e 6f 6e 2d 73 79 73 74 65 6d 20 64 69 |...Non-system di|

00000090 73 6b 0d 0a 50 72 65 73 73 20 61 6e 79 20 6b 65 |sk..Press any ke|

000000a0 79 20 74 6f 20 72 65 62 6f 6f 74 0d 0a 00 00 00 |y to reboot.....|

000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

*

000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|

00000200

Jeffs-MacBook-Pro:~ Jamado$ sudo dd if=/dev/rdisk0s2 count=1 2>/dev/null | hexdump -C

00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

*

00000200

Jeffs-MacBook-Pro:~ Jamado$ sudo dd if=/dev/rdisk0s3 count=1 2>/dev/null | hexdump -C

00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

*

00000200

Jeffs-MacBook-Pro:~ Jamado$ sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C

Jeffs-MacBook-Pro:~ Jamado$

Apr 15, 2015 3:06 PM in response to J.Amado

This is a very non-standard procedure for a OS X+Bootcamp drives. If you see any error messages during the following steps, please stop and post back here with the error message. The following steps have values from your Testdisk output (and you can verify).


Rebuild GPT2 and GPT3 using start/end offsets


  1. Sudo gdisk /dev/rdisk0
  2. P (print the full list of parts)
  3. D (delete)
  4. 2 (part 2)
  5. D (delete)
  6. 3 (part 3)
  7. N (new part)
  8. 2 (part 2)
  9. 409640 - Start offset in bytes (start point for OS X)
  10. +332169175 (Size offset as opposed to End offset)
  11. AF (HFS+ Partition Type)
  12. N (New Part)
  13. 3 (Part 3)
  14. 332578816 (Start offset in bytes (start point for NTFS
  15. +157655033 (size of NTFS partition)
  16. 0700 (Windows part type)
  17. P (print list of all parts just to see what changes will be made)
  18. W (Write partitions).
  19. Y (Yes!)


This will delete and re-write the GPT partition info for /dev/disk0s2 and /dev/disk0s3.

Reboot and check if you can see files in the Bootcamp partition using Finder. If you can see files, the next step would be to create a Hybrid MBR to boot Windows.

Bootcamp Windows 7 not working after Yosemite install

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