Previous 1 54 55 56 57 58 Next 1,478 Replies Latest reply: Dec 19, 2014 1:42 PM by fegm Go to original post Branched to a new discussion.
  • Christopher Murphy Level 3 Level 3 (555 points)

    That's not good news. So maybe I'm wrong about how this all happened, it would be good to know the exact steps for each change to the disk from the beginning and see if I can reproduce it.

     

    In the meantime though, I think you can try booting the Windows installer and see if Startup Repair can locate and repair the Windows volume. If that fails, well it's maybe possible to still fix it but I think it'll take much longer so you're better off starting over and restoring user data from backup.

  • Juuso Ylamaki Level 1 Level 1 (0 points)

    That's what I expected..

     

    Exact steps after installing Mavericks from App Store are actually those in my last post. Before that I only tried to analyze the disk.


    I made decision to just reinstall Windows, it will be the easiest way at this point Thank you for your advices and effort for these problems anyway!

  • ticklemedaly Level 1 Level 1 (0 points)

    I hate to highjack this thread, but it seams to be the place to try and get an answer related to partition resizing. I appologize right now if I missed an answer within the last 56 pages.

     

     

    I decided to resize my drive in my Macbook Pro. I have a 1TB drive, partitioned with about 200Gb dedicated to Windows 8 Pro. After being frustrated for the last year with my dropbox not actively syncing between the two OS's, I decided to add a third partition last night dedicated directly to Dropbox, formated in exFat.

     

    Well, I successfully did so in that regard. However, today I decided to log into Windows (have an analysis software for grad school on there), and find that it was missing from my boot option screen.

     

    Long story short, I started doing some of the diag associated within this thread, and installed gdisk so I can have some control over the repair. Here are my results so far:

     

     

    I originally found nothing out of the ordinary, except my dropbox and windows partitions are labeled 0700 for the code associated with the drives. I believe this is the issue. However, I first attempted to reassign boot options within the MBR in order to see if it would reappear in my boot screen. Windows drive does, but once I try to boot it it hangs like it doesn't know what to do from there.

     

    Anyways, here are my current data info to assist in helping, if anyone can do so:

     

     

    Disk: /dev/rdisk0          geometry: 121601/255/63 [1953525168 sectors]
    Signature: 0xAA55
             Starting       Ending
     #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
    ------------------------------------------------------------------------
     1: EE    0   0   2 -   25 127  14 [         1 -     409639] <Unknown ID>
     2: AF   25 127  15 - 1023 254  63 [    409640 - 1259765624] HFS+        
     3: AB 1023 254  63 - 1023 254  63 [1260175264 -    1269536] Darwin Boot 
    *4: 07 1023 254  63 - 1023 254  63 [1261445120 -  299503616] HPFS/QNX/AUX
    Ryan-Dalys-MacBook-Pro:~ ticklemedaly$ sudo gpt -r -vv show /dev/rdisk0
    gpt show: /dev/rdisk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168
    gpt show: /dev/rdisk0: Suspicious MBR at sector 0
    gpt show: /dev/rdisk0: Pri GPT at sector 1
    gpt show: /dev/rdisk0: 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  1259765624      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
      1260175264     1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
      1261444800         320         
      1261445120   299503616      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
      1560948736   392574976      5  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
      1953523712        1423         
      1953525135          32         Sec GPT table
      1953525167           1         Sec GPT header
    Ryan-Dalys-MacBook-Pro:~ ticklemedaly$ sudo gdisk /dev/disk0
    GPT fdisk (gdisk) version 0.8.8
    
    Warning: Devices opened with shared lock will not have their
    partition table automatically reloaded!
    Partition table scan:
      MBR: hybrid
      BSD: not present
      APM: not present
      GPT: present
    
    Found valid GPT with hybrid MBR; using GPT.
    
    Command (? for help):  
    
    Command (? for help): 1
    b          back up GPT data to a file
    c          change a partition's name
    d          delete a partition
    i          show detailed information on a partition
    l          list known partition types
    n          add a new partition
    o          create a new empty GUID partition table (GPT)
    p          print the partition table
    q          quit without saving changes
    r          recovery and transformation options (experts only)
    s          sort partitions
    t          change a partition's type code
    v          verify disk
    w          write table to disk and exit
    x          extra functionality (experts only)
    ?          print this menu
    
    Command (? for help): p
    Disk /dev/disk0: 1953525168 sectors, 931.5 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 7282EC46-36B6-4BE3-9277-71A4C3FAA0FD
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 1953525134
    Partitions will be aligned on 8-sector boundaries
    Total free space is 1749 sectors (874.5 KiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1              40          409639   200.0 MiB   EF00  EFI System Partition
       2          409640      1260175263   600.7 GiB   AF00  Ryans Macbook Pro
       3      1260175264      1261444799   619.9 MiB   AB00  Recovery HD
       4      1261445120      1560948735   142.8 GiB   0700  Dropbox
       5      1560948736      1953523711   187.2 GiB   0700  BOOTCAMP
    
    Command (? for help): 
    
    

     

     

    As you notice at the bottom of the command prompt, it lists both my dropbox and bootcamp partitions as drive code 0700.... Is there a way to fix this without doing the worst case scenario and reformat/reinstall everything???

     

    Thanks in advance!

     

    Ryan

  • Christopher Murphy Level 3 Level 3 (555 points)

    Remake the hybrid MBR. Instead of adding 2 3 4, you should add 2 4 5 and make 5 bootable. Assuming this works, the future risks for this layout are that in Windows the Recovery HD partition will appear to be free space and could be overwritten; and if you do a major OS X upgrade it will obliterate the hybrid MBR and render Windows unbootable again until you recreate it.

     

    So at some point you'll want to dispense with this extra partition and put it on a separate disk.

     

    Also FWIW, exFAT isn't all that reliable because it isn't journaled and only has one FAT. It was designed for flash media for use with cameras where significant file manipulation isn't done.

     

    So long as your file sizes aren't larger than 4GB, use FAT32 (the MSDOS option) instead. The better solution is using NTFS, and either installing NTFS-3G from Macports (free but you have to compile it yourself) or getting one of the NTFS 3rd party support utilities from Paragon or Tuxera.

  • ticklemedaly Level 1 Level 1 (0 points)

    Thanks Christopher for the quick reply. I believe I did exactly what you mentioned, but it doesn't appear to work.

     

    I reformated the partition for dropbox, in fat32, just so I can possibly ease the work later to format NTFS in windows. Here are my results:

     

     

    Found valid GPT with hybrid MBR; using GPT.
    
    Command (? for help): r
    
    Recovery/transformation command (? for help): p
    Disk /dev/disk0: 1953525168 sectors, 931.5 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 7282EC46-36B6-4BE3-9277-71A4C3FAA0FD
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 1953525134
    Partitions will be aligned on 8-sector boundaries
    Total free space is 263893 sectors (128.9 MiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1              40          409639   200.0 MiB   EF00  EFI System Partition
       2          409640      1260175263   600.7 GiB   AF00  Ryans Macbook Pro
       3      1260175264      1261444799   619.9 MiB   AB00  Recovery HD
       4      1261445120      1560686591   142.7 GiB   0700  DOS_FAT_32_Untitled_2
       5      1560948736      1953523711   187.2 GiB   0700  BOOTCAMP
    
    

     

     

    And here are the next results:

     

     

    Recovery/transformation command (? for help): h
    
    WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
    just hit the Enter key at the below prompt and your MBR partition table will
    be untouched.
    
    Type from one to three GPT partition numbers, separated by spaces, to be
    added to the hybrid MBR, in sequence: q
    
    Recovery/transformation command (? for help): o
    
    Disk size is 1953525168 sectors (931.5 GiB)
    MBR disk identifier: 0xB8866183
    MBR partitions:
    
    Number  Boot  Start Sector   End Sector   Status      Code
       1                     1       409639   primary     0xEE
       2      *         409640   1260175263   primary     0xAF
       3            1261445120   1560686591   primary     0x83
       4      *     1560948736   1953523711   primary     0x07
    
    Recovery/transformation command (? for help): 
    
    

     

     

    This time around, no Windows drive boot option...

     

    Thanks again

     

    Ryan

  • Christopher Murphy Level 3 Level 3 (555 points)

    sudo gdisk /dev/rdisk0

    r

    h

    2 4 5

    y

    <return>

    n

    <return>

    n

    <return>

    y

    w

    y

  • ticklemedaly Level 1 Level 1 (0 points)

    I must add, if it wasn't assumed and implied from the beginnig, that I just resized the OSX partition in order to add a dedicated dropbox partition. It was after this when my windows partition no longer registered in the boot options menu. The windows partition was not disturbed, on my part, when resizing anything yesterday. I'm assuming it has something to do with the duplicate Hex code for the bootcamp and dropbox partitions...

  • Christopher Murphy Level 3 Level 3 (555 points)

    You can't have two bootable partitions yet your MBR has the #2 and #4 partition flagged. And your partition #3 is the wrong hex/type code of 83 instead of 07.

  • ticklemedaly Level 1 Level 1 (0 points)

    Place EFI GPT (OxEE) partition first in MBR. y

     

     

    Correct i assume?

  • Christopher Murphy Level 3 Level 3 (555 points)

    The original problem is that you added another partition, and that Disk Utility lets you do this. It's an unsupported configuration because MBRs can only contain 4 entries, and upon adding that drop box partition you created a 5th partition. When there are 5 or more partitions, Disk Utility removes the hybrid MBR and replaces it with a protective MBR and now Windows isn't bootable.

  • Christopher Murphy Level 3 Level 3 (555 points)

    Yes. I forgot that question.

  • Christopher Murphy Level 3 Level 3 (555 points)

    No I did answer that question, that's the y under 2 4 5. So you're not paying attention. Haha.

  • ticklemedaly Level 1 Level 1 (0 points)

    Haha, thats right.

     

    It works so far. I'm in Windows now and will attempt to reformat the partition in NTFS.

     

    Thanks Christopher!!!

     


    Edit: BTW, the hex code change was as a result of a trial/error from another forum.

  • Christopher Murphy Level 3 Level 3 (555 points)

    NTFS is read-only in OS X. Supposedly there is a way to compel it to read-write, I haven't tested how reliable it is.

  • ticklemedaly Level 1 Level 1 (0 points)

    Yeah I have ran into that in the past. I'm going to give the Tuxera NTFS-3G a try and find out.

Previous 1 54 55 56 57 58 Next