Are you looking for methods to effectively manage disk partitions in Linux? This article will introduce some of the top tools provided to Linux users for partitioning and handling their disks.
We’ll explore a variety of solutions, including command-line utilities and user-friendly graphical applications aimed at simplifying the process of disk partition management within the Linux environment.
You might also enjoy:
- 10 Tools to Monitor Linux Disk Partitions and Usage in Linux
- 3 Essential Linux Disk Scanning Tools
- 8 Parted Commands to Manage Disk Partitions in Linux
- How to Create Disk Partitions in Linux
I prefer the command line over the graphical user interface (GUI), so I’ll begin by discussing text-based utilities before moving on to GUI applications.
1. fdisk Command
The fdisk command is a versatile and commonly used tool for creating and modifying disk partition tables, supporting formats like MS-DOS and GPT.
fdisk offers a user-friendly, text-based, and menu-driven interface to display, create, resize, delete, modify, copy, and move partitions on disks.
To list all available drives and their partitions, use the following command:
<code>$ sudo fdisk -l</code>
Next, select the disk you wish to manage.
<code>$ sudo fdisk /dev/sda</code>
Inside fdisk, you can execute various partition management tasks using these commands:
-
p
– Display the partition table to view existing partitions. -
n
– Create a new partition. -
d
– Delete a partition. -
t
– Change a partition’s type. -
w
– Save changes and exit. -
q
– Quit without saving changes.
2. GNU Parted
GNU Parted is a widely-used command-line tool for efficiently managing hard disk partitions (adding, deleting, shrinking, extending), supporting formats such as MS-DOS, GPT, BSD, etc.
To view a list of available drives and their partitions, use:
<code>$ sudo parted -l</code>
Select the disk you want to manage next.
<code>$ sudo parted /dev/sda</code>
Once inside parted, you can manage partitions using commands like:
-
print
– Display the partition table to view existing partitions. -
mkpart
– Create a new partition. -
rm
– Remove a partition. -
resize
– Resize an existing partition. -
set
– Set partition attributes. -
quit
– Exit parted without saving changes.
It can assist in creating space for new operating systems, reorganizing disk usage, and moving data to new hard disks.
3. Gparted
GParted is a free, cross-platform, and advanced graphical disk partition manager working on Linux, Mac OS X, and Windows.
It allows resizing, copying, moving, labeling, checking, or deleting partitions without data loss, enabling growing or shrinking root partitions, creating space for new operating systems, and attempting data rescue from lost partitions. It can manipulate file systems including EXT2/3/4.
4. GNOME Disks a.k.a ( GNOME Disks Utility)
GNOME Disks is a core system utility for disk partition management and S.M.A.R.T monitoring. It formats and creates partitions on drives, mounts and unmounts partitions, and comes bundled with the GNOME desktop environment.
Recently, it has gained features for advanced usage. The latest version (at the time of this writing) includes a new feature for adding, resizing partitions, checking filesystems for damage, and repairing them.
5. KDE Partition Manager
The KDE Partition Manager is a helpful graphical utility for managing disk devices, partitions, and file systems on your computer. It comes with the KDE desktop environment.
Most of its underlying work is done through programs. It can easily create, copy, move, delete, resize partitions without losing data, back up, and restore partitions. It supports various file systems including EXT2/3/4, BTRFS NTFS, FAT16/32, XFS, and more.
6. Qtparted
Additionally, you can use Qtparted, which is a Partition Magic (proprietary software for Windows) clone and Qt front-end to GNU Parted. Note that it is still under development, and you might encounter issues with the latest release. In such cases, try using the CVS version or a previous stable version.
Though not among the best options currently, you can give it a try. More features are expected to be added soon.
You might also enjoy reading the following related articles.
You might also like:
- 4 Tools to Manage EXT2, EXT3 and EXT4 Health in Linux
- 3 Useful GUI and Terminal-Based Linux Disk Scanning Tools
- Recover Deleted or Lost Files in Linux
These are the best partition managers and editors available for Linux operating systems. Which tool do you use? Let us know via the comments below. Also, let us know if there are any other partition managers for Linux missing from the list above.
The above is the detailed content of 6 Best CLI and GUI Partition Managers for Linux. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Linuxoffersextensiveopen-sourcesoftwareandcustomization,butlackssomecommercialapplications;Windowsexcelsincommercialsoftwareandgaming,buthaslesscustomization.Linuxusespackagemanagersforeasysoftwareinstallationandprovidescommunity-drivenrepositories,w

In Linux, groups play a central role in managing user permissions and access control. Whether you're an experienced system administrator or a curious new user, understanding how to list and analyze group information is a fund

If you’re looking for a free, open-source way to manage and stream your media files on Linux, Jellyfin is the answer, which is an open-source media server that lets you organize your movies, TV shows, music, and photos in one place and stream them to

Linux Window Managers: A Comprehensive Guide to the Best Tiling Options Linux window managers orchestrate how application windows behave, quietly managing the visual arrangement of your open programs. This article explores top-tier tiling window man

Efficient QR code generation tool under Linux system In today's digital world, QR codes have become a way to quickly and conveniently share information, simplifying data access from URLs, texts, contacts, Wi-Fi credentials, and even payment information. Linux users can use a variety of tools to create QR codes efficiently. Let's take a look at some popular QR code generators that can be used directly on Linux systems. QRencode QRencode is a lightweight command line tool for generating QR codes on Linux. It is well-received for its simplicity and efficiency and is popular with Linux users who prefer direct methods. Using QRencode, you can use the URL,

Linuxoffersmoregranularcontroloverloggingandauditing,whileWindowsprovidesamorecentralizedsystem.1)Linuxusestoolslikesyslog,rsyslog,andjournaldforcustomizablelogging.2)WindowsusestheEventViewerforcentralizedlogmanagement.3)Linuxisidealforenvironmentsn

This article provides a comprehensive guide to identifying and resolving hard drive bottlenecks in Linux systems. Experienced server administrators will find this particularly useful. Slow disk operations can severely impact application performance,
