J.Amado

Q: 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...

Screen Shot 2015-04-13 at 5.17.08 PM.png

 

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

Close

Q: Bootcamp Windows 7 not working after Yosemite install

  • All replies
  • Helpful answers

Previous Page 2 of 6 last Next
  • by Loner T,Helpful

    Loner T Loner T Apr 15, 2015 3:06 PM in response to J.Amado
    Level 7 (24,800 points)
    Safari
    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.

  • by J.Amado ,

    J.Amado J.Amado Apr 13, 2015 8:51 PM in response to Loner T
    Level 1 (0 points)
    Apr 13, 2015 8:51 PM in response to Loner T

    Screen Shot 2015-04-13 at 8.50.33 PM.png

    Screen Shot 2015-04-13 at 8.51.23 PM.png

  • by Loner T,

    Loner T Loner T Apr 13, 2015 8:58 PM in response to J.Amado
    Level 7 (24,800 points)
    Safari
    Apr 13, 2015 8:58 PM in response to J.Amado

    Please reboot. Be aware that we have modified OS X parts, so it may not boot properly. If it does, check if you can see the Bootcamp in Finder. If you cannot boot, then you need to use OS X: About OS X Recovery - Apple Support to re-install OS X. Please ensure that you choose the current GPT2 and do not modify any other partitions. Do not erase the disk.

  • by J.Amado ,

    J.Amado J.Amado Apr 13, 2015 9:00 PM in response to Loner T
    Level 1 (0 points)
    Apr 13, 2015 9:00 PM in response to Loner T

    Screen Shot 2015-04-13 at 8.58.10 PM.png

    Screen Shot 2015-04-13 at 9.00.37 PM.png

  • by J.Amado ,

    J.Amado J.Amado Apr 13, 2015 9:01 PM in response to Loner T
    Level 1 (0 points)
    Apr 13, 2015 9:01 PM in response to Loner T

    It looks like it worked. Do I still need to create a Hybrid MBR to boot Windows?

  • by Loner T,

    Loner T Loner T Apr 13, 2015 9:13 PM in response to J.Amado
    Level 7 (24,800 points)
    Safari
    Apr 13, 2015 9:13 PM in response to J.Amado

    1. Can you see all your files in Finder?

    2. Yes, you do need to recreate the Hybrid MBR. Yours is a special case, so the standard 2 3 4 will not work. You have only 2 and 3. Part 3 (GPT3=MBR3) should be marked bootable.

     

    I am optimistic, it will work. At least you can get all your files, if necessary. I am on the US East coast, and will be gone for a few hours of shut-eye.

  • by J.Amado ,

    J.Amado J.Amado Apr 13, 2015 9:12 PM in response to Loner T
    Level 1 (0 points)
    Apr 13, 2015 9:12 PM in response to Loner T

    Screen Shot 2015-04-13 at 9.12.14 PM.png

  • by J.Amado ,

    J.Amado J.Amado Apr 13, 2015 9:14 PM in response to Loner T
    Level 1 (0 points)
    Apr 13, 2015 9:14 PM in response to Loner T

    Yes all files are there

  • by Loner T,

    Loner T Loner T Apr 13, 2015 9:15 PM in response to J.Amado
    Level 7 (24,800 points)
    Safari
    Apr 13, 2015 9:15 PM in response to J.Amado

    I will wait, if you are going to try it now. My suggestion to is to remove personal information from screen shots.

  • by J.Amado ,

    J.Amado J.Amado Apr 13, 2015 9:15 PM in response to Loner T
    Level 1 (0 points)
    Apr 13, 2015 9:15 PM in response to Loner T

    Ok so how do I recreate the Hybrid MBR?

  • by Loner T,

    Loner T Loner T Apr 13, 2015 9:18 PM in response to J.Amado
    Level 7 (24,800 points)
    Safari
    Apr 13, 2015 9:18 PM in response to J.Amado

    Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR. Use defaults for other questions (like partition codes). The only values that need modifications are the Boot flags and step 6. Accept all other defaults that Gdisk offers.


    1. Sudo gdisk /dev/disk0
    2. P  (Print list of parts)
    3. R   (Recover)
    4. H (chooses Hybrid)
    5. Partitions numbers to be hybridized: 2 3
    6. Y (Good for GRUB question)
    7. N (part 2 boot flag)
    8. Y  (part 3 boot flag make NTFS bootable partition)
    9. W  (Write the new MBR)
    10. Y    (Yes! write the new MBR)
    11. Reboot

     

    This is a special case.

    Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y

     

    Creating entry for GPT partition #2 (MBR partition #2)

    Enter an MBR hex code (default AF): Press Enter/Return

    Set the bootable flag? (Y/N): N

     

    Creating entry for GPT partition #3 (MBR partition #3)

    Enter an MBR hex code (default 07): Press Enter/Return

    Set the bootable flag? (Y/N): Y

     

    Test 1 - Does Bootcamp Volume show up in Finder?

    Test 2 - Can you see files in Bootcamp Volume?

    Test 3 - Can you select Bootcamp in System Preferences -> Startup Disk?

    Test 4 - If Test 3 is successful, select Bootcamp and Click Restart.

  • by J.Amado ,

    J.Amado J.Amado Apr 13, 2015 9:25 PM in response to Loner T
    Level 1 (0 points)
    Apr 13, 2015 9:25 PM in response to Loner T

    Screen Shot 2015-04-13 at 9.23.33 PM.png

    Screen Shot 2015-04-13 at 9.24.08 PM.png

    stuck at this point

  • by Loner T,

    Loner T Loner T Apr 13, 2015 9:28 PM in response to J.Amado
    Level 7 (24,800 points)
    Safari
    Apr 13, 2015 9:28 PM in response to J.Amado

    You missed step 4. (the 'h' command). Accept the default MBR hex codes.

  • by J.Amado ,

    J.Amado J.Amado Apr 13, 2015 9:27 PM in response to Loner T
    Level 1 (0 points)
    Apr 13, 2015 9:27 PM in response to Loner T

    Screen Shot 2015-04-13 at 9.26.22 PM.png

    sorry wasn't reading carefully. here is where I am at

  • by J.Amado ,

    J.Amado J.Amado Apr 13, 2015 9:28 PM in response to Loner T
    Level 1 (0 points)
    Apr 13, 2015 9:28 PM in response to Loner T

    I can't express how much I am appreciating your help. Please hang in this with me a few more minutes.

Previous Page 2 of 6 last Next