The parted utility is geared towards situations where we have a hard disk or hard disks larger than 2 TB. Additionally, we can a resize a partition; the fdisk utility cannot resize a partition. Almost all of the newer Linux distributions support the parted utility. parted comes from GNU; it's a text-based partitioning utility that works with a variety of disk types such as MBR, GPT, and BSD, to name a few.
Always backup your data before doing any partitioning.
To start with, we will use the parted command on the /dev/sdb:
root@ubuntu:/home/philip# parted /dev/sdb
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)
From here, we are placed into the parted utility. Similar to the fdisk utility, the parted utility is interactive....