daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest Dec 22nd, 2015 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Disk /dev/loop0: 1 GiB, 1101672448 bytes, 2151704 sectors
  2. Units: sectors of 1 * 512 = 512 bytes
  3. Sector size (logical/physical): 512 bytes / 512 bytes
  4. I/O size (minimum/optimal): 512 bytes / 512 bytes
  5. Disk /dev/sda: 698,7 GiB, 750156374016 bytes, 1465149168 sectors
  6. Units: sectors of 1 * 512 = 512 bytes
  7. Sector size (logical/physical): 512 bytes / 4096 bytes
  8. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  9. Disklabel type: dos
  10. Disk identifier: 0x383cea40
  11.  
  12. Device     Boot  Start        End    Sectors   Size Id Type
  13. /dev/sda1  *      2048     499711     497664   243M 83 Linux
  14. /dev/sda2       501758 1465147391 1464645634 698,4G  5 Extended
  15. /dev/sda5       501760 1465147391 1464645632 698,4G 83 Linux
  16.  
  17. Partition 3 does not start on physical sector boundary.
  18.  
  19.  
  20. Disk /dev/sdb: 7,2 GiB, 7759462400 bytes, 15155200 sectors
  21. Units: sectors of 1 * 512 = 512 bytes
  22. Sector size (logical/physical): 512 bytes / 512 bytes
  23. I/O size (minimum/optimal): 512 bytes / 512 bytes
  24. Disklabel type: dos
  25. Disk identifier: 0x00090aad
  26.  
  27. Device     Boot Start      End  Sectors  Size Id Type
  28. /dev/sdb1  *     2048 15155199 15153152  7,2G  b W95 FAT32
  29.  
  30. ubuntu@ubuntu:~$ sudo fdisk /dev/sda
  31.  
  32. Welcome to fdisk (util-linux 2.25.2).
  33. Changes will remain in memory only, until you decide to write them.
  34. Be careful before using the write command.
  35.  
  36.  
  37. Command (m for help): d
  38. Partition number (1,2,5, default 5): 5
  39.  
  40. Partition 5 has been deleted.
  41.  
  42. Command (m for help): d
  43. Partition number (1,2, default 2): 2
  44.  
  45. Partition 2 has been deleted.
  46.  
  47. Command (m for help): n
  48. Partition type
  49.    p   primary (1 primary, 0 extended, 3 free)
  50.    e   extended (container for logical partitions)
  51. Select (default p): e
  52. Partition number (2-4, default 2): 2
  53. First sector (499712-1465149167, default 499712): 5000000            
  54. Last sector, +sectors or +size{K,M,G,T,P} (5000000-1465149167, default 1465149167): +size 682G
  55. Last sector, +sectors or +size{K,M,G,T,P} (5000000-1465149167, default 1465149167): +682G  
  56.  
  57. Created a new partition 2 of type 'Extended' and of size 682 GiB.
  58.  
  59. Command (m for help): n
  60. Partition type
  61.    p   primary (1 primary, 1 extended, 2 free)
  62.    l   logical (numbered from 5)
  63. Select (default p): l
  64.  
  65. Adding logical partition 5
  66. First sector (5002048-1435256831, default 5003264):
  67. Last sector, +sectors or +size{K,M,G,T,P} (5003264-1435256831, default 1435256831):
  68.  
  69. Created a new partition 5 of type 'Linux' and of size 682 GiB.
  70.  
  71. Command (m for help): p
  72. Disk /dev/sda: 698,7 GiB, 750156374016 bytes, 1465149168 sectors
  73. Units: sectors of 1 * 512 = 512 bytes
  74. Sector size (logical/physical): 512 bytes / 4096 bytes
  75. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  76. Disklabel type: dos
  77. Disk identifier: 0x383cea40
  78.  
  79. Device     Boot   Start        End    Sectors  Size Id Type
  80. /dev/sda1  *       2048     499711     497664  243M 83 Linux
  81. /dev/sda2       5000000 1435256831 1430256832  682G  5 Extended
  82. /dev/sda5       5003264 1435256831 1430253568  682G 83 Linux
RAW Paste Data
Top