Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

How to Use GParted for Disk Partitioning in Linux

GParted, short for GNOME Partition Editor, is a powerful and user-friendly tool for managing disk partitions on Linux systems. It allows users to create, resize, move, and delete partitions without losing data. This tool is crucial for system administrators, developers, and any Linux user who needs to organize their disk space efficiently. In this article, we will explore how to use GParted to manage disk partitions, including installation, basic operations, and practical examples.

Examples:

  1. Installing GParted: To use GParted, you first need to install it. Most Linux distributions include GParted in their repositories. You can install it using the package manager specific to your distribution. For example, on Debian-based systems like Ubuntu, you can use the following command:

    sudo apt-get update
    sudo apt-get install gparted

    On Red Hat-based systems like Fedora, use:

    sudo dnf install gparted
  2. Launching GParted: Once installed, you can launch GParted from the command line or through your desktop environment's application menu. To launch it from the command line, simply type:

    sudo gparted
  3. Creating a New Partition:

    • Open GParted.
    • Select the disk you want to partition from the drop-down menu in the top-right corner.
    • Unallocated space will be shown as a grey area. Right-click on it and select "New".
    • In the "Create new Partition" dialog, specify the size, file system type (e.g., ext4, NTFS), and other parameters.
    • Click "Add" and then "Apply" to create the partition.
  4. Resizing a Partition:

    • Open GParted.
    • Select the partition you want to resize.
    • Right-click on the partition and select "Resize/Move".
    • Adjust the size by dragging the sliders or entering the new size manually.
    • Click "Resize/Move" and then "Apply" to apply the changes.
  5. Deleting a Partition:

    • Open GParted.
    • Select the partition you want to delete.
    • Right-click on the partition and select "Delete".
    • Click "Apply" to delete the partition.
  6. Moving a Partition:

    • Open GParted.
    • Select the partition you want to move.
    • Right-click on the partition and select "Resize/Move".
    • Drag the partition to the new location.
    • Click "Resize/Move" and then "Apply" to move the partition.

To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.