I had Mac OS X 10.8, Fedora and Windows XP triple-boot in refit. I upgraded to OS X Yosemite. The refit screen disappeared.
I used command
cd /efi/refit
./enable.sh
Then refit screen comes but Linux and Windows partitions can not start. I got an error:
gnu grub
minimal bash-like editing is supported. For the list word TAB lists possible command completitions.......
Here is my partition inspector report:
* Report for internal hard disk *
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 139965663 Mac OS X HFS+
3 139965664 141235199 Mac OS X Boot
4 141235200 225730535 Basic Data
5 226904064 312580095 Basic Data
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 409640 139965663 af Mac OS X HFS+
3 139965664 141235199 ab Mac OS X Boot
4 * 141235200 225730535 83 Linux
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+
Partition at LBA 139965664:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 3, type Mac OS X Boot
Listed in MBR as partition 3, type ab Mac OS X Boot
Partition at LBA 141235200:
Boot Code: GRUB
File System: ext3
Listed in GPT as partition 4, type Basic Data
Listed in MBR as partition 4, type 83 Linux, active
Partition at LBA 226904064:
Boot Code: Windows NTLDR
File System: NTFS
Listed in GPT as partition 5, type Basic Data
How do I fix the triple-boot environment?
Edit 2: Is the system works if I reinstall linux and windows? Here the result of the command
faruk-ceviks-macbook-pro:~ fcevik$ sudo gpt -r show /dev/disk0
Password:
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 - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 139556024 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
139965664 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
141235200 84495336 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
225730536 1173528
226904064 85676032 5 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
312580096 1679
312581775 32 Sec GPT table
312581807 1 Sec GPT header
Answer to edit1:
faruk-ceviks-macbook-pro:~ fcevik$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *160.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 71.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 43.3 GB disk0s4
5: Microsoft Basic Data BOOTCAMP 43.9 GB disk0s5
Have you every booted the computer by holding down the alt(option) key? Yes I have. I saw mac and bootcamp options but bootcamp did not worked.
Do you have a flash drive 1 GB or larger than you can erase and reuse? To edit the partition tables you will need to boot from a flash drive. To make the flash drive, you will need to download the OS X Recovery Disk Assistant. This application works with Lion through Yosemite. An alternative to making the flash drive would be to delete Windows and Linux. I assume you do not want to erase either one.
Yes I have an external hard drive to use as you described. I am trying to postpone my personal staff to apply solutions. Otherwise I might answer in 2 days. I can erase linux and reinstall. Also there is mac's disk utility. Shall I try to repair partitions?
Answer to @njboot comment.
Last login: Sun Mar 1 09:46:21 on ttys000
faruk-ceviks-macbook-pro:~ fcevik$ for i in /dev/di*; do diskutil information "$i";done
Device Identifier: disk0
Device Node: /dev/disk0
Part of Whole: disk0
Device / Media Name: Hitachi HTS545016B9SA02 Media
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Content (IOContent): GUID_partition_scheme
OS Can Be Installed: No
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Total Size: 160.0 GB (160041885696 Bytes) (exactly 312581808 512-Byte-Units)
Volume Free Space: Not applicable (no file system)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Ejectable: No
Whole: Yes
Internal: Yes
Solid State: No
OS 9 Drivers: No
Low Level Format: Not supported
Device Identifier: disk0s1
Device Node: /dev/disk0s1
Part of Whole: disk0
Device / Media Name: EFI system partition
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Partition Type: EFI
OS Can Be Installed: No
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: BDC1974F-6B8C-3DAE-9DB2-3AA3C17BF506
Disk / Partition UUID: 00007785-4AE3-0000-9606-0000066A0000
Total Size: 209.7 MB (209715200 Bytes) (exactly 409600 512-Byte-Units)
Volume Free Space: Not applicable (no file system)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Ejectable: No
Whole: No
Internal: Yes
Solid State: No
Device Identifier: disk0s2
Device Node: /dev/disk0s2
Part of Whole: disk0
Device / Media Name: Customer
Volume Name: Macintosh HD
Mounted: Yes
Mount Point: /
File System Personality: Journaled HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended (Journaled)
Journal: Journal size 16384 KB at offset 0x10302000
Owners: Enabled
Partition Type: Apple_HFS
OS Can Be Installed: Yes
Recovery Disk: disk0s3
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: FC885E2E-F4CD-30CE-86DF-E463E901B0BA
Disk / Partition UUID: 0000144C-0F27-0000-460B-0000C9030000
Total Size: 71.5 GB (71452684288 Bytes) (exactly 139556024 512-Byte-Units)
Volume Free Space: 14.5 GB (14457184256 Bytes) (exactly 28236688 512-Byte-Units)
Device Block Size: 512 Bytes
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Ejectable: No
Whole: No
Internal: Yes
Solid State: No
Device Identifier: disk0s3
Device Node: /dev/disk0s3
Part of Whole: disk0
Device / Media Name: Recovery HD
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Partition Type: Apple_Boot
OS Can Be Installed: No
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: 22AD4ADE-11BC-3F1F-AC0E-F1BAE42F4A28
Disk / Partition UUID: 32DD7B00-568C-47BA-B316-E80F81042B29
Total Size: 650.0 MB (650002432 Bytes) (exactly 1269536 512-Byte-Units)
Volume Free Space: Not applicable (no file system)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Ejectable: No
Whole: No
Internal: Yes
Solid State: No
Device Identifier: disk0s4
Device Node: /dev/disk0s4
Part of Whole: disk0
Device / Media Name: DOS_FAT_32_Untitled_2
Volume Name:
Mounted: No
File System Personality: MS-DOS
Type (Bundle): msdos
Name (User Visible): MS-DOS (FAT)
Partition Type: Microsoft Basic Data
OS Can Be Installed: No
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Disk / Partition UUID: F254D5F1-B27C-4B5A-AA0E-90CE1833FFE1
Total Size: 43.3 GB (43261612032 Bytes) (exactly 84495336 512-Byte-Units)
Volume Free Space: 0 B (0 Bytes) (exactly 0 512-Byte-Units)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (not mounted)
Ejectable: No
Whole: No
Internal: Yes
Solid State: No
Device Identifier: disk0s5
Device Node: /dev/disk0s5
Part of Whole: disk0
Device / Media Name: Untitled
Volume Name: BOOTCAMP
Mounted: Yes
Mount Point: /Volumes/BOOTCAMP
File System Personality: NTFS
Type (Bundle): ntfs
Name (User Visible): Windows NT File System (NTFS)
Partition Type: Microsoft Basic Data
OS Can Be Installed: No
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: EB783310-0D68-48FD-AD10-AAA6AA30DB98
Disk / Partition UUID: 467C02B0-CDD2-4EE7-B16D-1D2C89BBF6D3
Total Size: 43.9 GB (43866128384 Bytes) (exactly 85676032 512-Byte-Units)
Volume Free Space: 14.9 GB (14926794752 Bytes) (exactly 29153896 512-Byte-Units)
Device Block Size: 512 Bytes
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: Yes
Ejectable: No
Whole: No
Internal: Yes
Solid State: No