Naritoat

Q: Boot camp lost after upgrading to Yosemite from mountain lion

Screen Shot 2557-11-10 at 10.28.11 PM.png

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

Screen Shot 2557-11-10 at 10.30.52 PM.pngScreen Shot 2557-11-10 at 10.31.18 PM.pngScreen Shot 2557-11-10 at 10.32.13 PM.png

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

Posted on Nov 10, 2014 1:38 PM

Close

Q: Boot camp lost after upgrading to Yosemite from mountain lion

  • All replies
  • Helpful answers

first Previous Page 4 of 6 last Next
  • by Eugeniu_K,

    Eugeniu_K Eugeniu_K Jan 20, 2015 4:06 PM in response to Loner T
    Level 1 (0 points)
    Jan 20, 2015 4:06 PM in response to Loner T

    Loner T wrote:

     

    If I correct the GPT3 start, see the comment below the table. You also need to delete GPT 3, not just GPT 4.

    Using the start/end/size from '4' and '5', this is what the numbers look like...

     

    GPT 3 Start GPT 3 Size GPT 3 End NTFS Start Sector Offset NTFS Size NTFS End
    722036736 1269536 722094080 722036736 -57344 254734336 976771072
    GPT 3 Start GPT 3 Size GPT 3 End NTFS Start Sector Offset NTFS Size NTFS End
    720824544 1269536 722094080 722094080 0 254679040 976773120

     

    The negative sector offset means the NTFS header is located somewhere in the current Recovery HD partition. This is the reason for asking if there are any additional files in '4' (because it may be a part of the NTFS partition you are looking for).

    So you also need to execute 'd', '3'.

     

    ok, how can I cancel current action?

  • by Loner T,

    Loner T Loner T Jan 20, 2015 4:09 PM in response to Eugeniu_K
    Level 7 (24,601 points)
    Safari
    Jan 20, 2015 4:09 PM in response to Eugeniu_K

    You can enter q or use Control+C. Till you execute the 'w' command, no changes are made.

  • by Eugeniu_K,

    Eugeniu_K Eugeniu_K Jan 20, 2015 4:18 PM in response to Loner T
    Level 1 (0 points)
    Jan 20, 2015 4:18 PM in response to Loner T

    Screen Shot 2015-01-21 at 2.17.22 AM.png

     

    Enter?

  • by Loner T,

    Loner T Loner T Jan 20, 2015 4:24 PM in response to Eugeniu_K
    Level 7 (24,601 points)
    Safari
    Jan 20, 2015 4:24 PM in response to Eugeniu_K

    No. Now you execute 'n', '3' and then your values. (because there is no GPT3 or GPT 4 anymore).

     

    Also, in the second set of Gdisk commands (for the hybrid MBR) where normally one would enter '2 3 4', you need to enter only '2 3', because the old 3 and 4 entries were removed.

  • by Eugeniu_K,

    Eugeniu_K Eugeniu_K Jan 20, 2015 4:29 PM in response to Loner T
    Level 1 (0 points)
    Jan 20, 2015 4:29 PM in response to Loner T

    ok, are these values correct for 3?

     

    720824544 - start

    722036735 - end

     

    right?

  • by Loner T,

    Loner T Loner T Jan 20, 2015 4:36 PM in response to Eugeniu_K
    Level 7 (24,601 points)
    Safari
    Jan 20, 2015 4:36 PM in response to Eugeniu_K

    As noted earlier, these are the correct ones.

     

    7. 722036736

    8. +254734336

     

    To avoid confusion, let me put all the steps here, just to be safe.

     

     

    Rebuild GPT3 using start/end offsets

    1. Sudo gdisk /dev/rdisk0
    2. P  (print the full list of parts)
    3. D  (delete)
    4.

    3  (part 3)

    D (Delete)

    4 (part 4)

    5. N  (new part)
    6. 3  (part 3)
    7. 722036736 - Start offset in bytes  (start point for Bootcamp part)
    8. +254734336 (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/disk0s3.

  • by Eugeniu_K,

    Eugeniu_K Eugeniu_K Jan 20, 2015 4:44 PM in response to Loner T
    Level 1 (0 points)
    Jan 20, 2015 4:44 PM in response to Loner T

    Final Check:

    Screen Shot 2015-01-21 at 2.43.22 AM.png

  • by Loner T,

    Loner T Loner T Jan 20, 2015 4:48 PM in response to Eugeniu_K
    Level 7 (24,601 points)
    Safari
    Jan 20, 2015 4:48 PM in response to Eugeniu_K

    Please continue. After Reboot, please post the output of

     

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

  • by Eugeniu_K,

    Eugeniu_K Eugeniu_K Jan 20, 2015 4:47 PM in response to Loner T
    Level 1 (0 points)
    Jan 20, 2015 4:47 PM in response to Loner T

    Done,

    going for the restart...

  • by Eugeniu_K,

    Eugeniu_K Eugeniu_K Jan 20, 2015 4:52 PM in response to Eugeniu_K
    Level 1 (0 points)
    Jan 20, 2015 4:52 PM in response to Eugeniu_K

    No signs of Bootcamp or MAC Backup just Macintosh HD

    Any thoughts?

  • by Eugeniu_K,

    Eugeniu_K Eugeniu_K Jan 20, 2015 4:53 PM in response to Loner T
    Level 1 (0 points)
    Jan 20, 2015 4:53 PM in response to Loner T

    Loner T wrote:

     

    Please continue. After Reboot, please post the output of

     

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

     

     

    Last login: Wed Jan 21 02:49:23 on console

    100:~ timonpumba$ sudo dd if=/dev/rdisk0s3 count=1 2>/dev/null | hexdump -C

    Password:

    00000000  86 80 33 cb 08 fe 05 dc  05 fa a9 2a a3 3c 2d 06  |..3........*.<-.|

    00000010  17 80 7e 3d c2 2f 8c f2  90 0c 5e 76 5c f0 35 70  |..~=./....^v\.5p|

    00000020  89 54 c1 ef c0 27 36 09  f6 74 c3 fd 74 8b e0 f2  |.T...'6..t..t...|

    00000030  e0 69 d0 b7 02 7b 81 bd  c1 6d 57 09 fe 19 fc 12  |.i...{...mW.....|

    00000040  c7 cf 03 77 da 2a f8 0f  70 14 ec cf b9 89 f8 e7  |...w.*..p.......|

    00000050  44 fc 9f 40 3f 18 7a 0f  77 94 0f 70 15 70 40 3b  |D..@?.z.w..p.p@;|

    00000060  51 fe da 83 1f b6 11 1c  01 be d6 4c f0 6c f0 49  |Q..........L.l.I|

    00000070  e8 b7 81 b3 77 14 7c 05  dc a9 bd e0 37 e0 cd 7d  |....w.|.....7..}|

    00000080  04 e7 f3 10 3c 04 5c 0b  fc c5 d7 82 db 81 cf 23  |....<.\........#|

    00000090  3c 5f f0 3d e8 47 81 8f  40 1f 0d 6e db 55 f0 5a  |<_.=.G..@..n.U.Z|

    000000a0  70 f9 5e 82 4f 80 57 41  ff 00 ec f5 0d fa 23 d9  |p.^.O.WA......#.|

    000000b0  51 5e 3b 0b ce 0f be d0  5b 70 5d f0 54 84 d7 03  |Q^;.....[p].T...|

    000000c0  fc 0d ec 83 c1 23 3a e1  7e 03 fe bd b8 48 df c5  |.....#:.~....H..|

    000000d0  e0 43 a5 50 5f c0 1f ca  08 3e 0b ae 56 4e 70 26  |.C.P_....>..VNp&|

    000000e0  b8 73 3a fa 77 39 04 5f  7a 20 b8 09 38 f4 28 da  |.s:.w9._z ..8.(.|

    000000f0  57 70 15 f0 4f e0 38 f0  52 b0 74 41 c4 6f 1f 78  |Wp..O.8.R.tA.o.x|

    00000100  ce 06 a1 7f 00 fe 09 e5  39 5b 4e 94 4f 9c ff 0b  |........9[N.O...|

    00000110  f0 6a 70 1b f0 85 c7 82  7d c1 0f d1 7e 44 82 f3  |.jp.....}...~D..|

    00000120  9c 46 ff 11 5c 37 a7 e8  0f 6f 03 97 75 13 7c 09  |.F..\7...o..u.|.|

    00000130  dc f8 2d f2 c3 13 e5 f5  89 e0 72 e0 63 af 05 b7  |..-.......r.c...|

    00000140  05 7f 0d fb 00 f0 c4 4c  94 07 70 d7 37 82 b7 82  |.......L..p.7...|

    00000150  fb 95 17 f1 bb 00 8e ce  2b f8 31 38 38 1f ea 6b  |........+.188..k|

    00000160  2e a4 77 9a e0 6a e0 be  ff a0 7e 80 63 c1 fe e0  |..w..j....~.c...|

    00000170  33 79 c4 f5 44 81 5f 7d  2b 78 05 78 30 f8 20 d8  |3y..D._}+x.x0. .|

    00000180  ad 1f ea 0b 38 ed be 38  df 5b b0 82 f4 ce 9b 5b  |....8..8.[.....[|

    00000190  70 c6 4e c1 b5 c1 2d cb  a1 3f 0c 1e f0 27 d2 03  |p.N...-..?...'..|

    000001a0  dc 1b f5 2b 0a 5c b5 81  38 ff 1a f0 d6 4d 42 7f  |...+.\..8....MB.|

    000001b0  14 bc c4 49 e8 af 83 3f  95 15 fc 11 9c b3 9c e0  |...I...?........|

    000001c0  b2 79 70 ff 3e 25 8e 6f  01 de 8c e3 fb 81 0f 82  |.yp.>%.o........|

    000001d0  7f 04 2f a9 80 f6 0b fc  1a bc 07 5c 09 f1 bf 01  |../........\....|

    000001e0  5e 8f f0 ad 79 31 1e 42  7b 55 0a bc 15 dc 1c 7c  |^...y1.B{U.....||

    000001f0  0c ec 0d 0e 38 2f 78 1a  38 2c 41 f0 72 f0 5d 94  |....8/x.8,A.r.].|

    00000200

    100:~ timonpumba$

     

  • by Loner T,

    Loner T Loner T Jan 20, 2015 4:54 PM in response to Eugeniu_K
    Level 7 (24,601 points)
    Safari
    Jan 20, 2015 4:54 PM in response to Eugeniu_K

    In diskutil list, do you see a disk0s3 and what does the previous dd command show?

  • by Eugeniu_K,

    Eugeniu_K Eugeniu_K Jan 20, 2015 5:06 PM in response to Loner T
    Level 1 (0 points)
    Jan 20, 2015 5:06 PM in response to Loner T

    Screen Shot 2015-01-21 at 2.55.50 AM.png

    Screen Shot 2015-01-21 at 3.05.12 AM.png

  • by Loner T,

    Loner T Loner T Jan 20, 2015 5:06 PM in response to Eugeniu_K
    Level 7 (24,601 points)
    Safari
    Jan 20, 2015 5:06 PM in response to Eugeniu_K

    In your Testdisk output, there were only two entries, and there was no 'System Volume Information', which is usually not the case. Was your Testdisk listing from a Deeper Search?

  • by Eugeniu_K,

    Eugeniu_K Eugeniu_K Jan 20, 2015 5:08 PM in response to Loner T
    Level 1 (0 points)
    Jan 20, 2015 5:08 PM in response to Loner T

    no, just quick search

first Previous Page 4 of 6 last Next