Disk management tools are utility software that is used to manage data on disk by performing various functions on it, such as partitioning devices, manage drives, disk checking, disk formatting, etc.
Partition management software programs let you create, delete, shrink, expand, split, or merge partitions on your hard drives or other storage devices.
GParted is a free partition editor for graphically managing your disk partitions.
MiniTool Partition Wizard is an all-in-one professional partition manager software for Windows. There is a free version with limited featured.
Alternatives tools: Paragon Partition Manager and AOMEI Partition Assistant SE.
Create and format new partitions
First, you need to download a copy of GParted. Launch your favorite browser, go to the donwload section and download it.
Create a bootable GParted USB flash drive with Rufus or Ventoy.
Now you need to reboot your system, go into boot selection mode (F12), and select your GParted USB flash drive.
Select the GParted Live (Default settings) option and just press Enter.
Select the Don’t touch keymap option and press Enter. Then, you need to select your language, too. Next, use the drop-down menu in the top-right corner to select the storage device or drive that you want to work with (e.g., /dev/sdb).
If you are partitioning a new drive, before starting to create partitions, you need to create a partition table, so click on Device, Create Partition Table on the Menu bar, and select your desired partition table type, it will likely be gpt (it is an enhancement of MBR. This is because MBR can only support a partition size of less than 2 TB).
To create a new partition, click on Partition, New on the Menu bar or the New button on the toolbar in the top-left corner.
A new window should appear. Change the File system combo box to NTFS (Windows), FAT32 (USB flash drives) or ext4 (GNU/Linux). Type a name for the drive on the Label input box, e.g., main. Click the Add and the Apply✔️ (it commits all changes) buttons. Are you sure you want to apply the pending operations? Apply.
You can move the slider back and forth to change the size of the partition or type it directly in the New size (MiB) textbox.
Once it’s done, just click on the Close button and your new partition has already been created.
In order to shrink a partition, make a right-click on the desired partition first. Then, click on Resize/Move.
Move the slider to the left to shrink the partition or just type its size directly on the New size (MiB) textbox.
Finally, click on the Resize/Move, and the Apply✔️ (it confirms the operation) buttons. As you can see in the screenshot below, the partition has been resized.
Deleting and merging partitions
To delete a partition (e.g., /dev/sdb2), make a right-click on the partition first, then click on Delete. As always, you have to save or commit the changes and confirm your choice by clicking on the Apply✔️ button.
To merge two partitions, you have to delete the second partition (and lose all its data, so you should back it up) as we have shown in the previous step. Next, you right-click the first partition (e.g., /dev/sdb1) and select Resize/Move.
Now, you can drag the slider to the right and add all the unallocated space left behind when deleting the second partition. Finally, click on the Resize/Move button, and commit the operation by clicking on the Apply✔️ button.
# Static information about the filesystems.# /dev/nvme0n1p2UUID=c5e135cd-f8b9-4226-a08c-0a0df899d656 / ext4 rw,relatime 01# /dev/nvme0n1p1UUID=29E2-81C1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 02# /dev/nvme0n1p4UUID=cf630845-b11e-4ef1-8a94-5771185aef30 /home ext4 rw,relatime 02# /dev/nvme0n1p3UUID=f581d4da-70e2-4894-8a47-d0d4f3c37e94 none swap defaults 00
sd is a mass storage driver, sda is the first registered device on the driver and sdb is the second. Finally sda1 is a block device file that corresponds to the first drive partition on the first registered device.
# /dev/disk/by-uuid/bd753b26-a4ec-4063-8d36-5215c358ed00 or /dev/sda1. /dev/disk/by-uuid/cb8ee0c2-6afe-4853-ae39-0cc1dce73ef0 /media/mydisk2 auto nosuid,nodev,nofail,x-gvfs-show 00/dev/disk/by-uuid/bd753b26-a4ec-4063-8d36-5215c358ed00 /media/mydisk1 auto nosuid,nodev,nofail,x-gvfs-show 00