Welcome to fdisk (util-linux 2.30.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0xe944b373.
Command (m for help): m
Help:
DOS (MBR) a toggle a bootable flag b edit nested BSD disklabel c toggle the dos compatibility flag
Generic d delete a partition F list free unpartitioned space l list known partition types n add a newpartition p print the partitiontable t change a partition type v verify the partitiontable i print information about a partition
Misc m print this menu u change display/entry units x extra functionality (experts only)
Script I load disk layout from sfdisk script file O dump disk layout to sfdisk script file
Save & Exit w write tableto disk and exit q quit without saving changes
Create a new label g create a newempty GPT partitiontable G create a newempty SGI (IRIX) partitiontable o create a newempty DOS partitiontable s create a newempty Sun partitiontable
Welcome to fdisk (util-linux 2.30.1). Changes will remain in memory only, until you decide towrite them. Be careful beforeusing the write command.
Command (m for help): n Partitiontype p primary (0primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): Enter
Usingdefault response p. Partition number (1-4, default1): Enter First sector (2048-20971519, default2048): Enter Last sector, +sectors or +size{K,M,G,T,P} (2048-20971519, default20971519): +1G
Created a newpartition1oftype'Linux'andof size 1 GiB.
Command (m for help): p Disk /dev/sdc: 10 GiB, 10737418240 bytes, 20971520 sectors Units: sectors of1 * 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: 0x8cc8f9e5
Device Boot StartEnd Sectors Size Id Type /dev/sdc1 2048209919920971521G 83 Linux
Command (m for help): w The partitiontable has been altered. Calling ioctl() to re-readpartitiontable. Syncing disks.
Welcome to fdisk (util-linux 2.30.1). Changes will remain in memory only, until you decide towrite them. Be careful beforeusing the write command.
Command (m for help): n Partitiontype p primary (3primary, 0 extended, 1 free) e extended (container for logical partitions) Select (default e): Enter
Usingdefault response e. Selected partition4 First sector (6293504-20971519, default6293504): Enter Last sector, +sectors or +size{K,M,G,T,P} (6293504-20971519, default20971519): Enter
Created a newpartition4oftype'Extended'andof size 7 GiB.
Command (m for help): p Disk /dev/sdc: 10 GiB, 10737418240 bytes, 20971520 sectors Units: sectors of1 * 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: 0x8cc8f9e5
Device Boot StartEnd Sectors Size Id Type /dev/sdc1 2048209919920971521G 83 Linux /dev/sdc2 2099200419635120971521G 83 Linux /dev/sdc3 4196352629350320971521G 83 Linux /dev/sdc4 629350420971519146780167G 5 Extended
Command (m for help): w The partitiontable has been altered. Calling ioctl() to re-readpartitiontable. Syncing disks.
Welcome to fdisk (util-linux 2.30.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Command (m for help): n All primary partitions are in use. Adding logical partition 5 First sector (6295552-20971519, default 6295552): Enter Last sector, +sectors or +size{K,M,G,T,P} (6295552-20971519, default 20971519): +1G
Created a new partition 5 of type 'Linux' and of size 1 GiB.
Command (m for help): p Disk /dev/sdc: 10 GiB, 10737418240 bytes, 20971520 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: 0x8cc8f9e5
Device Boot Start End Sectors Size Id Type /dev/sdc1 2048 2099199 2097152 1G 83 Linux /dev/sdc2 2099200 4196351 2097152 1G 83 Linux /dev/sdc3 4196352 6293503 2097152 1G 83 Linux /dev/sdc4 6293504 20971519 14678016 7G 5 Extended /dev/sdc5 6295552 8392703 2097152 1G 83 Linux
Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks.