Advertisement
Guest User

Untitled

a guest
Mar 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. root@denbeiren-U-100:~# fdisk /dev/sdb
  2.  
  3. Command (m for help): o
  4. Building a new DOS disklabel with disk identifier 0x4158ec0b.
  5. Changes will remain in memory only, until you decide to write them.
  6. After that, of course, the previous content won't be recoverable.
  7.  
  8. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  9.  
  10. Command (m for help): p
  11.  
  12. Disk /dev/sdb: 7822 MB, 7822376960 bytes
  13. 241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors
  14. Units = sectors of 1 * 512 = 512 bytes
  15. Sector size (logical/physical): 512 bytes / 512 bytes
  16. I/O size (minimum/optimal): 512 bytes / 512 bytes
  17. Disk identifier: 0x4158ec0b
  18.  
  19. Device Boot Start End Blocks Id System
  20.  
  21. Command (m for help): n
  22. Partition type:
  23. p primary (0 primary, 0 extended, 4 free)
  24. e extended
  25. Select (default p): 1
  26. Invalid partition type `1'
  27.  
  28. Command (m for help): o
  29. Building a new DOS disklabel with disk identifier 0x7dd6a906.
  30. Changes will remain in memory only, until you decide to write them.
  31. After that, of course, the previous content won't be recoverable.
  32.  
  33. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  34.  
  35. Command (m for help): p
  36.  
  37. Disk /dev/sdb: 7822 MB, 7822376960 bytes
  38. 241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors
  39. Units = sectors of 1 * 512 = 512 bytes
  40. Sector size (logical/physical): 512 bytes / 512 bytes
  41. I/O size (minimum/optimal): 512 bytes / 512 bytes
  42. Disk identifier: 0x7dd6a906
  43.  
  44. Device Boot Start End Blocks Id System
  45.  
  46. Command (m for help): n
  47. Partition type:
  48. p primary (0 primary, 0 extended, 4 free)
  49. e extended
  50. Select (default p): p
  51. Partition number (1-4, default 1): 1
  52. First sector (2048-15278079, default 2048):
  53. Using default value 2048
  54. Last sector, +sectors or +size{K,M,G} (2048-15278079, default 15278079): +100M
  55.  
  56. Command (m for help): t
  57. Selected partition 1
  58. Hex code (type L to list codes): c
  59. Changed system type of partition 1 to c (W95 FAT32 (LBA))
  60.  
  61. Command (m for help): n
  62. Partition type:
  63. p primary (1 primary, 0 extended, 3 free)
  64. e extended
  65. Select (default p): p
  66. Partition number (1-4, default 2): 2
  67. First sector (206848-15278079, default 206848):
  68. Using default value 206848
  69. Last sector, +sectors or +size{K,M,G} (206848-15278079, default 15278079):
  70. Using default value 15278079
  71.  
  72. Command (m for help): w
  73. The partition table has been altered!
  74.  
  75. Calling ioctl() to re-read partition table.
  76.  
  77. WARNING: If you have created or modified any DOS 6.x
  78. partitions, please see the fdisk manual page for additional
  79. information.
  80. Syncing disks.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement