To list all the partitions, type:
# fdisk -l
To create a primary partition on a disk (here /dev/vda), type:
# fdisk /dev/vda
Press ‘c‘, ‘u‘, then ‘p‘ to print the partition table.
Then press ‘n‘ (for new), type the partition number (between 1 and 4), the first sector and the size.
Finally, press ‘w‘ to save the partition table.
To delete a primary partition on a disk (here /dev/vda), type:
# fdisk /dev/vda
Press ‘c‘, ‘u‘, then ‘p‘ to print the partition table.
Then press ‘d‘ (for delete) and type the partition number (between 1 and 4).
Finally, press ‘w‘ to save the partition table.
To set the type of a primary partition (here /dev/vda3), type:
# fdisk /dev/vda
Press ‘c‘, ‘u‘, then ‘p‘ to print the partition table.
Then press ‘t‘ (for tag), type the partition number (here ‘3‘) and the partition type (83 for linux, 8e for Linux LVM, 82 for swap).
Finally, press ‘w‘ to save the partition table.
the youtube link for disk partitioning is no longer valid 🙁
Thank you for letting me know. I advise you to go to the equivalent RHEL 7 page: http://www.certdepot.net/rhel7-create-delete-partitions/