Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.59 KB | None | 0 0
  1. [root@localhost ~]# fdisk /dev/sdb
  2. Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
  3. Building a new DOS disklabel. Changes will remain in memory only,
  4. until you decide to write them. After that, of course, the previous
  5. content won't be recoverable.
  6.  
  7.  
  8. The number of cylinders for this disk is set to 1044.
  9. There is nothing wrong with that, but this is larger than 1024,
  10. and could in certain setups cause problems with:
  11. 1) software that runs at boot time (e.g., old versions of LILO)
  12. 2) booting and partitioning software from other OSs
  13. (e.g., DOS FDISK, OS/2 FDISK)
  14. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  15.  
  16. Command (m for help): p
  17.  
  18. Disk /dev/sdb: 8589 MB, 8589934592 bytes
  19. 255 heads, 63 sectors/track, 1044 cylinders
  20. Units = cylinders of 16065 * 512 = 8225280 bytes
  21.  
  22. Device Boot Start End Blocks Id System
  23.  
  24. Command (m for help): m
  25. Command action
  26. a toggle a bootable flag
  27. b edit bsd disklabel
  28. c toggle the dos compatibility flag
  29. d delete a partition
  30. l list known partition types
  31. m print this menu
  32. n add a new partition
  33. o create a new empty DOS partition table
  34. p print the partition table
  35. q quit without saving changes
  36. s create a new empty Sun disklabel
  37. t change a partition's system id
  38. u change display/entry units
  39. v verify the partition table
  40. w write table to disk and exit
  41. x extra functionality (experts only)
  42.  
  43. Command (m for help): n
  44. Command action
  45. e extended
  46. p primary partition (1-4)
  47. p
  48. Partition number (1-4): 1
  49. First cylinder (1-1044, default 1):
  50. Using default value 1
  51. Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044): +150
  52.  
  53. Command (m for help): t
  54. Selected partition 1
  55. Hex code (type L to list codes): fd
  56. Changed system type of partition 1 to fd (Linux raid autodetect)
  57.  
  58. Command (m for help): p
  59.  
  60. Disk /dev/sdb: 8589 MB, 8589934592 bytes
  61. 255 heads, 63 sectors/track, 1044 cylinders
  62. Units = cylinders of 16065 * 512 = 8225280 bytes
  63.  
  64. Device Boot Start End Blocks Id System
  65. /dev/sdb1 1 151 1212876 fd Linux raid autodetect
  66.  
  67. Command (m for help): n
  68. Command action
  69. e extended
  70. p primary partition (1-4)
  71. p
  72. Partition number (1-4): 2
  73. First cylinder (152-1044, default 152):
  74. Using default value 152
  75. Last cylinder or +size or +sizeM or +sizeK (152-1044, default 1044): +150
  76.  
  77. Command (m for help): t
  78. Partition number (1-4): 2
  79. Hex code (type L to list codes): fd
  80. Changed system type of partition 2 to fd (Linux raid autodetect)
  81.  
  82. Command (m for help): n
  83. Command action
  84. e extended
  85. p primary partition (1-4)
  86. p
  87. Partition number (1-4): 3
  88. First cylinder (303-1044, default 303):
  89. Using default value 303
  90. Last cylinder or +size or +sizeM or +sizeK (303-1044, default 1044): +150
  91.  
  92. Command (m for help): t
  93. Partition number (1-4): 3
  94. Hex code (type L to list codes): fd
  95. Changed system type of partition 3 to fd (Linux raid autodetect)
  96.  
  97. Command (m for help): p
  98.  
  99. Disk /dev/sdb: 8589 MB, 8589934592 bytes
  100. 255 heads, 63 sectors/track, 1044 cylinders
  101. Units = cylinders of 16065 * 512 = 8225280 bytes
  102.  
  103. Device Boot Start End Blocks Id System
  104. /dev/sdb1 1 151 1212876 fd Linux raid autodetect
  105. /dev/sdb2 152 302 1212907+ fd Linux raid autodetect
  106. /dev/sdb3 303 453 1212907+ fd Linux raid autodetect
  107.  
  108. Command (m for help): n
  109. Command action
  110. e extended
  111. p primary partition (1-4)
  112. p
  113. Selected partition 4
  114. First cylinder (454-1044, default 454):
  115. Using default value 454
  116. Last cylinder or +size or +sizeM or +sizeK (454-1044, default 1044): +450
  117.  
  118. Command (m for help): t
  119. Partition number (1-4): 4
  120. Hex code (type L to list codes): fd
  121. Changed system type of partition 4 to fd (Linux raid autodetect)
  122.  
  123. Command (m for help): d
  124. Partition number (1-4): 4
  125.  
  126. Command (m for help): p
  127.  
  128. Disk /dev/sdb: 8589 MB, 8589934592 bytes
  129. 255 heads, 63 sectors/track, 1044 cylinders
  130. Units = cylinders of 16065 * 512 = 8225280 bytes
  131.  
  132. Device Boot Start End Blocks Id System
  133. /dev/sdb1 1 151 1212876 fd Linux raid autodetect
  134. /dev/sdb2 152 302 1212907+ fd Linux raid autodetect
  135. /dev/sdb3 303 453 1212907+ fd Linux raid autodetect
  136.  
  137. Command (m for help): n
  138. Command action
  139. e extended
  140. p primary partition (1-4)
  141. e
  142. Selected partition 4
  143. First cylinder (454-1044, default 454):
  144. Using default value 454
  145. Last cylinder or +size or +sizeM or +sizeK (454-1044, default 1044): +450
  146.  
  147. Command (m for help): n
  148. First cylinder (454-904, default 454):
  149. Using default value 454
  150. Last cylinder or +size or +sizeM or +sizeK (454-904, default 904): +150
  151.  
  152. Command (m for help): t
  153. Partition number (1-5): 5
  154. Hex code (type L to list codes): fd
  155. Changed system type of partition 5 to fd (Linux raid autodetect)
  156.  
  157. Command (m for help): n
  158. First cylinder (605-904, default 605):
  159. Using default value 605
  160. Last cylinder or +size or +sizeM or +sizeK (605-904, default 904): +150
  161.  
  162. Command (m for help): t
  163. Partition number (1-6): 6
  164. Hex code (type L to list codes): fd
  165. Changed system type of partition 6 to fd (Linux raid autodetect)
  166.  
  167. Command (m for help): n
  168. First cylinder (756-904, default 756):
  169. Using default value 756
  170. Last cylinder or +size or +sizeM or +sizeK (756-904, default 904): +150
  171. Value out of range.
  172. Last cylinder or +size or +sizeM or +sizeK (756-904, default 904):
  173. Using default value 904
  174.  
  175. Command (m for help): t
  176. Partition number (1-7): 7
  177. Hex code (type L to list codes): fd
  178. Changed system type of partition 7 to fd (Linux raid autodetect)
  179.  
  180. Command (m for help): p
  181.  
  182. Disk /dev/sdb: 8589 MB, 8589934592 bytes
  183. 255 heads, 63 sectors/track, 1044 cylinders
  184. Units = cylinders of 16065 * 512 = 8225280 bytes
  185.  
  186. Device Boot Start End Blocks Id System
  187. /dev/sdb1 1 151 1212876 fd Linux raid autodetect
  188. /dev/sdb2 152 302 1212907+ fd Linux raid autodetect
  189. /dev/sdb3 303 453 1212907+ fd Linux raid autodetect
  190. /dev/sdb4 454 904 3622657+ 5 Extended
  191. /dev/sdb5 454 604 1212876 fd Linux raid autodetect
  192. /dev/sdb6 605 755 1212876 fd Linux raid autodetect
  193. /dev/sdb7 756 904 1196811 fd Linux raid autodetect
  194.  
  195. Command (m for help): w
  196. The partition table has been altered!
  197.  
  198. Calling ioctl() to re-read partition table.
  199. Syncing disks.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement