I was bored a few weeks ago and installed ubuntu on my mac pro. I forgot it will install grub so it totally messed my OSX boot partition I thought I fixed it buy using rEFIt. Until today when my osx disk would not boot at all. I tried repairing permissions, disk utility , drive genius, rEFIt you name it nothing worked. I had to reformat and reload from my backup. So what is odd now is my windows disk which is in bay 2 shows up in disk utility as the first disk. Do anyone know of a repair tool I can run on my OSX disk.
Terminal gpt -r show -l /dev/disk0 gives me this
gpt show: /dev/disk0: Suspicious MBR at sector 0
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - "EFI System Partition"
409640 624470624 2 GPT part - "Untitled"
624880264 262151
625142415 32 Sec GPT table
625142447 1 Sec GPT header
And rEFit partition inspector gives me this
*** Report for internal hard disk ***
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 624880263 Mac OS X HFS+
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 * 409640 624880263 af Mac OS X HFS+
MBR contents:
Boot Code: Unknown, but bootable
Partition at LBA 40:
Boot Code: None (Non-system disk message)
File System: FAT32
Listed in GPT as partition 1, type EFI System (FAT)
Partition at LBA 409640:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 2, type Mac OS X HFS+
Listed in MBR as partition 2, type af Mac OS X HFS+, active
Terminal gpt -r show -l /dev/disk0 gives me this
gpt show: /dev/disk0: Suspicious MBR at sector 0
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - "EFI System Partition"
409640 624470624 2 GPT part - "Untitled"
624880264 262151
625142415 32 Sec GPT table
625142447 1 Sec GPT header
And rEFit partition inspector gives me this
*** Report for internal hard disk ***
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 624880263 Mac OS X HFS+
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 * 409640 624880263 af Mac OS X HFS+
MBR contents:
Boot Code: Unknown, but bootable
Partition at LBA 40:
Boot Code: None (Non-system disk message)
File System: FAT32
Listed in GPT as partition 1, type EFI System (FAT)
Partition at LBA 409640:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 2, type Mac OS X HFS+
Listed in MBR as partition 2, type af Mac OS X HFS+, active