The error:
http://imgur.com/ZghG6
The script:
Macintosh-58b035aa7ab6:~ $ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 999.9 GB disk0s2
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI 209.7 MB disk1s1
2: Apple_HFS 999.9 GB disk1s2
Macintosh-58b035aa7ab6:~ $ diskutil info /dev/disk0s2
Device Identifier: disk0s2
Device Node: /dev/disk0s2
Part Of Whole: disk0
Device / Media Name: Macintosh HD
Volume Name: Macintosh HD
Escaped with Unicode: Macintosh%FF%FE%20%00HD
Mounted: Yes
Mount Point: /
Escaped with Unicode: /
File System: Journaled HFS+
Type: hfs
Name: Mac OS Extended (Journaled)
Journal: Journal size 81920 KB at offset 0xaa8b000
Owners: Enabled
Partition Type: Apple_HFS
Bootable: Is bootable
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: AA1E9702-1654-3665-A484-17206F204DF0
Total Size: 999.9 GB (999860912128 Bytes) (exactly 1952853344 512-Byte-Blocks)
Volume Free Space: 671.7 GB (671721054208 Bytes) (exactly 1311955184 512-Byte-Blocks)
Read-Only Media: No
Read-Only Volume: No
Ejectable: No
Whole: No
Internal: Yes
Macintosh-58b035aa7ab6:~ $ diskutil resizevolume /dev/disk0s2 limits
For device disk0s2 Macintosh HD:
Current size: 999.9 GB (999860912128 Bytes)
Minimum size: 338.7 GB (338726162432 Bytes)
Maximum size: 999.9 GB (999860912128 Bytes)
also I do want to run windows to run games. I cannot do this in VMware. I don't know if it is my computer or the software, but it is way too laggy to play games with.