Advertisement
Guest User

Untitled

a guest
Jan 27th, 2014
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. ubuntu@ubuntu:~$ apt-get install gdisk
  2. E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
  3. E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
  4. ubuntu@ubuntu:~$ sudo apt-get install gdisk
  5. Reading package lists... Done
  6. Building dependency tree
  7. Reading state information... Done
  8. The following NEW packages will be installed:
  9. gdisk
  10. 0 upgraded, 1 newly installed, 0 to remove and 267 not upgraded.
  11. Need to get 336 kB of archives.
  12. After this operation, 760 kB of additional disk space will be used.
  13. Get:1 http://archive.ubuntu.com/ubuntu/ saucy/main gdisk amd64 0.8.7-1 [336 kB]
  14. Fetched 336 kB in 1s (235 kB/s)
  15. Selecting previously unselected package gdisk.
  16. (Reading database ... 169077 files and directories currently installed.)
  17. Unpacking gdisk (from .../gdisk_0.8.7-1_amd64.deb) ...
  18. Processing triggers for doc-base ...
  19. Processing 1 added doc-base file...
  20. Processing triggers for man-db ...
  21. Setting up gdisk (0.8.7-1) ...
  22. ubuntu@ubuntu:~$ gdisk
  23. GPT fdisk (gdisk) version 0.8.7
  24.  
  25. Type device filename, or press <Enter> to exit:
  26. ubuntu@ubuntu:~$ sudo gdisk -l /dev/sda
  27. GPT fdisk (gdisk) version 0.8.7
  28.  
  29. Partition table scan:
  30. MBR: protective
  31. BSD: not present
  32. APM: not present
  33. GPT: present
  34.  
  35. Found valid GPT with protective MBR; using GPT.
  36. Disk /dev/sda: 488397168 sectors, 232.9 GiB
  37. Logical sector size: 512 bytes
  38. Disk identifier (GUID): 33CCEE22-0E7F-4610-8BDF-8EF1DB8C40FA
  39. Partition table holds up to 128 entries
  40. First usable sector is 34, last usable sector is 488397134
  41. Partitions will be aligned on 2048-sector boundaries
  42. Total free space is 2349 sectors (1.1 MiB)
  43.  
  44. Number Start (sector) End (sector) Size Code Name
  45. 1 2048 999423 487.0 MiB EF00
  46. 2 999424 471980031 224.6 GiB 8300
  47. 3 471980032 488396799 7.8 GiB 8200
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement