When it comes to GUI tools, GParted stands out as one of the most popular partitioning tools for GNU/Linux. In this article, Tamienphi.vn provides an overview of GParted, helping both newcomers and those unfamiliar with the tool understand how to use it.
Installing GParted
GParted is typically pre-installed on many distributions using GNOME, Cinnamon, or other GTK-based environments. However, if not present, you can install GParted on your device easily by installing the 'gparted' package using Package Manager, accessing the Terminal, or utilizing the available 'gparted' package in the main repositories.
Using GParted
After installation, you can find GParted in the application menu under System Tools, and it will prompt for the root password upon startup.
Once GParted is opened, on the screen, you'll see a window displayed as shown below. In it, some partitions are marked and highlighted for emphasis:
1. The currently selected disk/device.
2. Visual representation of the partition layout.
3. List of partitions/layout.
4. Operations currently awaiting completion by GParted.
GParted can operate with any device supporting partitioning, from USB Flash drives and external drives to internal hard drives, … .
In the image above, you can observe the currently selected drive divided into a 500MB boot partition and 931.02GB utilized for the rest of the system - LVM (Logical Volume Manager, a type of pseudo-RAID setup, or dynamic partitions that can be resized, changed in size, or deleted while the system is running).
However, in this example, we will attempt partitioning on a small USB Flash Drive. Click on the device selector (#1) and choose the USB drive for partitioning.
As seen in the image below, the current drive has a small partition. The next step is to use GParted to delete the partition. To do this, simply right-click on the partition you want and select Delete.
GParted will automatically adjust to reflect your actions (although not yet applied), giving you a visual partition layout to review.
The next step is to create two new partitions: one ext4 partition and one NTFS partition. Right-click on the unallocated partition, choose New. A new popup window will appear, where you can select size, name, format, or designate the partition as Primary, Extended, or Logical.
Typically, users leave most default settings unless they have specific purposes, such as setting up a Logical partition. In the example below, we are configuring a 4000MB ext4 partition.
Once done, repeat similar steps to modify the format. GParted automatically sets up to use the unallocated partition. However, if you don't want to use all available partitions, you can make adjustments.
As the process concludes, GParted stands ready to implement the changes you desire.
However, before proceeding, ensure you've reviewed pending activities and verify that GParted is set to perform what you intend. Confirm that you've selected the correct drive, appropriate formatting, ... to avoid errors and potential issues.
If everything is set up correctly, click on the green checkmark icon. You will receive a warning from GParted. Click Apply when you're ready to finalize the process.
Additionally, you can utilize GParted for more advanced tasks. However, for Linux beginners, it's recommended to stop at this stage to grasp the basics of using GParted.
Exploring the Linux operating system is an exciting journey, packed with intriguing features and new tools waiting to be discovered. What sets Linux apart is not only its functionality but also the fact that it's free. If you're unfamiliar with installing Linux, consider creating a Linux bootable USB using the Universal USB Installer. It's a game-changer.
