Dear Melophage,
Your knowledge here is highly appreciated also from my side!
Then also myself run into the same problem and found this thread. I booted from an external HD. The problem shows up on a Mac Mini with fusion drive on 10.8.5. My problem looks pretty similar to the one from Nriz:
diskutil list
dyld: DYLD_ environment variables being ignored because main executable (/usr/sbin/diskutil) has __RESTRICT/__restrict section
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI 209.7 MB disk0s1
2: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF 598.5 GB disk0s2
3: Apple_HFS Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data BOOTCAMP 78.6 GB disk0s4
5: Linux Swap 4.3 GB disk0s5
6: EFI 1.1 GB disk0s6
7: Microsoft Basic Data 79.2 GB disk0s7
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk1
1: EFI 209.7 MB disk1s1
2: Apple_CoreStorage 121.0 GB disk1s2
3: Apple_Boot Boot OS X 134.2 MB disk1s3
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *7.8 GB disk2
1: Apple_partition_map 30.7 KB disk2s1
2: Apple_Driver_ATAPI 1.0 GB disk2s2
3: Apple_HFS Mac OS X Install DVD 6.7 GB disk2s3
/dev/disk3
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk3
1: EFI 209.7 MB disk3s1
2: Apple_HFS mac os x 79.0 GB disk3s2
3: Apple_HFS Mac OS X Install ESD 16.7 GB disk3s3
4: Apple_HFS Dacuda Setup 101.7 GB disk3s4
5: Apple_Boot Recovery HD 650.0 MB disk3s5
6: Apple_HFS Backup Partition 301.5 GB disk3s6
diskutil cs list
dyld: DYLD_ environment variables being ignored because main executable (/usr/sbin/diskutil) has __RESTRICT/__restrict section
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 19092C7B-CADF-4CCE-9E58-D615B58C9C62
=========================================================
Name: Macintosh HD
Status: Offline
Size: 120988852224 B (121.0 GB)
Free Space: -none-
|
+-< Physical Volume 39C5A6EC-91A3-46B0-AA14-E9920B9F73AB
| ----------------------------------------------------
| Index: 0
| Disk: disk1s2
| Status: Checking
| Size: 120988852224 B (121.0 GB)
|
+-< Physical Volume E129CF6F-B880-473D-ADB5-75F8583C6FF4
----------------------------------------------------
(No properties)
mount
/dev/disk3s4 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk0s3 on /Volumes/Recovery HD (hfs, local, journaled)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk0s4 on /Volumes/BOOTCAMP (ntfs, local, read-only, noowners)
/dev/disk3s6 on /Volumes/Backup Partition (hfs, local, nodev, nosuid, read-only, noowners)
/dev/disk2s3 on /Volumes/Mac OS X Install DVD (hfs, local, nodev, nosuid, read-only, noowners)
/dev/disk3s2 on /Volumes/mac os x (hfs, local, nodev, nosuid, journaled, noowners)
/dev/disk3s3 on /Volumes/Mac OS X Install ESD (hfs, local, nodev, nosuid, noowners
After all unmounting I got:
sudo gpt show disk0
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
gpt show: 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 1168981768 2 GPT part - FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
1169391408 1269536 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
1170660944 432
1170661376 153440256 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1324101632 8388608 5 GPT part - 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
1332490240 2097152 6 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
1334587392 154734592 7 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1489321984 464203151
1953525135 32 Sec GPT table
1953525167 1 Sec GPT header
So i did:
sudo gpt remove -b 409640 -s 1168981768 -t FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF disk0
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
gpt remove: disk0: Suspicious MBR at sector 0
disk0s2 removed
and finally I tried to add it again:
sudo gpt add -b 409640 -s 1168981768 -t 48465300-0000-11AA-AA11-00306543ECAC disk0
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
gpt add: disk0: Suspicious MBR at sector 0
gpt add: disk0: error: no space available on device
Disk0:
sudo gpt show disk0
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
gpt show: 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 1168981768 2 MBR part 218
1169391408 1269536 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
1170660944 432
1170661376 153440256 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1324101632 8388608 5 GPT part - 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
1332490240 2097152 6 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
1334587392 154734592 7 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1489321984 464203151
1953525135 32 Sec GPT table
1953525167 1 Sec GPT header
But now it complains that there is not enough space .. ?
Do you have any idea why there is suddenly not enough space anymore? Do you have a suggestion what I can try next? This would be great! Thank you already in advance!