Last active
December 26, 2015 15:38
-
-
Save nivertech/7173700 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://discussions.apple.com/thread/4144252 | |
# partition 5 - Ubuntu boot | |
# partition 6 - Ubuntu swap | |
# partition 7 - Ubuntu files ~ 100 GB | |
$ diskutil list | |
/dev/disk0 | |
#: TYPE NAME SIZE IDENTIFIER | |
0: GUID_partition_scheme *251.0 GB disk0 | |
1: EFI EFI 209.7 MB disk0s1 | |
2: Apple_HFS Macintosh HD 149.7 GB disk0s2 | |
3: Apple_Boot Recovery HD 650.0 MB disk0s3 | |
4: Apple_HFS Recovery HD 650.0 MB disk0s4 | |
5: Microsoft Basic Data 99.6 MB disk0s5 | |
6: Linux Swap 8.4 MB disk0s6 | |
7: Microsoft Basic Data 99.7 GB disk0s7 | |
# I installed fuse-ext2, but it doesn't work | |
$ diskutil info disk0s5 | |
Device Identifier: disk0s5 | |
Device Node: /dev/disk0s5 | |
Part of Whole: disk0 | |
Device / Media Name: Untitled 5 | |
Volume Name: | |
Escaped with Unicode: | |
Mounted: Yes | |
Mount Point: /Volumes/Untitled | |
Escaped with Unicode: /Volumes/Untitled | |
File System Personality: fuse-ext2 | |
Type (Bundle): fuse-ext2 | |
Name (User Visible): fuse-ext2 | |
Partition Type: Microsoft Basic Data | |
OS Can Be Installed: No | |
Media Type: Generic | |
Protocol: SATA | |
SMART Status: Verified | |
Total Size: 99.6 MB (99614720 Bytes) (exactly 194560 512-Byte-Units) | |
Volume Free Space: 5.9 MB (5869568 Bytes) (exactly 11464 512-Byte-Units) | |
Device Block Size: 512 Bytes | |
Read-Only Media: No | |
Read-Only Volume: Yes | |
Ejectable: No | |
Whole: No | |
Internal: Yes | |
Solid State: Yes | |
$ diskutil info disk0s6 | |
Device Identifier: disk0s6 | |
Device Node: /dev/disk0s6 | |
Part of Whole: disk0 | |
Device / Media Name: Untitled 6 | |
Volume Name: | |
Escaped with Unicode: | |
Mounted: No | |
File System Personality: Linux Swap | |
Type (Bundle): Linux Swap | |
Name (User Visible): Linux Swap | |
Partition Type: Linux Swap | |
OS Can Be Installed: No | |
Media Type: Generic | |
Protocol: SATA | |
SMART Status: Verified | |
Total Size: 8.4 MB (8388608 Bytes) (exactly 16384 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: Yes | |
$ diskutil info disk0s7 | |
Device Identifier: disk0s7 | |
Device Node: /dev/disk0s7 | |
Part of Whole: disk0 | |
Device / Media Name: Untitled 7 | |
Volume Name: | |
Escaped with Unicode: | |
Mounted: Yes | |
Mount Point: /Volumes/Untitled 1 | |
Escaped with Unicode: /Volumes/Untitled%FF%FE%20%001 | |
File System Personality: fuse-ext2 | |
Type (Bundle): fuse-ext2 | |
Name (User Visible): fuse-ext2 | |
Partition Type: Microsoft Basic Data | |
OS Can Be Installed: No | |
Media Type: Generic | |
Protocol: SATA | |
SMART Status: Verified | |
Total Size: 99.7 GB (99690217472 Bytes) (exactly 194707456 512-Byte-Units) | |
Volume Free Space: 32.1 GB (32109514752 Bytes) (exactly 62713896 512-Byte-Units) | |
Device Block Size: 512 Bytes | |
Read-Only Media: No | |
Read-Only Volume: Yes | |
Ejectable: No | |
Whole: No | |
Internal: Yes | |
Solid State: Yes | |
$ sudo gpt -r -vv show disk0 | |
Password: | |
gpt show: disk0: mediasize=251000193024; sectorsize=512; blocks=490234752 | |
gpt show: disk0: PMBR at sector 0 | |
gpt show: disk0: Pri GPT at sector 1 | |
gpt show: disk0: Sec GPT at sector 490234751 | |
start size index contents | |
0 1 PMBR | |
1 1 Pri GPT header | |
2 32 Pri GPT table | |
34 6 | |
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B | |
409640 292365448 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC | |
292775088 1269544 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC | |
294044632 1269536 4 GPT part - 48465300-0000-11AA-AA11-00306543ECAC | |
295314168 1288 | |
295315456 194560 5 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 | |
295510016 16384 6 GPT part - 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F | |
295526400 194707456 7 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 | |
490233856 863 | |
490234719 32 Sec GPT table | |
490234751 1 Sec GPT header | |
$ sudo fdisk /dev/disk0 | |
Password: | |
Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors] | |
Signature: 0xAA55 | |
Starting Ending | |
#: id cyl hd sec - cyl hd sec [ start - size] | |
------------------------------------------------------------------------ | |
1: EE 1023 254 63 - 1023 254 63 [ 1 - 490234751] <Unknown ID> | |
2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused | |
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused | |
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment