Previous 1 68 69 70 71 72 Next 1,478 Replies Latest reply: Dec 19, 2014 1:42 PM by fegm Go to original post Branched to a new discussion.
  • The Rooks Family Level 1 Level 1 (0 points)

    Christopher,

     

    Thank you very much.  You have saved my data!  Testdisk worked like a charm and provided me on the past to recovery and being able to boot into my Windows Bootcamp partition.  I truly appreciate everything you have done for us all.

     

    God Bless You,

     

    Laurence

  • staycoldb Level 1 Level 1 (0 points)

    Is that Christopher guy still around here helping people? I just got my macbook pro and have spent the last 4 days configured bootcamp to the way I wanted Windows, I went and tried to extend the bootcamp partition with a windows tool like an idiot.

     

    If anyone around here can walk me through repairing the MBR via terminal I will seriously paypal you some money.

     

    I'm not bad with windows command line but I am a total noob to OSX. Please Help!

  • Loner T Level 5 Level 5 (7,275 points)

    Do you want to post a new thread with a reference here and the output of the following commands in the new thread?

     

    The assumption is that your OSX and Bootcamp are on the same disk (/dev/disk0). Please use OS X Terminal (found in Applications -> Utilities)

     

    diskutil list

    sudo gpt -r -vv show disk0

    sudo fdisk /dev/disk0

  • staycoldb Level 1 Level 1 (0 points)

    gpt show: disk0: mediasize=320072933376; sectorsize=512; blocks=625142448
    gpt show: disk0: Suspicious MBR at sector 0
    gpt show: disk0: Pri GPT at sector 1
    gpt show: error: bogus map
    gpt show: unable to open device 'disk0': No such file or directory

     

    Disk: /dev/rdisk0    geometry: 38913/255/63 [625142448 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 -   79596264] HFS+       
    3: AB 1023 254  63 - 1023 254  63 [  80005904 -    1269536] Darwin Boot
    *4: 07 1023 254  63 - 1023 254  63 [ 204806144 -  420335616] HPFS/QNX/AUX

     

    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *320.1 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            40.8 GB    disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
       4:       Microsoft Basic Data BOOTCAMP                278.5 GB   disk0s4

  • Loner T Level 5 Level 5 (7,275 points)

    For the GPT command, please try

     

    sudo gpt -r -vv show /dev/disk0

  • staycoldb Level 1 Level 1 (0 points)

    Ok, this is precisely the output I got:

     

    gpt show: /dev/disk0: mediasize=320072933376; sectorsize=512; blocks=625142448
    gpt show: /dev/disk0: Suspicious MBR at sector 0
    gpt show: /dev/disk0: Pri GPT at sector 1
    gpt show: error: bogus map
    gpt show: unable to open device '/dev/disk0': Undefined error: 0

  • Loner T Level 5 Level 5 (7,275 points)

    It is strange to see such an error which makes me suspicious of the GPT. Please try

     

    sudo gpt -r -vv show /dev/rdisk0

  • staycoldb Level 1 Level 1 (0 points)

    It's more or less returning the same result:

     

    gpt show: /dev/rdisk0: mediasize=320072933376; sectorsize=512; blocks=625142448

    gpt show: /dev/rdisk0: Suspicious MBR at sector 0

    gpt show: /dev/rdisk0: Pri GPT at sector 1

    gpt show: error: bogus map

    gpt show: unable to open device '/dev/rdisk0': Undefined error: 0

  • staycoldb Level 1 Level 1 (0 points)

    I can install team viewer if you wanna remote in and run some commands to see the status of the MBR and parttion table. I don't mind. Just want this fixed. Seriously dreading the thought of having to wipe the hdd and start over.

  • Loner T Level 5 Level 5 (7,275 points)

    There is another utility called gdisk (http://sourceforge.net/projects/gptfdisk/?source=dlp) which may be worth looking at, otherwise testdisk is one of last resort.

  • Loner T Level 5 Level 5 (7,275 points)

    staycoldb wrote:

     

    I can install team viewer if you wanna remote in and run some commands to see the status of the MBR and parttion table. I don't mind. Just want this fixed. Seriously dreading the thought of having to wipe the hdd and start over.

    Please do not invite a total stranger on the internet (who you have known for less than 10 minutes) to remote into your system. Just for your safety and mine as well.

  • staycoldb Level 1 Level 1 (0 points)

    LOL, ya I know. But I know enough to know if they're doing something suspect. Let me check out these tools and I will post back...

  • Loner T Level 5 Level 5 (7,275 points)

    Once you install the utility, here is an example from my system. Please try it with both /dev/disk0 and /dev/rdisk0.

     

    sudo gdisk /dev/disk0

    Password:

    GPT fdisk (gdisk) version 0.8.9

     

    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): ?

    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: 1954210120 sectors, 931.8 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 6ED0C429-00D1-4759-B50E-04B6FB80D0E3

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 1954210086

    Partitions will be aligned on 8-sector boundaries

    Total free space is 1293 sectors (646.5 KiB)

     

    Number  Start (sector)    End (sector)  Size       Code  Name

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640      1452940543   692.6 GiB   AF00  Customer

       3      1452940544      1454210079   619.9 MiB   AB00  Recovery HD

       4      1454211072      1954209791   238.4 GiB   0700  BOOTCAMP

     

    Command (? for help): q

  • Number88 Level 3 Level 3 (750 points)

    I think the MBR is good but the GPT doesn't look well.

    There's an option in gdisk to load the MBR and build a fresh GPT from it - sadly I've never used it and don't know whether that would help you.

    It could be an option.

  • staycoldb Level 1 Level 1 (0 points)

    Okay T Loner, is gdisk an alternative cmd line tool to Terminal? I have it installed, but what is the default install location for it? Like I said, I am so new to OSX so forgive my ignorance.

Previous 1 68 69 70 71 72 Next