In this post, we are going to create a new disk partition on Centos 8.2.
Command use is fdisk. Open your terminal and type the following command:
[command]
fdisk -l
Note: to list your current disk.
Empty disk is /dev/sdb - 100 GB
[command]
fdisk /dev/sdb
Press [n]
Press [p] to create new partition
Press [1] for partition 1
Press [Enter] to accept first sector
Press [Enter] to accept last sector. We are going to occupy 100GB
Press [w] to confirm write and create a partition
You have successful created a 100GB partition.