Home >Computer Tutorials >Computer Knowledge >How to partition on Debian 12
In Debian 12, there are various graphical and command line tools available for partitioning disks. This article will introduce some common tools that you can use to partition storage devices such as hard drives/SSDs on Debian 12. These tools provide flexibility and control, allowing you to easily manage disk space according to your needs. With these tools, you can effectively divide disk space, create partitions for different purposes, and ensure the security and reliability of your data. Whether you prefer graphical interface or command line operation, Debian 12 provides suitable tools to allow you to perform disk partitioning operations according to your preferences and needs.
Some common GUI (graphical user interface) disk partitioning programs on Debian 12 are:
Some common command line disk partitioning programs available on Debian 12 include:
In our list of disk partitioning programs, we consider the following beginner-friendly or easy-to-use disk partitioning programs:
GNOME Disk Utility is the default disk partitioning tool for the GNOME desktop environment, providing a simple and easy-to-use user interface. You can easily use it to manage disk partitions when using the GNOME desktop environment on Debian 12. Through this article, you can learn how to use GNOME Disk to partition storage devices.
On the Debian 12 operating system, if the desktop environment you are using does not include GNOME Disk, you can execute the following command to install it.
$sudo apt update
$sudo apt install gnome—disk—utility
A screenshot of the GNOME Disks application looks like this:
GParted is an advanced graphical partitioning tool built on the parted command line program. It offers many advanced features, although the user interface is not as user-friendly as GNOME Acrobat. For beginners, GParted's various features and options can be overwhelming.
If you need to do some advanced partitioning that GNOME NTFS cannot do, you may want to use GParted. To learn how to use GParted to partition a disk on Debian 12 operating system, read this article.
Debian 12 does not install GParted by default. To install GParted on Debian 12, run the following command:
$sudo apt update
$sudo apt install gparted
A screenshot of GParted looks like this:
Parted is an advanced terminal-based partitioning program. It's packed with advanced features and targeted at advanced users (who like the Linux command line).
If you need to perform some advanced partitioning from the command line, check out Parted. To learn how to partition a disk from the command line using Parted on Debian 12 operating system, read this article.
Parted is not installed on Debian 12 by default. To install Parted on Debian 12, run the following command:
$sudo apt update
$sudo apt install parted
A screenshot of running Parted from the command line is shown below:
fdisk is also an advanced terminal-based partitioning program. Its text-based user interface is easier for beginners to understand and use than Parted. Although it has fewer features than Parted/GParted, it is still capable of performing many disk partitioning tasks.
To learn how to partition a disk from the command line using fdisk on Debian 12 operating system, read this article.
By default, fdisk is installed on Debian 12 server and desktop operating systems. So you don't have to install it manually.
A screenshot of running fdisk from the command line is as follows:
cfdisk is a terminal-based partitioning program. This is a stripped down version of fdisk. It doesn't have many features, but it's enough to do basic disk partitioning. cfdisk has an easy-to-use text-based user interface. This is a great disk partitioning program for beginners as well as advanced users.
To learn how to partition a disk from the command line using cfdisk on Debian 12 operating system, read this article.
Cfdisk is part of fdisk. Therefore, it is installed by default on Debian 12 server and desktop operating systems. No manual installation required.
A screenshot of running cfdisk from the command line is shown below:
In this article, we discussed some of the graphical user interface and command line disk partitioning programs available on Debian 12 that can be used to partition computer disks. Among these disk partitioning programs, GNOME Disk Utility or GNOME Disk and cfdisk has a very simple and clear user interface (UI). GParted, Parted and fDisk have many advanced features and are mainly aimed at advanced users. fDisk is easier to use than GParted and Parted.
The above is the detailed content of How to partition on Debian 12. For more information, please follow other related articles on the PHP Chinese website!