- First log into your account using root.
- Then checkout the drives and paritions using the command “lsblk”
lsblk

- It will show you the drives begining with the name sda, sdb, sdc and so on.
- We can see that there is a drive sdb with no partition on it.
- Just note down the drive “sdb” on which you want to create parition in linux.
- It will show you the drives begining with the name sda, sdb, sdc and so on.
- Just note down the drive on which you want to delete the parition in linux.
- Use the command fdisk to enter in that drive as follow:
fdisk /dev/sdb
- Now type “n” to create the partition
- Just select the option “primary” and press enter twice to select the default options.
- The default options will select the start sector and ending sector.
- Now Type “w” to write this operations in system and press enter.
- Now Type “lsblk” again to see the paritions.

- Now we can see that there is one partition by the name of sdb1 under the drive sdb.
You can also see the complete guide on how to create a parition in linux, CentOS or Ubuntu on our official Youtube Channel.