document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. ubuntu@ubuntu:~$ sudo su
  2. root@ubuntu:/home/ubuntu# cd /home/ubuntu/Downloads/
  3. root@ubuntu:/home/ubuntu/Downloads# ls
  4. gdisk_0.8.1-1build1_amd64.deb
  5. root@ubuntu:/home/ubuntu/Downloads# dpkg -i gdisk_0.8.1-1build1_amd64.deb
  6. Selecting previously unselected package gdisk.
  7. (Reading database ... 147516 files and directories currently installed.)
  8. Unpacking gdisk (from gdisk_0.8.1-1build1_amd64.deb) ...
  9. Setting up gdisk (0.8.1-1build1) ...
  10. Processing triggers for man-db ...
  11. root@ubuntu:/home/ubuntu/Downloads#
  12. root@ubuntu:/home/ubuntu/Downloads# gdisk
  13. GPT fdisk (gdisk) version 0.8.1
  14.  
  15. Type device filename, or press <Enter> to exit: /dev/sda
  16. Partition table scan:
  17.   MBR: protective
  18.   BSD: not present
  19.   APM: not present
  20.   GPT: present
  21.  
  22. Found valid GPT with protective MBR; using GPT.
  23.  
  24. Command (? for help): x
  25.  
  26. Expert command (? for help): r
  27.  
  28. Recovery/transformation command (? for help): ?
  29. b   use backup GPT header (rebuilding main)
  30. c   load backup partition table from disk (rebuilding main)
  31. d   use main GPT header (rebuilding backup)
  32. e   load main partition table from disk (rebuilding backup)
  33. f   load MBR and build fresh GPT from it
  34. g   convert GPT into MBR and exit
  35. h   make hybrid MBR
  36. i   show detailed information on a partition
  37. l   load partition data from a backup file
  38. m   return to main menu
  39. o   print protective MBR data
  40. p   print the partition table
  41. q   quit without saving changes
  42. t   transform BSD disklabel partition
  43. v   verify disk
  44. w   write table to disk and exit
  45. x   extra functionality (experts only)
  46. ?   print this menu
  47.  
  48. Recovery/transformation command (? for help): g
  49.  
  50. MBR command (? for help): ?
  51. a   toggle the active/boot flag
  52. c   recompute all CHS values
  53. l   set partition as logical
  54. o   omit partition
  55. p   print the MBR partition table
  56. q   quit without saving changes
  57. r   set partition as primary
  58. s   sort MBR partitions
  59. t   change partition type code
  60. w   write the MBR partition table to disk and exit
  61.  
  62. MBR command (? for help): w
  63.  
  64. Converted 4 partitions. Finalize and exit? (Y/N): y
  65. GPT data structures destroyed! You may now partition the disk using fdisk or
  66. other utilities.
  67. root@ubuntu:/home/ubuntu/Downloads#
');