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!
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)
sudo gpt -r -vv show disk0
sudo fdisk /dev/disk0
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]
#: 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
#: 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
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
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.
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
GPT fdisk (gdisk) version 0.8.9
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
BSD: not present
APM: not 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