Previous 1 45 46 47 48 49 Next 1,473 Replies Latest reply: Aug 1, 2015 4:48 PM by Ectoplasm88 Go to original post Branched to a new discussion.
  • frankywashere Level 1 Level 1 (0 points)

    Christopher!

     

    I just installed Mavericks and it broke my BootCamp.

     

    I only have 2 partitions, real simple. one mac, one bootcamp.

     

    The Bootcamp drive is gone, and it shows up in diskutility as "Disk0s4"

     

    anyway to fix this using your magic terminal commands?

     

    Frank

  • Christopher Murphy Level 3 Level 3 (555 points)

    So what you need to do is go back through those steps to create a  new hybrid MBR, and instead of adding only partition #4 to the MBR, add 2 3 4 and only mark the one with Windows as bootable - presumably that's 4 since that's what you did before it worked. For what it's worth, there's a 3 GB gap of unused free space between partitions 3 and 4. So at some point you'll want to back everything up and start from scratch.

  • Christopher Murphy Level 3 Level 3 (555 points)

    No idea. Provide the result from:

     

    sudo fdisk /dev/rdisk0

    sudo gpt -r -v show /dev/rdisk0

  • frankywashere Level 1 Level 1 (0 points)

    Thanks Chris,

     

    here's the screenshot:

     

    Screen Shot 2013-10-22 at 10.56.58 PM.png

  • frankywashere Level 1 Level 1 (0 points)

    and btw, i had Windows 7 installed and it was formatted NTFS, I beleive.

  • Christopher Murphy Level 3 Level 3 (555 points)

    Try the 2nd command again you didn't include the gpt part.

  • defly Level 1 Level 1 (0 points)

    Screen Shot 2013-10-23 at 13.22.55.png

    Hi, also having this issue.

  • Christopher Murphy Level 3 Level 3 (555 points)

    The problem is the 4th partition in the MBR has the wrong type code and isn't marked bootable. So you can either fix this using fdisk or gdisk. The gdisk method is probably better documented in this thread. The fdisk method is faster.

     

    sudo fdisk -e /dev/disk0

    setpid 4

    07

    flag 4

    write

  • defly Level 1 Level 1 (0 points)

    Just done it. Now with holding Alt button I can see Windows, but when I choose it, prints only "Missing operating system"

  • Christopher Murphy Level 3 Level 3 (555 points)

    There is a large 28GB gap between partitions 3 and 4. My guess is this is the result of an aborted attempt at using Disk Utility to modify the partitions of the disk, something Apple really needs to disallow once a disk has been "bootcamped". Their documentation indirectly says this, basically if you need to make changes you have to blow away Windows with Bootcamp Assistant and start from scratch anytime you want to make any change. But Disk Utility will let you get into big, big trouble.

     

    Anyway, can you confirm/deny that you can see the bootcamp volume in OS X? Can you navigate the folders within that bootcamp volume, and find your stuff on it? If you can, then Windows Startup Repair should be able to fix this problem. If you don't have a volume named BOOTCAMP automounted while you're in OS X, then it's a lot trickier.

  • defly Level 1 Level 1 (0 points)

    Thank you for help! I can't see BOOTCAMP volume through finder.

  • Christopher Murphy Level 3 Level 3 (555 points)

    In that case you're in testdisk territory. It's verbose and may propose multiple options each of which you just need to test to see which one gets you access to your data. At the least it'll let you get access to documents at things like that. It might be able to suggest one or more possible partition start-end values, and if you get the right combination, it will restore boot. And if not, you'll need to back everything up, and then see if Bootcamp Assitant will delete what you have so you can start over with Windows. If not, then it'll tell you to reformat the whole disk with a single partitition.

  • frankywashere Level 1 Level 1 (0 points)

    sorry Chris, here you go, and man you're an all-star.

     

    Screen Shot 2013-10-23 at 5.38.29 PM.png

  • frankywashere Level 1 Level 1 (0 points)

    Also Chris, I have no idea if this helps you, but I used testdisk and found this crap out which I have no idea what it means.

     

    Screen Shot 2013-10-23 at 5.45.26 PM.png

    Screen Shot 2013-10-23 at 5.45.01 PM.png

  • tomd007 Level 1 Level 1 (0 points)

    Hello Chriss... I am another guy with a similar problem... I have upgraded to Mavericks and it killed my boot camp where I have my Windows 7 (64x) installation, which I cannot aford to lose as there is all my office work.

     

    Before Mavericks and a couple of months ago, I had reduced the size of my Mac OS partition with Disc Utility and increased my Windows partition with a third party software in Windows 7 ... I realized that DiscUtility didn't recognized this change properly, and it looked like the image below, but I could access my Windows installation by pressing "Atl" during boot up each time. i was working that way.

     

    I installed Mavericks yesterday, and now I cannot access my boot camp partition at all. Please see if you can help me.

     

    I have ran the commands you have indicated here and this are the results:

     

    Last login: Wed Oct 23 18:15:31 on console

    Toms-Laptop:~ tom$ sudo gpt -r -vv show disk0

    Password:

    gpt show: disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

    gpt show: disk0: Suspicious MBR at sector 0

    gpt show: disk0: Pri GPT at sector 1

    gpt show: disk0: Sec GPT at sector 976773167

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

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

      784539400  114110712        

      898650112   78123008      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      976773120         15        

      976773135         32         Sec GPT table

      976773167          1         Sec GPT header

    Toms-Laptop:~ tom$ sudo fdisk /dev/rdisk0

    Password:

    Disk: /dev/rdisk0          geometry: 60801/255/63 [976773168 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 -  782860224] HFS+       

    3: AB 1023 254  63 - 1023 254  63 [ 783269864 -    1269536] Darwin Boot

    4: 0C 1023 254  63 - 1023 254  63 [ 898650112 -   78123008] Win95 FAT32L

    Toms-Laptop:~ tom$

     

    This is how it looks from Disk Utility:

    Disk Utility.png

     

    You can see a section that looks unpartitioned... that's the amount I increased my partition from Windows and the same amount I decreased the Mac partition from Disk Utility a couple of months ago... however I used to access Windows by pressing "Atl" while booting.

     

    Please let me know your comments.

     

    Many thanks!

Previous 1 45 46 47 48 49 Next