6 Best Tools To Manage Linux Partitions
Hard drives are one of the fundamental components in any operating system thanks to its storage function and hosting of applications and programs where the main one is the operating system itself. When we have more hard drives in the system, it is ideal to have tools that help us manage these hard drives and this involves actions such as:
- Create and edit new partitions
- Assign file system
- Remove partitions
- Assign labels to active units and more.
There are multiple tools designed for it, but today, we will analyze some of the best tools that we can implement or use in Linux and in this way have a better control over hard drives.
Fdisk is one of the most important disk management commands which is based on the command line for Linux or Unix systems.
Thanks to the fdisk command it will be possible to carry out management tasks on the disks such as viewing, creating, resizing, deleting, changing, copying and moving using the own text-based interface and, best of all, its use is simple.
With fdisk, it will be possible to create a maximum of four new primary partitions and an infinite number of logical partitions, also called extended, according to the size of the hard disk available in Linux.
Parted is a command-line tool which has been a long time in Linux distributions and through which simple and total management of hard disks will be possible in a simple way since it will be possible to add, eliminate, reduce and extend disk partitions along with the file systems located in them.
With Parted it will be possible to create, resize and copy extX, swap, FAT, and FAT32 file systems with full functionality. In case of not having installed Parted, we can do it by executing one of the following commands:
- sudo apt-get install parted (Debian/Ubuntu)
- yum install parted (RHEL/CentOS & Fedora)
- dnf install parted (Fedora 22 & higher)
Gparted (Graphic Parted) fulfills the same role as Parted only in a graphic environment, so GParted will give us the simplicity of graphically managing the partitions of the available hard drives.
By using GParted it will be possible to change the size, copy and move partitions without loss of data which allows us to execute actions such as increase or decrease the disk, create space for new operating systems, rescue data from lost partitions and much more.
Disk level optionsIn addition to this, the administration and control of partitions with Gparted has multiple options at disk level such as:
- Create and delete partitions
- Resize or move existing partitions
- Label a unit
- Verify the integrity of the partition
- Copy and paste
- Obtain partition information
- Format a partition
- Manage mounting points
To install Gparted we can go to the Software Center or execute the following command:
sudo apt-get install gparted
Gparted can be used in Linux, Windows or macOS. Once installed, we can run it from the terminal with the gparted command or from the Ubuntu menu:
GNOME Disks aka (GNOME Disks Utility)
GNOME Disks is an system utility which can be used to manage hard drive partitions and to carry out monitoring of SMART GNOME Disk can be used to format and create partitions on drives, mount and unmount partitions and is included with the GNOME desktop environment.
Most outstanding features
- View, modify and configure discs and media
- Create and restore disk images
- Partitioning discs, LUKS is compatible
- Inspect the speed of the unit and the state of health of it
As we have indicated, it is integrated in GNOME environments and for its execution, we go to the search engine and select the Disk utility:
Once we access, we can see all available units. There we will see details of the unit and by clicking on the menu icon, three horizontal lines, we can carry out actions such as:
- Format the hard drive
- Create a disk image
- Restore the disk image
- Test disk speed and integrity and more
KDE Partition Manager
As the name implies, this is a utility for managing partitions in KDE desktop environments. With KDE Partition Manager it will be possible to manage disk devices, partitions and file systems in our system and gives us the possibility to carry out actions such as creating, copying, moving, deleting, resizing easily without losing data, making Backup copies and restore partitions, all with simplicity.
KDE Partition Manager supports a large number of file systems, such as ext2 / 3/4, btrfs, reiserfs, NTFS, FAT16 / 32, JFS, XFS, LUKS and many more. For its use we must have the KDE desktop environment and run the integrated application.
QTParted is a GUI, graphic interface, of parted QT, its design and purpose is to create a free clone of Partition Magic for Linux environments. Currently its version is in development and may become unstable. For its installation we can visit the following link and there download the respective file:
Thus, we have several options for the management and administration of our Linux partitions with simple, but practical, utilities.