Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Disk /dev/loop0: 1 GiB, 1101672448 bytes, 2151704 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/sda: 698,7 GiB, 750156374016 bytes, 1465149168 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 4096 bytes
- Disklabel type: dos
- Disk identifier: 0x383cea40
- Device Boot Start End Sectors Size Id Type
- /dev/sda1 * 2048 499711 497664 243M 83 Linux
- /dev/sda2 501758 1465147391 1464645634 698,4G 5 Extended
- /dev/sda5 501760 1465147391 1464645632 698,4G 83 Linux
- Partition 3 does not start on physical sector boundary.
- Disk /dev/sdb: 7,2 GiB, 7759462400 bytes, 15155200 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disklabel type: dos
- Disk identifier: 0x00090aad
- Device Boot Start End Sectors Size Id Type
- /dev/sdb1 * 2048 15155199 15153152 7,2G b W95 FAT32
- ubuntu@ubuntu:~$ sudo fdisk /dev/sda
- Welcome to fdisk (util-linux 2.25.2).
- Changes will remain in memory only, until you decide to write them.
- Be careful before using the write command.
- Command (m for help): d
- Partition number (1,2,5, default 5): 5
- Partition 5 has been deleted.
- Command (m for help): d
- Partition number (1,2, default 2): 2
- Partition 2 has been deleted.
- Command (m for help): n
- Partition type
- p primary (1 primary, 0 extended, 3 free)
- e extended (container for logical partitions)
- Select (default p): e
- Partition number (2-4, default 2): 2
- First sector (499712-1465149167, default 499712): 5000000
- Last sector, +sectors or +size{K,M,G,T,P} (5000000-1465149167, default 1465149167): +size 682G
- Last sector, +sectors or +size{K,M,G,T,P} (5000000-1465149167, default 1465149167): +682G
- Created a new partition 2 of type 'Extended' and of size 682 GiB.
- Command (m for help): n
- Partition type
- p primary (1 primary, 1 extended, 2 free)
- l logical (numbered from 5)
- Select (default p): l
- Adding logical partition 5
- First sector (5002048-1435256831, default 5003264):
- Last sector, +sectors or +size{K,M,G,T,P} (5003264-1435256831, default 1435256831):
- Created a new partition 5 of type 'Linux' and of size 682 GiB.
- Command (m for help): p
- Disk /dev/sda: 698,7 GiB, 750156374016 bytes, 1465149168 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 4096 bytes
- Disklabel type: dos
- Disk identifier: 0x383cea40
- Device Boot Start End Sectors Size Id Type
- /dev/sda1 * 2048 499711 497664 243M 83 Linux
- /dev/sda2 5000000 1435256831 1430256832 682G 5 Extended
- /dev/sda5 5003264 1435256831 1430253568 682G 83 Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement