Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ubuntu:~$ sudo su
- root@ubuntu:/home/ubuntu# cd /home/ubuntu/Downloads/
- root@ubuntu:/home/ubuntu/Downloads# ls
- gdisk_0.8.1-1build1_amd64.deb
- root@ubuntu:/home/ubuntu/Downloads# dpkg -i gdisk_0.8.1-1build1_amd64.deb
- Selecting previously unselected package gdisk.
- (Reading database ... 147516 files and directories currently installed.)
- Unpacking gdisk (from gdisk_0.8.1-1build1_amd64.deb) ...
- Setting up gdisk (0.8.1-1build1) ...
- Processing triggers for man-db ...
- root@ubuntu:/home/ubuntu/Downloads#
- root@ubuntu:/home/ubuntu/Downloads# gdisk
- GPT fdisk (gdisk) version 0.8.1
- Type device filename, or press <Enter> to exit: /dev/sda
- Partition table scan:
- MBR: protective
- BSD: not present
- APM: not present
- GPT: present
- Found valid GPT with protective MBR; using GPT.
- Command (? for help): x
- Expert command (? for help): r
- Recovery/transformation command (? for help): ?
- b use backup GPT header (rebuilding main)
- c load backup partition table from disk (rebuilding main)
- d use main GPT header (rebuilding backup)
- e load main partition table from disk (rebuilding backup)
- f load MBR and build fresh GPT from it
- g convert GPT into MBR and exit
- h make hybrid MBR
- i show detailed information on a partition
- l load partition data from a backup file
- m return to main menu
- o print protective MBR data
- p print the partition table
- q quit without saving changes
- t transform BSD disklabel partition
- v verify disk
- w write table to disk and exit
- x extra functionality (experts only)
- ? print this menu
- Recovery/transformation command (? for help): g
- MBR command (? for help): ?
- a toggle the active/boot flag
- c recompute all CHS values
- l set partition as logical
- o omit partition
- p print the MBR partition table
- q quit without saving changes
- r set partition as primary
- s sort MBR partitions
- t change partition type code
- w write the MBR partition table to disk and exit
- MBR command (? for help): w
- Converted 4 partitions. Finalize and exit? (Y/N): y
- GPT data structures destroyed! You may now partition the disk using fdisk or
- other utilities.
- root@ubuntu:/home/ubuntu/Downloads#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement