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