daily pastebin goal
21%
SHARE
TWEET

Untitled

a guest Apr 16th, 2017 29 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ubuntu@ubuntu:~$ sudo gdisk
  2. GPT fdisk (gdisk) version 1.0.1
  3.  
  4. Type device filename, or press <Enter> to exit: /dev/sda
  5. Caution: invalid main GPT header, but valid backup; regenerating main header
  6. from backup!
  7.  
  8. Caution! After loading partitions, the CRC doesn't check out!
  9. Warning! Main partition table CRC mismatch! Loaded backup partition table
  10. instead of main partition table!
  11.  
  12. Warning! One or more CRCs don't match. You should repair the disk!
  13.  
  14. Partition table scan:
  15.   MBR: MBR only
  16.   BSD: not present
  17.   APM: not present
  18.   GPT: damaged
  19.  
  20. Found valid MBR and corrupt GPT. Which do you want to use? (Using the
  21. GPT MAY permit recovery of GPT data.)
  22.  1 - MBR
  23.  2 - GPT
  24.  3 - Create blank GPT
  25.  
  26. Your answer: 2
  27.  
  28. Command (? for help): ?
  29. b   back up GPT data to a file
  30. c   change a partition's name
  31. d   delete a partition
  32. i   show detailed information on a partition
  33. l   list known partition types
  34. n   add a new partition
  35. o   create a new empty GUID partition table (GPT)
  36. p   print the partition table
  37. q   quit without saving changes
  38. r   recovery and transformation options (experts only)
  39. s   sort partitions
  40. t   change a partition's type code
  41. v   verify disk
  42. w   write table to disk and exit
  43. x   extra functionality (experts only)
  44. ?   print this menu
  45.  
  46. Command (? for help): r
  47.  
  48. Recovery/transformation command (? for help):
  49.  
  50. Recovery/transformation command (? for help): ?
  51. b   use backup GPT header (rebuilding main)
  52. c   load backup partition table from disk (rebuilding main)
  53. d   use main GPT header (rebuilding backup)
  54. e   load main partition table from disk (rebuilding backup)
  55. f   load MBR and build fresh GPT from it
  56. g   convert GPT into MBR and exit
  57. h   make hybrid MBR
  58. i   show detailed information on a partition
  59. l   load partition data from a backup file
  60. m   return to main menu
  61. o   print protective MBR data
  62. p   print the partition table
  63. q   quit without saving changes
  64. t   transform BSD disklabel partition
  65. v   verify disk
  66. w   write table to disk and exit
  67. x   extra functionality (experts only)
  68. ?   print this menu
  69.  
  70. Recovery/transformation command (? for help): i
  71. Partition number (1-7): 1
  72. Partition GUID code: DE94BBA4-06D1-4D40-A16A-BFD50179D6AC (Windows RE)
  73. Partition unique GUID: 99160A66-DAF9-412B-9695-B7B0F2C99E25
  74. First sector: 2048 (at 1024.0 KiB)
  75. Last sector: 923647 (at 451.0 MiB)
  76. Partition size: 921600 sectors (450.0 MiB)
  77. Attribute flags: 0000000000000001
  78. Partition name: 'Basic data partition'
  79.  
  80. Recovery/transformation command (? for help): i      
  81. Partition number (1-7): 2
  82. Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
  83. Partition unique GUID: 7EB25282-0C0E-47DE-B6BD-09526FC4E64F
  84. First sector: 923648 (at 451.0 MiB)
  85. Last sector: 1128447 (at 551.0 MiB)
  86. Partition size: 204800 sectors (100.0 MiB)
  87. Attribute flags: 0000000000000000
  88. Partition name: 'EFI System Partition'
  89.  
  90. Recovery/transformation command (? for help): i
  91. Partition number (1-7): 3
  92. Partition GUID code: E3C9E316-0B5C-4DB8-817D-F92DF00215AE (Microsoft reserved)
  93. Partition unique GUID: 282F07A8-A3C2-42C5-96DA-2D33977EA1EC
  94. First sector: 1128448 (at 551.0 MiB)
  95. Last sector: 1161215 (at 567.0 MiB)
  96. Partition size: 32768 sectors (16.0 MiB)
  97. Attribute flags: 0000000000000000
  98. Partition name: 'Microsoft reserved partition'
  99.  
  100. Recovery/transformation command (? for help): i
  101. Partition number (1-7): 4
  102. Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
  103. Partition unique GUID: AD90BBF1-767D-496A-94A9-23B009AA62AB
  104. First sector: 1161216 (at 567.0 MiB)
  105. Last sector: 316270591 (at 150.8 GiB)
  106. Partition size: 315109376 sectors (150.3 GiB)
  107. Attribute flags: 0000000000000000
  108. Partition name: 'Basic data partition'
  109.  
  110. Recovery/transformation command (? for help): i
  111. Partition number (1-7): 5
  112. Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
  113. Partition unique GUID: 6FD03383-C03E-42B4-BF33-801A58309FF6
  114. First sector: 316270592 (at 150.8 GiB)
  115. Last sector: 1259988991 (at 600.8 GiB)
  116. Partition size: 943718400 sectors (450.0 GiB)
  117. Attribute flags: 0000000000000000
  118. Partition name: 'Basic data partition'
  119.  
  120. Recovery/transformation command (? for help): i
  121. Partition number (1-7): 6
  122. Partition GUID code: 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F (Linux swap)
  123. Partition unique GUID: CE2E4552-5C55-4FEF-B249-1750F1841CC3
  124. First sector: 1259988992 (at 600.8 GiB)
  125. Last sector: 1276766207 (at 608.8 GiB)
  126. Partition size: 16777216 sectors (8.0 GiB)
  127. Attribute flags: 0000000000000000
  128. Partition name: ''
  129.  
  130. Recovery/transformation command (? for help): i
  131. Partition number (1-7): 7
  132. Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
  133. Partition unique GUID: 18561608-6CB7-47A0-A74A-60E5EAC95DAE
  134. First sector: 1276766208 (at 608.8 GiB)
  135. Last sector: 1402595327 (at 668.8 GiB)
  136. Partition size: 125829120 sectors (60.0 GiB)
  137. Attribute flags: 0000000000000000
  138. Partition name: ''
  139.  
  140. Recovery/transformation command (? for help): p                
  141. Disk /dev/sda: 1465149168 sectors, 698.6 GiB
  142. Logical sector size: 512 bytes
  143. Disk identifier (GUID): 83CD5216-F09D-4A3F-91B3-F5E68FBF4094
  144. Partition table holds up to 128 entries
  145. First usable sector is 34, last usable sector is 1465149134
  146. Partitions will be aligned on 2048-sector boundaries
  147. Total free space is 62555821 sectors (29.8 GiB)
  148.  
  149. Number  Start (sector)    End (sector)  Size       Code  Name
  150.    1            2048          923647   450.0 MiB   2700  Basic data partition
  151.    2          923648         1128447   100.0 MiB   EF00  EFI System Partition
  152.    3         1128448         1161215   16.0 MiB    0C01  Microsoft reserved ...
  153.    4         1161216       316270591   150.3 GiB   0700  Basic data partition
  154.    5       316270592      1259988991   450.0 GiB   0700  Basic data partition
  155.    6      1259988992      1276766207   8.0 GiB     8200  
  156.    7      1276766208      1402595327   60.0 GiB    0700  
  157.  
  158. Recovery/transformation command (? for help): ?
  159. b   use backup GPT header (rebuilding main)
  160. c   load backup partition table from disk (rebuilding main)
  161. d   use main GPT header (rebuilding backup)
  162. e   load main partition table from disk (rebuilding backup)
  163. f   load MBR and build fresh GPT from it
  164. g   convert GPT into MBR and exit
  165. h   make hybrid MBR
  166. i   show detailed information on a partition
  167. l   load partition data from a backup file
  168. m   return to main menu
  169. o   print protective MBR data
  170. p   print the partition table
  171. q   quit without saving changes
  172. t   transform BSD disklabel partition
  173. v   verify disk
  174. w   write table to disk and exit
  175. x   extra functionality (experts only)
  176. ?   print this menu
  177.  
  178. Recovery/transformation command (? for help):
RAW Paste Data
Top