indigoparadox

NetBSD Partition Layout

Oct 11th, 2026
1,474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.64 KB | None | 0 0
  1. # disklabel -i /dev/wd0f
  2. Enter '?' for help
  3. partition>?
  4. ? print this menu
  5. A adjust the label size to the max disk size
  6. C make partitions contiguous
  7. E print disk label and current partition table
  8. I change label information
  9. L list all known file system types
  10. N name the label
  11. P print current partition table
  12. Q quit
  13. R rounding (c)ylinders (s)ectors
  14. W write the current partition table
  15. [a-p] define named partition
  16. partition>E
  17. # /dev/wd0f:
  18. type: ESDI
  19. disk: wd0
  20. label: fictitious
  21. flags:
  22. bytes/sector: 512
  23. sectors/track: 63
  24. tracks/cylinder: 16
  25. sectors/cylinder: 1008
  26. cylinders: 1938021
  27. total sectors: 1953525168
  28. rpm: 3600
  29. interleave: 1
  30. trackskew: 0
  31. cylinderskew: 0
  32. headswitch: 0 # microseconds
  33. track-to-track seek: 0 # microseconds
  34. drivedata: 0
  35.  
  36. 16 partitions:
  37. # size offset fstype [fsize bsize cpg/sgs]
  38. c: 417335298 4194302 unused 0 0 # (Cyl. 4161*- 418184*)
  39. d: 1953525168 0 unused 0 0 # (Cyl. 0 - 1938020)
  40. e: 4192254 2048 MSDOS # (Cyl. 2*- 4161*)
  41. f: 417335298 4194302 4.2BSD 0 0 0 # (Cyl. 4161*- 418184*)
  42. g: 462360576 421529600 4.2BSD 0 0 0 # (Cyl. 418184*- 876875*)
  43. i: 2097152 883910656 Linux Ext2 0 0 # (Cyl. 876895*- 878975)
  44. j: 2097152 886009856 Linux Ext2 0 0 # (Cyl. 878978*- 881058*)
  45. k: 2097152 888109056 Linux Ext2 0 0 # (Cyl. 881060*- 883141*)
  46. l: 2097152 890208256 Linux Ext2 0 0 # (Cyl. 883143*- 885223*)
  47. m: 2097152 892307456 Linux Ext2 0 0 # (Cyl. 885225*- 887306*)
  48. n: 2097152 894406656 Linux Ext2 0 0 # (Cyl. 887308*- 889388*)
  49. o: 2097152 896505856 Linux Ext2 0 0 # (Cyl. 889390*- 891471*)
  50. p: 2097152 898605056 Linux Ext2 0 0 # (Cyl. 891473*- 893553*)
  51. partition>q
  52. Unknown command q
  53. partition>Q
  54. # disklabel -v -r /dev/wd0f
  55. disklabel: Invalid signature in mbr record 0
  56. # /dev/wd0f:
  57. type: ESDI
  58. disk: wd0
  59. label: fictitious
  60. flags:
  61. bytes/sector: 512
  62. sectors/track: 63
  63. tracks/cylinder: 16
  64. sectors/cylinder: 1008
  65. cylinders: 1938021
  66. total sectors: 1953525168
  67. rpm: 3600
  68. interleave: 1
  69. trackskew: 0
  70. cylinderskew: 0
  71. headswitch: 0 # microseconds
  72. track-to-track seek: 0 # microseconds
  73. drivedata: 0
  74.  
  75. 16 partitions:
  76. # size offset fstype [fsize bsize cpg/sgs]
  77. c: 417335298 4194302 unused 0 0 # (Cyl. 4161*- 418184*)
  78. d: 1953525168 0 unused 0 0 # (Cyl. 0 - 1938020)
  79. e: 4192254 2048 MSDOS # (Cyl. 2*- 4161*)
  80. f: 417335298 4194302 4.2BSD 0 0 0 # (Cyl. 4161*- 418184*)
  81. g: 462360576 421529600 4.2BSD 0 0 0 # (Cyl. 418184*- 876875*)
  82. i: 2097152 883910656 Linux Ext2 0 0 # (Cyl. 876895*- 878975)
  83. j: 2097152 886009856 Linux Ext2 0 0 # (Cyl. 878978*- 881058*)
  84. k: 2097152 888109056 Linux Ext2 0 0 # (Cyl. 881060*- 883141*)
  85. l: 2097152 890208256 Linux Ext2 0 0 # (Cyl. 883143*- 885223*)
  86. m: 2097152 892307456 Linux Ext2 0 0 # (Cyl. 885225*- 887306*)
  87. n: 2097152 894406656 Linux Ext2 0 0 # (Cyl. 887308*- 889388*)
  88. o: 2097152 896505856 Linux Ext2 0 0 # (Cyl. 889390*- 891471*)
  89. p: 2097152 898605056 Linux Ext2 0 0 # (Cyl. 891473*- 893553*)
  90. # fdisk -v /dev/rw
  91. Display all 139 possibilities? (y or n)
  92. # fdisk -v /dev/rwd
  93. Display all 136 possibilities? (y or n)
  94. # fdisk -v /dev/rwd0
  95. /dev/rwd0 /dev/rwd0c /dev/rwd0f /dev/rwd0i /dev/rwd0l /dev/rwd0o
  96. /dev/rwd0a /dev/rwd0d /dev/rwd0g /dev/rwd0j /dev/rwd0m /dev/rwd0p
  97. /dev/rwd0b /dev/rwd0e /dev/rwd0h /dev/rwd0k /dev/rwd0n
  98. # fdisk -v /dev/rwd0d
  99. Disk: /dev/rwd0d
  100. NetBSD disklabel disk geometry:
  101. cylinders: 1938021, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
  102. total sectors: 1953525168, bytes/sector: 512
  103.  
  104. BIOS disk geometry:
  105. cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
  106. total sectors: 1953525168
  107.  
  108. Partitions aligned to 16065 sector boundaries, offset 63
  109.  
  110. Partition table:
  111. 0: Primary 'big' DOS, 16-bit FAT (> 32MB) (sysid 6)
  112. start 2048, size 4192254 (2047 MB, Cyls 0/32/33-261/21/14)
  113. beg: cylinder 0, head 32, sector 33
  114. end: cylinder 261, head 21, sector 14
  115. PBR appears to be bootable
  116. 1: NetBSD (sysid 169)
  117. start 4194302, size 417335298 (203777 MB, Cyls 261/21/15-26239/1/2)
  118. beg: cylinder 261, head 21, sector 15
  119. end: cylinder 1023, head 254, sector 63
  120. PBR is not bootable: All bytes are identical (0x00)
  121. 2: FreeBSD or 386BSD or old NetBSD (sysid 165)
  122. start 421529600, size 462360576 (225762 MB, Cyls 26239/1/3-55019/157/50)
  123. beg: cylinder 1023, head 254, sector 63
  124. end: cylinder 1023, head 254, sector 63
  125. PBR appears to be bootable
  126. 3: Extended partition (sysid 5)
  127. start 883890176, size 1069633536 (522282 MB, Cyls 55019/157/51-121601/57/56)
  128. beg: cylinder 1023, head 254, sector 63
  129. end: cylinder 1023, head 254, sector 63
  130. Extended partition table:
  131. E0: Linux native (sysid 131)
  132. start 883910656, size 2097152 (1024 MB, Cyls 55020/227/56-55151/110/63)
  133. beg: cylinder 1023, head 254, sector 63
  134. end: cylinder 1023, head 254, sector 63
  135. PBR is not bootable: All bytes are identical (0x00)
  136. E1: Linux native (sysid 131)
  137. start 886009856, size 2097152 (1024 MB, Cyls 55151/143/33-55282/26/40)
  138. beg: cylinder 1023, head 254, sector 63
  139. end: cylinder 1023, head 254, sector 63
  140. PBR is not bootable: All bytes are identical (0x00)
  141. E2: Linux native (sysid 131)
  142. start 888109056, size 2097152 (1024 MB, Cyls 55282/59/10-55412/197/17)
  143. beg: cylinder 1023, head 254, sector 63
  144. end: cylinder 1023, head 254, sector 63
  145. PBR appears to be bootable
  146. E3: Linux native (sysid 131)
  147. start 890208256, size 2097152 (1024 MB, Cyls 55412/229/50-55543/112/57)
  148. beg: cylinder 1023, head 254, sector 63
  149. end: cylinder 1023, head 254, sector 63
  150. PBR appears to be bootable
  151. E4: Linux native (sysid 131)
  152. start 892307456, size 2097152 (1024 MB, Cyls 55543/145/27-55674/28/34)
  153. beg: cylinder 1023, head 254, sector 63
  154. end: cylinder 1023, head 254, sector 63
  155. PBR is not bootable: All bytes are identical (0x00)
  156. E5: Linux native (sysid 131)
  157. start 894406656, size 2097152 (1024 MB, Cyls 55674/61/4-55804/199/11)
  158. beg: cylinder 1023, head 254, sector 63
  159. end: cylinder 1023, head 254, sector 63
  160. PBR is not bootable: All bytes are identical (0x00)
  161. E6: Linux native (sysid 131)
  162. start 896505856, size 2097152 (1024 MB, Cyls 55804/231/44-55935/114/51)
  163. beg: cylinder 1023, head 254, sector 63
  164. end: cylinder 1023, head 254, sector 63
  165. PBR is not bootable: All bytes are identical (0x00)
  166. E7: Linux native (sysid 131)
  167. start 898605056, size 2097152 (1024 MB, Cyls 55935/147/21-56066/30/28)
  168. beg: cylinder 1023, head 254, sector 63
  169. end: cylinder 1023, head 254, sector 63
  170. PBR is not bootable: Bad magic number (0xc123)
  171. E8: Linux native (sysid 131)
  172. start 900704256, size 2097152 (1024 MB, Cyls 56066/62/61-56196/201/5)
  173. beg: cylinder 1023, head 254, sector 63
  174. end: cylinder 1023, head 254, sector 63
  175. PBR is not bootable: All bytes are identical (0x00)
  176. E9: Linux native (sysid 131)
  177. start 902803456, size 2097152 (1024 MB, Cyls 56196/233/38-56327/116/45)
  178. beg: cylinder 1023, head 254, sector 63
  179. end: cylinder 1023, head 254, sector 63
  180. PBR is not bootable: All bytes are identical (0x00)
  181. E10: Primary DOS with 32 bit FAT - LBA (sysid 12)
  182. start 904902656, size 209715200 (102400 MB, Cyls 56327/149/15-69381/191/58)
  183. beg: cylinder 1023, head 254, sector 63
  184. end: cylinder 1023, head 254, sector 63
  185. PBR is not bootable: All bytes are identical (0x00)
  186. E11: Linux native (sysid 131)
  187. start 1114619904, size 832759808 (406621 MB, Cyls 69381/224/28-121218/199/5)
  188. beg: cylinder 1023, head 254, sector 63
  189. end: cylinder 1023, head 254, sector 63
  190. PBR is not bootable: Bad magic number (0x0000)
  191. E12: Primary DOS with 32 bit FAT (sysid 11)
  192. start 1947381760, size 6141952 (2999 MB, Cyls 121218/231/38-121601/57/56)
  193. beg: cylinder 1023, head 254, sector 63
  194. end: cylinder 1023, head 254, sector 63
  195. PBR appears to be bootable
  196. No active partition.
  197. Drive serial number: 391888141 (0x175bbd0d)
  198. #
  199.  
Advertisement
Add Comment
Please, Sign In to add comment