Guest User

Untitled

a guest
Sep 14th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. ~# fdisk /dev/sda
  2.  
  3. Welcome to fdisk (util-linux 2.29.2).
  4. Changes will remain in memory only, until you decide to write them.
  5. Be careful before using the write command.
  6.  
  7.  
  8. Command (m for help): p
  9. Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors
  10. Units: sectors of 1 * 512 = 512 bytes
  11. Sector size (logical/physical): 512 bytes / 512 bytes
  12. I/O size (minimum/optimal): 512 bytes / 512 bytes
  13. Disklabel type: dos
  14. Disk identifier: 0x000a5f05
  15.  
  16. Device Boot Start End Sectors Size Id Type
  17. /dev/sda1 * 63 15952544 15952482 7.6G 83 Linux
  18.  
  19. Command (m for help): d
  20. Selected partition 1
  21. Partition 1 has been deleted.
  22.  
  23. Command (m for help): n
  24. Partition type
  25. p primary (0 primary, 0 extended, 4 free)
  26. e extended (container for logical partitions)
  27. Select (default p):
  28.  
  29. Using default response p.
  30. Partition number (1-4, default 1):
  31. First sector (2048-41943039, default 2048):
  32. Last sector, +sectors or +size{K,M,G,T,P} (2048-41943039, default 41943039):
  33.  
  34. Created a new partition 1 of type 'Linux' and of size 20 GiB.
  35.  
  36. Command (m for help): p
  37. Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors
  38. Units: sectors of 1 * 512 = 512 bytes
  39. Sector size (logical/physical): 512 bytes / 512 bytes
  40. I/O size (minimum/optimal): 512 bytes / 512 bytes
  41. Disklabel type: dos
  42. Disk identifier: 0x000a5f05
  43.  
  44. Device Boot Start End Sectors Size Id Type
  45. /dev/sda1 2048 41943039 41940992 20G 83 Linux
  46.  
  47. Command (m for help): q
Add Comment
Please, Sign In to add comment