How to partition on Debian 12

WBOY
Release: 2024-03-21 22:01:02
forward
945 people have browsed it

如何在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.

Content topic:

  1. Common disk partitioning programs for Debian 12
  2. Disk partitioning using GNOME Disk Utility
  3. Use GParted for disk partitioning
  4. Use Parted for disk partitioning
  5. Use Fdisk for disk partitioning
  6. Use CfDisk for disk partitioning
  7. in conclusion
  8. references

Common disk partitioning programs for Debian 12

Some common GUI (graphical user interface) disk partitioning programs on Debian 12 are:

  • GNOME Disk Utility or GNOME NTFS
  • GParted

Some common command line disk partitioning programs available on Debian 12 include:

  • Detached
  • FDisk
  • cfdisk

In our list of disk partitioning programs, we consider the following beginner-friendly or easy-to-use disk partitioning programs:

  • GNOME Disk Utility or GNOME NTFS (GUI)
  • cfdisk (command line)

Use GNOME Disk Utility for disk partitioning

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:

Use GParted for disk partitioning

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:

Use Parted for disk partitioning

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:

Use Fdisk for disk partitioning

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:

Use CfDisk for disk partitioning

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 conclusion

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!

Related labels:
source:mryunwei.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!