SHARE
TWEET

Untitled

a guest Sep 19th, 2010 2,032 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Last login: Sun Sep 19 19:02:06 on console
  2. FLARNNB:~ flarn$ sudo diskutil resizeVolume /dev/disk0s2 limits
  3. Password:
  4. For device disk0s2 Macintosh HD:
  5.         Current size:  236.2 GB (236225937920 Bytes)
  6.         Minimum size:  164.6 GB (164617609216 Bytes)
  7.         Maximum size:  268.3 GB (268301916672 Bytes)
  8. FLARNNB:~ flarn$ sudo diskutil resizeVolume /dev/disk0s2 268.3GB
  9. Started partitioning on disk0s2 Macintosh HD
  10. Verifying disk
  11. Resizing
  12. Finished partitioning on disk0s2 Macintosh HD
  13. /dev/disk0
  14.    #:                       TYPE NAME                    SIZE       IDENTIFIER
  15.    0:      GUID_partition_scheme                        *500.1 GB   disk0
  16.    1:                        EFI                         209.7 MB   disk0s1
  17.    2:                  Apple_HFS Macintosh HD            268.3 GB   disk0s2
  18.    3:       Microsoft Basic Data Windows                 231.5 GB   disk0s3
  19. FLARNNB:~ flarn$ fdisk /dev/disk0
  20. fdisk: /dev/disk0: Permission denied
  21. FLARNNB:~ flarn$ sudo fdisk /dev/disk0
  22. Password:
  23. Disk: /dev/disk0        geometry: 60801/255/63 [976773168 sectors]
  24. Signature: 0xAA55
  25.          Starting       Ending
  26.  #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
  27. ------------------------------------------------------------------------
  28.  1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>
  29.  2: AF 1023 254  63 - 1023 254  63 [    409640 -  524023432] HFS+        
  30. *3: 07 1023 254  63 - 1023 254  63 [ 524698965 -  452069100] HPFS/QNX/AUX
  31.  4: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
  32. FLARNNB:~ flarn$ df -h
  33. Filesystem      Size   Used  Avail Capacity  Mounted on
  34. /dev/disk0s2   250Gi  143Gi  106Gi    58%    /
  35. devfs          117Ki  117Ki    0Bi   100%    /dev
  36. map -hosts       0Bi    0Bi    0Bi   100%    /net
  37. map auto_home    0Bi    0Bi    0Bi   100%    /home
  38. /dev/disk0s3   216Gi  184Gi   32Gi    86%    /Volumes/Windows
RAW Paste Data
Top