LokoMix

Q: "Missing Operating system_ " After installing Yosemite

Please help, after installing Yosemite now i can't get to my windows 7 anymore . At first i can't even get to see Windows partition when i hold ALT during boot but i got that fixed but now that i try to get to windows its just not happening . Please help

 

Screen Shot 2014-10-17 at 9.08.38 PM.png

 

 

 

Screen Shot 2014-10-17 at 9.10.31 PM.png

 

 

 

Screen Shot 2014-10-17 at 9.11.24 PM.png

 

 

 

Screen Shot 2014-10-17 at 9.12.03 PM.png

 

IMG_0001.jpg

MacBook Pro (Retina, Mid 2012), OS X Yosemite (10.10)

Posted on Oct 17, 2014 6:49 PM

Close

Q: "Missing Operating system_ " After installing Yosemite

  • All replies
  • Helpful answers

first Previous Page 5 of 10 last Next
  • by PhivosZ,

    PhivosZ PhivosZ Nov 19, 2014 12:31 PM in response to Loner T
    Level 1 (8 points)
    Windows Software
    Nov 19, 2014 12:31 PM in response to Loner T

    I also lost windows when I upgraded to Yosemite

     

    Can you help me please?

     

     

    TestDisk 7.0-WIP, Data Recovery Utility, October 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 1000 GB / 931 GiB - 1953525168 sectors (RO)

    Current partition structure:

         Partition                  Start        End    Size in sectors

     

    1 P EFI System                    40     409639     409600 [EFI System Partitio

    2 P Mac HFS                   409640  879935663  879526024 [Customer]

    3 P Mac Boot               879935664  881205199    1269536 [Recovery HD]

    Warning: number of heads/cylinder mismatches 255 (NTFS) != 1 (HD)

    Warning: number of sectors per track mismatches 63 (NTFS) != 1 (HD)

    4 P MS Data               1366915072 1953523711  586608640 [BOOTCAMP]

     

     

     

     

     

     

     

     

     

    >[Quick Search]  [ Backup ]

                               Try to locate partition


     

     

     

    TestDisk 7.0-WIP, Data Recovery Utility, October 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 1000 GB / 931 GiB - 1953525168 sectors (RO)

     

    The harddisk (1000 GB / 931 GiB) seems too small! (< 1300 GB / 1211 GiB)

    Check the harddisk size: HD jumpers settings, BIOS detection...

     

    The following partitions can't be recovered:

         Partition               Start        End    Size in sectors

    >  MS Data               1953523711 2540132350  586608640

       Mac HFS               1953525124 1954794659    1269536

     

     

     

     

     

     

     

     

     

    [ Continue ]

    NTFS, blocksize=4096, 300 GB / 279 GiB

     

    TestDisk 7.0-WIP, Data Recovery Utility, October 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 1000 GB / 931 GiB - 1953525168 sectors (RO)

         Partition               Start        End    Size in sectors

    >P EFI System                    40     409639     409600 [EFI]

    P Mac HFS                   409640  879935663  879526024

    P Mac HFS                879935664  881205199    1269536

    D MS Data                881205248 1953523704 1072318457

    D MS Data               1366915072 1953523711  586608640

    D Mac HFS               1952255592 1953525127    1269536

     

     

     

     

     

     

    Structure: Ok.  Use Up/Down Arrow keys to select partition.

    Use Left/Right Arrow keys to CHANGE partition characteristics:

                    P=Primary  D=Deleted

    Keys A: add partition, L: load backup, T: change type, P: list files,

         Enter: to continue

    FAT32, blocksize=512, 209 MB / 200 MiB

  • by brosello,

    brosello brosello Nov 19, 2014 12:41 PM in response to PhivosZ
    Level 1 (0 points)
    Nov 19, 2014 12:41 PM in response to PhivosZ

    Not an expert in this matter but, when I had the issue I booted the MAC with Yosemite on a USB drive and ran a Verify on the Hard Drive. Are you able to boot into MAC? If so try recreating your Boot Camp.

  • by PhivosZ,

    PhivosZ PhivosZ Nov 19, 2014 1:05 PM in response to brosello
    Level 1 (8 points)
    Windows Software
    Nov 19, 2014 1:05 PM in response to brosello

    Thanks bro...

     

    Everything is fine on the Mac side.  But the Bootcamp partition is gone

  • by Loner T,

    Loner T Loner T Nov 19, 2014 1:11 PM in response to PhivosZ
    Level 7 (24,202 points)
    Safari
    Nov 19, 2014 1:11 PM in response to PhivosZ

    The first screen shot shows a large gap between GPT3 and GPT4. Can you post the output of sudo gpt -vv -r show /dev/disk0? This is a Yosemite upgrade bug.

     

    You will most likely need Testdisk to look for your 'lost' NTFS header and Windows partition.

     

    Please see Bootcamp partition has disappeared after upgrade to Yosemite 10.10 for steps.

  • by PhivosZ,

    PhivosZ PhivosZ Nov 19, 2014 4:41 PM in response to Loner T
    Level 1 (8 points)
    Windows Software
    Nov 19, 2014 4:41 PM in response to Loner T

    Dear Loner T

     

    Here is the output of

    sudo gpt -vv -r show /dev/disk0

     

    gpt show: /dev/disk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168

    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 1953525167

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

       879935664     1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

       881205200   485709872       

      1366915072   586608640      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      1953523712        1423       

      1953525135          32         Sec GPT table

      1953525167           1         Sec GPT header

     

     

    I would appreciate any instructions of what steps to follow. 

     

    Thanks for taking the time to help everyone.

  • by Loner T,

    Loner T Loner T Nov 19, 2014 5:16 PM in response to PhivosZ
    Level 7 (24,202 points)
    Safari
    Nov 19, 2014 5:16 PM in response to PhivosZ

    Do you have Testdisk and GPT Fdisk (disk) already installed? If Testdisk is installed, please start it using

     

    sudo testdisk /dev/rdisk0 and 

     

    Create, Analyse, Pick EFI partition, Quick Search.

  • by PhivosZ,

    PhivosZ PhivosZ Nov 29, 2014 11:03 AM in response to Loner T
    Level 1 (8 points)
    Windows Software
    Nov 29, 2014 11:03 AM in response to Loner T

    Hi Loner T,

     

    I tried to follow the instructions...

     

    Now the windows partition shows up when I hold the alt key on startup but when I try to boot from windows I get a "cannot read disk" message.

     

    Any help would be most appreciated.

     

    TestDisk 7.0-WIP, Data Recovery Utility, October 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 1000 GB / 931 GiB - 1953525168 sectors (RO)

    Current partition structure:

         Partition                  Start        End    Size in sectors

     

    1 P EFI System                    40     409639     409600 [EFI System Partitio

    2 P Mac HFS                   409640  879935663  879526024 [Customer]

    3 P Mac Boot               879935664  881205199    1269536 [Recovery HD]

    Warning: number of heads/cylinder mismatches 255 (NTFS) != 1 (HD)

    Warning: number of sectors per track mismatches 63 (NTFS) != 1 (HD)

    4 P MS Data               1366915072 1953523711  586608640 [Microsoft basic dat

    a]

     

     

     

     

     

     

                    P=Primary  D=Deleted

    >[Quick Search]  [ Backup ]

                               Try to locate partition



    TestDisk 7.0-WIP, Data Recovery Utility, October 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 1000 GB / 931 GiB - 1953525168 sectors (RO)

     

    The harddisk (1000 GB / 931 GiB) seems too small! (< 1300 GB / 1211 GiB)

    Check the harddisk size: HD jumpers settings, BIOS detection...

     

    The following partitions can't be recovered:

         Partition               Start        End    Size in sectors

    >  MS Data               1953523711 2540132350  586608640

       Mac HFS               1953525124 1954794659    1269536

     

     

     

     

     

     

     

     

     

    [ Continue ]

    NTFS, blocksize=4096, 300 GB / 279 GiB

     


     

    TestDisk 7.0-WIP, Data Recovery Utility, October 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 1000 GB / 931 GiB - 1953525168 sectors (RO)

         Partition               Start        End    Size in sectors

    >P EFI System                    40     409639     409600 [EFI]

    P Mac HFS                   409640  879935663  879526024

    P Mac HFS                879935664  881205199    1269536

    D MS Data                881205248 1953523704 1072318457

    D MS Data               1366915072 1953523711  586608640

    D Mac HFS               1952255592 1953525127    1269536

     

     

     

     

     

     

    Structure: Ok.  Use Up/Down Arrow keys to select partition.

    Use Left/Right Arrow keys to CHANGE partition characteristics:

                    P=Primary  D=Deleted

    Keys A: add partition, L: load backup, T: change type, P: list files,

         Enter: to continue

    FAT32, blocksize=512, 209 MB / 200 MiB

     

     

    Directory structure seems to be there...

    TestDisk 7.0-WIP, Data Recovery Utility, October 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

         MS Data                881205248 1953523704 1072318457

    Directory /

     

    >dr-xr-xr-x     0     0         0 13-Nov-2014 03:16 .

    dr-xr-xr-x     0     0         0 13-Nov-2014 03:16 ..

    dr-xr-xr-x     0     0         0  5-Mar-2013 03:17 $AVG

    dr-xr-xr-x     0     0         0  5-Mar-2013 00:54 $Recycle.Bin

    dr-xr-xr-x     0     0         0 21-Dec-2013 01:10 .Trashes

    dr-xr-xr-x     0     0         0 15-Jul-2013 23:56 Archbold Digital Edition

    dr-xr-xr-x     0     0         0 15-Jul-2013 23:56 BlackstonesCriminalPractice2

    dr-xr-xr-x     0     0         0 25-Jun-2014 03:48 Boot

    dr-xr-xr-x     0     0         0 13-Nov-2014 03:16 Config.Msi

    dr-xr-xr-x     0     0         0 29-Jun-2014 15:37 DCIM

    dr-xr-xr-x     0     0         0  6-Jul-2014 23:56 Databases

    dr-xr-xr-x     0     0         0 25-Jan-2014 17:53 GOG Games

    dr-xr-xr-x     0     0         0 27-Apr-2014 13:06 Games

    dr-xr-xr-x     0     0         0  5-Mar-2013 01:02 Intel

                                                       Next

    Use Right to change directory, h to hide Alternate Data Stream

        q to quit, : to select the current file, a to select all files

        C to copy the selected files, c to copy the current file

  • by Loner T,

    Loner T Loner T Nov 29, 2014 11:38 AM in response to PhivosZ
    Level 7 (24,202 points)
    Safari
    Nov 29, 2014 11:38 AM in response to PhivosZ

    This is excellent work.

    PhivosZ wrote:

     

       881205200   485709872     

      1366915072   586608640      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

    This is what Testdisk found. The offset is positive and 48 bytes. The three numbers are start/end/size from the Testdisk output.

      MS Data                881205248 1953523704 1072318457

     

    A small table to verify that everything is clean.

     

    GPT 3 StartGPT 3 SizeGPT 3 EndNTFS StartByte OffsetNTFS SizeNTFS End
    87993566412695368812052008812052484810723184571953523705

     

    The 'Byte Offset' being positive is good. A negative value means you lose GPT#3.

     

    You need to use the following steps. If you see any error messages during the following steps, please stop and post back here with the error message.

     

    Rebuild using start/end offsets from Testdisk DeepSearch using GPT Fdisk (http://sourceforge.net/projects/gptfdisk/)

    1. Sudo gdisk /dev/rdisk0
    2. P  (print the full list of parts)
    3. D  (delete)
    4. 4  (part 4)
    5. N  (new part)
    6. 4   (part 4)
    7. 881205248 - Start offset in bytes  (start point for Bootcamp part)
    8. +1072318457 (Size offset as opposed to End offset)
    9. 0700     (Windows part type)
    10. P           (print list of all parts just to see what changes will be made)
    11. W         (Write the new GPT)
    12. Y           (Yes! really write the new GPT)

     

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


    Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR

    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 4
    6. Y (Good for GRUB question)
    7. N (part 2 flag)
    8. N (part 3 flag)
    9. Y  (part 4 flag make bootable partition)
    10. W  (Write the new MBR)
    11. Y    (Yes! write the new MBR)
    12. Reboot

     

    Test 1 - Does Bootcamp Volume show up in Finder?

    Test 2 - Can you 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.

     

    If you see a hanging underline cursor at the top left on a black screen, and it does not proceed further, you may need Windows Startup Repair or a tool called EasyBCD.

  • by PhivosZ,

    PhivosZ PhivosZ Nov 29, 2014 12:40 PM in response to Loner T
    Level 1 (8 points)
    Windows Software
    Nov 29, 2014 12:40 PM in response to Loner T

    Loner T

     

    Thank you thank you thank you thank you thank you thank you thank you thank you!

     

    You rock man!

     

    Everything is working now.

     

    I am really really  grateful for your help

     

    Phivos

  • by Loner T,

    Loner T Loner T Nov 29, 2014 12:43 PM in response to PhivosZ
    Level 7 (24,202 points)
    Safari
    Nov 29, 2014 12:43 PM in response to PhivosZ

    Excellent work .

  • by m.traeumner,

    m.traeumner m.traeumner Dec 11, 2014 9:05 AM in response to Loner T
    Level 1 (0 points)
    Dec 11, 2014 9:05 AM in response to Loner T

    Hi Loner T,

    I have the same Problem, but first I tried to repair my Win with the win 8 boot disc and the command (fix boot and fixmbr)

    Now I have the Problem that I can't get any Data of the win-partition. I tried it with the deep search in test disk Bildschirmfoto 2014-12-11 um 17.15.49.png

    Then I tried with gdisk to repair it, but I can't give him the end sector, it is out of range.

     

    Bildschirmfoto 2014-12-11 um 18.03.46.png

     

    What went wrong. Can you help me?

  • by Loner T,

    Loner T Loner T Dec 11, 2014 2:38 PM in response to m.traeumner
    Level 7 (24,202 points)
    Safari
    Dec 11, 2014 2:38 PM in response to m.traeumner

    In this (or any other listed MS Data entry) do you see any familiar files, including 'System Volume Information'?

  • by abughareeb,

    abughareeb abughareeb Jan 7, 2015 5:04 PM in response to Loner T
    Level 1 (0 points)
    Jan 7, 2015 5:04 PM in response to Loner T

    Hi Loner T,

     

    I went through the entire thread to try and fix my MBR and fix boot camp. But I am stuck now at the end because honestly I don't know what I am looking at and I don't want to destroy the progress that I made. Could you please take a look at my situation and tell me what to do next.

     

    First here is the gpt command you told PhivosZ to exe

    Screen Shot 2015-01-07 at 7.54.34 PM.png

    I did use test disk to analyze the disk and found the missing MS partition

    Screen Shot 2015-01-07 at 7.54.39 PM.png

    Screen Shot 2015-01-07 at 8.00.32 PM.png

    Now I don't know what to do next and how to fix my situation could you please help me.

     

    Thanks

  • by Loner T,

    Loner T Loner T Jan 7, 2015 8:59 PM in response to abughareeb
    Level 7 (24,202 points)
    Safari
    Jan 7, 2015 8:59 PM in response to abughareeb

    Good work so far to get to this point. You have found the start/end/size triplet. I have substituted the values from your Testdisk output in the following steps.

     

    You need to use the following steps. 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) in Steps 7 and 8.

     

    Rebuild GPT4 using start/end offsets

     

    Sudo gdisk /dev/rdisk0

    P  (print the full list of parts)

    D  (delete)

    4  (part 4)

    N  (new part)

    4   (part 4)

    859590656 - Start offset in bytes  (start point for Bootcamp part)

    +117182457 (Size offset as opposed to End offset)

    0700     (Windows part type)

    P           (print list of all parts just to see what changes will be made)

    W         (Write the new GPT)

    Y           (Yes! really write the new GPT)

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

     

    Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR. Use defaults for other questions (like partition codes).

     

    Sudo gdisk /dev/disk0

    P  (Print list of parts)

    R   (Recover)

    H (chooses Hybrid)

    Partitions numbers to be hybridized: 2 3 4

    Y (Good for GRUB question)

    N (part 2 boot flag)

    N (part 3 boot flag)

    Y  (part 4 boot flag make NTFS bootable partition)

    W  (Write the new MBR)

    Y    (Yes! write the new MBR)

    Reboot

     

    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

     

    If you see a hanging underline cursor at the top left on a black screen, and it does not proceed further, you may need Windows Startup Repair or a tool called EasyBCD.

  • by abughareeb,

    abughareeb abughareeb Jan 7, 2015 11:27 PM in response to Loner T
    Level 1 (0 points)
    Jan 7, 2015 11:27 PM in response to Loner T

    Thanks Loner,

     

    So now I am at the second execution sequence. Just to be clear I got a question that you did not mention what should I enter for the hex code?

     

    Screen Shot 2015-01-08 at 2.26.10 AM.png

first Previous Page 5 of 10 last Next